mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 05:37:46 +00:00
[mac] remove beacons payload (#7472)
Thread Specification v1.2.1 removes support for Thread Beacons payload.
This commit is contained in:
@@ -2085,15 +2085,11 @@ class NodeImpl:
|
||||
if result == 1:
|
||||
networks = []
|
||||
for line in self._expect_command_output()[2:]:
|
||||
_, J, networkname, extpanid, panid, extaddr, channel, dbm, lqi, _ = map(str.strip, line.split('|'))
|
||||
J = bool(int(J))
|
||||
_, panid, extaddr, channel, dbm, lqi, _ = map(str.strip, line.split('|'))
|
||||
panid = int(panid, 16)
|
||||
channel, dbm, lqi = map(int, (channel, dbm, lqi))
|
||||
|
||||
networks.append({
|
||||
'joinable': J,
|
||||
'networkname': networkname,
|
||||
'extpanid': extpanid,
|
||||
'panid': panid,
|
||||
'extaddr': extaddr,
|
||||
'channel': channel,
|
||||
|
||||
Reference in New Issue
Block a user