/openthread-latest/tests/toranj/cli/ |
D | test-602-channel-manager-channel-select.py | 55 node.form('chan-sel', channel=24) 62 channel = 24 variable 66 verify(int(node.get_channel()) == channel) 105 channel = 11 variable 117 channel = 25 variable 118 node.cli('channel manager change', channel) 124 channel = 12 variable 134 channel = 25 variable 135 node.cli('channel manager change', channel) 143 channel = 11 variable [all …]
|
D | test-601-channel-manager-channel-change.py | 86 r1.form('chan-man', channel=11) 116 channel = 11 variable 120 verify(all(int(node.get_channel()) == channel for node in nodes)) 128 channel = 13 variable 129 r1.cli('channel manager change', channel) 134 channel = 14 variable 135 r1.cli('channel manager change', channel) 136 r2.cli('channel manager change', channel) 137 r3.cli('channel manager change', channel) 142 channel = 15 variable [all …]
|
D | test-004-scan.py | 74 node1.form('net1', panid=0x1111, channel=12) 75 node2.form('net2', panid=0x2222, channel=13) 76 node3.form('net3', panid=0x3333, channel=14) 77 node4.form('net4', panid=0x4444, channel=15) 78 node5.form('net5', panid=0x5555, channel=16)
|
D | test-704-multi-radio-scan.py | 58 n1.form("n1", channel='20') 59 n2.form("n2", channel='21') 60 n3.form("n3", channel='22')
|
D | test-705-multi-radio-discover-scan.py | 58 n1.form("n1", channel='20') 59 n2.form("n2", channel='21') 60 n3.form("n3", channel='22')
|
/openthread-latest/src/core/mac/ |
D | channel_mask.cpp | 45 uint8_t channel = kChannelIteratorFirst; in GetNumberOfChannels() local 47 while (GetNextChannel(channel) == kErrorNone) in GetNumberOfChannels() 78 uint8_t channel = kChannelIteratorFirst; in ChooseRandomChannel() local 85 SuccessOrExit(GetNextChannel(channel)); in ChooseRandomChannel() 89 SuccessOrExit(GetNextChannel(channel)); in ChooseRandomChannel() 93 return channel; in ChooseRandomChannel() 99 uint8_t channel = kChannelIteratorFirst; in ToString() local 105 error = GetNextChannel(channel); in ToString() 109 uint8_t rangeStart = channel; in ToString() 110 uint8_t rangeEnd = channel; in ToString() [all …]
|
/openthread-latest/tests/scripts/thread-cert/ |
D | test_dataset_updater.py | 87 self.nodes[LEADER].start_dataset_updater(channel=12) 92 self.nodes[ROUTER].start_dataset_updater(channel=13) 97 self.nodes[LEADER].start_dataset_updater(channel=14) 99 self.nodes[ROUTER].start_dataset_updater(channel=15) 104 self.nodes[ROUTER].start_dataset_updater(channel=16) 106 self.nodes[LEADER].start_dataset_updater(channel=17) 110 def verify_state(self, channel): argument 111 self.assertEqual(self.nodes[LEADER].get_channel(), channel) 112 self.assertEqual(self.nodes[ROUTER].get_channel(), channel) 113 self.assertEqual(self.nodes[MED].get_channel(), channel) [all …]
|
/openthread-latest/tests/scripts/expect/ |
D | cli-scan.exp | 48 set channel $expect_out(1,string) 52 send "scan $channel\n" 55 wait_for "" "\\| $pan \\| $extaddr \\| +$channel \\| +-?\\d+ \\| +\\d \\|" 64 send "scan energy 100 $channel\n" 67 expect -re "\\| +$channel \\| +-?\\d+ \\|"
|
D | cli-dataset.exp | 39 set channel $expect_out(1,string) 57 if {$channel == 11} { 125 if {$channel == 11} { 151 if {$channel == 11} { 174 if {$channel == 11} { 194 if {$channel == 11} {
|
D | posix-scan-tx-to-sleep.exp | 50 set channel $expect_out(1,string) 57 wait_for "" "\\| $pan \\| $extaddr \\| +$channel \\| +-?\\d+ \\| +\\d \\|"
|
/openthread-latest/tests/toranj/ncp/ |
D | test-005-discover-scan.py | 61 node1.form("net1", channel='11', panid='0x0001') 62 node2.form("net2", channel='12', panid='0x0002') 63 node3.form("net3", channel='13', panid='0x0002') 64 node4.form("net4", channel='13', panid='0x0004') 65 node5.form("net5", channel='14', panid='0x0005') 88 scan_result = wpan.parse_scan_result(scanner.discover_scan(channel="11-13"))
|
D | test-002-form.py | 79 node.form('ahura', channel=20) 95 node.form('mazda', channel=12) 120 channel = int(node.get(wpan.WPAN_CHANNEL), 0) variable 121 verify(channel == 15 or (20 <= channel <= 24))
|
D | test-004-scan.py | 93 channel = nodes[0].get(wpan.WPAN_CHANNEL) variable 94 scan_result = wpan.parse_scan_result(scanner.active_scan(channel=channel))
|
D | test-704-multi-radio-scan.py | 61 n1.form("n1", channel='20') 62 n2.form("n2", channel='21') 63 n3.form("n3", channel='22')
|
D | test-705-multi-radio-discover-scan.py | 61 n1.form("n1", channel='20') 62 n2.form("n2", channel='21') 63 n3.form("n3", channel='22')
|
/openthread-latest/src/core/utils/ |
D | channel_monitor.cpp | 193 for (uint16_t channel : mChannelOccupancy) in LogResults() local 195 logString.Append("%02x ", channel >> 8); in LogResults() 204 uint8_t channel; in FindBestChannels() local 210 channel = Mac::ChannelMask::kChannelIteratorFirst; in FindBestChannels() 212 while (aMask.GetNextChannel(channel) == kErrorNone) in FindBestChannels() 214 uint16_t occupancy = GetChannelOccupancy(channel); in FindBestChannels() 223 bestMask.AddChannel(channel); in FindBestChannels()
|
/openthread-latest/src/core/diags/ |
D | README.md | 11 - [diag channel](#diag-channel) 44 ### diag channel 49 > diag channel 50 channel: 11 53 ### diag channel \<channel\> 58 > diag channel 11 59 set channel to 11 148 ### diag powersettings \<channel\> 150 Show the currently used power settings for the given channel. 210 set radio from sleep to receive on channel 11 [all …]
|
/openthread-latest/tools/harness-sniffer/ |
D | OT_Sniffer.py | 40 self.channel = kwargs.get('channel', 11) 57 … sniffers.append(OT_Sniffer(addressofDevice=interface_port, channel=ModuleHelper.Default_Channel)) 90 str(self.channel), 123 self.channel = channelToCapture 130 return self.channel
|
/openthread-latest/src/core/thread/ |
D | mle_tlvs.cpp | 127 uint16_t channel; in IsValid() local 131 channel = GetChannel(); in IsValid() 132 VerifyOrExit((Radio::kChannelMin <= channel) && (channel <= Radio::kChannelMax)); in IsValid()
|
/openthread-latest/tests/toranj/ |
D | start.sh | 207 run cli/test-601-channel-manager-channel-change.py 211 run cli/test-602-channel-manager-channel-select.py 213 run cli/test-603-channel-announce-recovery.py 271 run ncp/test-600-channel-manager-properties.py 272 run ncp/test-601-channel-manager-channel-change.py 278 run ncp/test-602-channel-manager-channel-select.py 281 run ncp/test-603-channel-manager-announce-recovery.py
|
/openthread-latest/tools/cp-caps/ |
D | rcp_caps_test.py | 210 return self.__dut.create_dataset(channel=20, network_key='00112233445566778899aabbccddcafe') 223 self.__ref.config_csl(channel=15, period=320000, timeout=100) 289 channel = 20 293 self.__dut.diag_set_channel(channel) 295 ret = value == channel 424 channel = 20 429 self.__dut.diag_set_channel(channel) 430 self.__ref.diag_set_channel(channel) 451 channel = 20 457 self.__dut.diag_set_channel(channel) [all …]
|
/openthread-latest/src/cli/ |
D | README_DATASET.md | 80 While not required, specifying the channel avoids the need to search across multiple channels, impr… 129 > dataset channel 12 173 …meters before the update is applied. Examples of such parameters are the channel, PAN ID, certain … 179 …n parameter to change is the channel. We can display the current Active Operational Dataset to see… 196 …taset buffer, by copying the Active Operational Dataset. Then change the channel number to 12 and … 205 > dataset channel 12 275 …This shows that the Active Operational Dataset has now been updated to use channel 12. And the Pen… 287 - [channel](#channel) 320 channel 390 ### channel subsection [all …]
|
/openthread-latest/tools/harness-simulation/harness/Thread_Harness/Sniffer/ |
D | SimSniffer.py | 140 self.channel = kwargs.get('channel') 249 …devs = [SimSniffer(addressofDevice=self._encode_address_port(addr, port), channel=None) for addr, … 256 self.channel = channelToCapture 259 …response = self._stub.Start(sniffer_pb2.StartRequest(channel=self.channel, includeEthernet=include… 307 self.channel = channelToCapture 311 return self.channel
|
/openthread-latest/src/lib/spinel/ |
D | logger.cpp | 361 uint8_t channel; in LogSpinelFrame() local 364 …pinel_datatype_unpack(data, len, SPINEL_DATATYPE_UINT8_S SPINEL_DATATYPE_INT8_S, &channel, &value); in LogSpinelFrame() 368 …start += Snprintf(start, static_cast<uint32_t>(end - start), ", channel:%u, %s:%d", channel, name,… in LogSpinelFrame() 414 uint8_t channel; in LogSpinelFrame() local 416 … unpacked = spinel_datatype_unpack(maskData, maskLength, SPINEL_DATATYPE_UINT8_S, &channel); in LogSpinelFrame() 418 EXPECT(channel < kChannelMaskBufferSize, error = OT_ERROR_PARSE); in LogSpinelFrame() 419 channelMask |= (1UL << channel); in LogSpinelFrame() 716 uint8_t channel; in LogSpinelFrame() local 722 … data, len, SPINEL_DATATYPE_UINT8_S SPINEL_DATATYPE_INT16_S SPINEL_DATATYPE_DATA_WLEN_S, &channel, in LogSpinelFrame() 727 ", ch:%u, actualPower:%d, rawPowerSetting:", channel, actualPower); in LogSpinelFrame() [all …]
|
/openthread-latest/tests/unit/ |
D | test_mac_frame.cpp | 429 uint8_t channel; in VerifyChannelMaskContent() local 431 for (channel = Radio::kChannelMin; channel <= Radio::kChannelMax; channel++) in VerifyChannelMaskContent() 435 if (channel == aChannels[index]) in VerifyChannelMaskContent() 438 VerifyOrQuit(aMask.ContainsChannel(channel)); in VerifyChannelMaskContent() 442 VerifyOrQuit(!aMask.ContainsChannel(channel)); in VerifyChannelMaskContent() 448 channel = Mac::ChannelMask::kChannelIteratorFirst; in VerifyChannelMaskContent() 450 while (aMask.GetNextChannel(channel) == kErrorNone) in VerifyChannelMaskContent() 452 VerifyOrQuit(channel == aChannels[index++], "ChannelMask.GetNextChannel() failed"); in VerifyChannelMaskContent() 515 for (uint8_t channel : channels1) in TestMacChannelMask() local 517 mask1.AddChannel(channel); in TestMacChannelMask() [all …]
|