mirror of
https://github.com/espressif/openthread.git
synced 2026-09-18 07:00:08 +00:00
Fixs for channelmask process and MLE Announce message. (#1189)
- Processing channel mask bits from left-side. - Host swap Ticks field of Timestamp in big-endian order. - Set transmit frame counter for Announce message to an incrementing value.
This commit is contained in:
@@ -2201,10 +2201,7 @@ class OpenThread(IThci):
|
||||
|
||||
if listChannelMask != None:
|
||||
cmd += ' channelmask '
|
||||
if len(listChannelMask) > 2:
|
||||
cmd += '0x' + self.__convertLongToString(self.__convertChannelMask(listChannelMask))
|
||||
elif len(listChannelMask) == 2:
|
||||
cmd += str(hex(1 << listChannelMask[1]))
|
||||
cmd += '0x' + self.__convertLongToString(self.__convertChannelMask(listChannelMask))
|
||||
|
||||
if sPSKc != None or listSecurityPolicy != None or \
|
||||
xCommissioningSessionId != None or xTmfPort != None or xSteeringData != None or xBorderRouterLocator != None or \
|
||||
|
||||
Reference in New Issue
Block a user