added marker for next to-do item
This commit is contained in:
parent
ad57ed0ebb
commit
5fead4ea91
5
ipsc.py
5
ipsc.py
@ -114,6 +114,11 @@ def process_peer_list(_data, _network):
|
|||||||
hex_port = (_data[i+8:i+10])
|
hex_port = (_data[i+8:i+10])
|
||||||
hex_mode = (_data[i+10:i+11])
|
hex_mode = (_data[i+10:i+11])
|
||||||
decoded_mode = mode_decode(hex_mode)
|
decoded_mode = mode_decode(hex_mode)
|
||||||
|
|
||||||
|
# NEXT TO-DO ITEM:
|
||||||
|
# if not in the current list, add it...
|
||||||
|
# if in the current list, but not in what we received, remove it...
|
||||||
|
|
||||||
NETWORK[_network]['PEERS'].append({
|
NETWORK[_network]['PEERS'].append({
|
||||||
'RADIO_ID': hex_radio_id,
|
'RADIO_ID': hex_radio_id,
|
||||||
'IP': socket.inet_ntoa(hex_address),
|
'IP': socket.inet_ntoa(hex_address),
|
||||||
|
Loading…
Reference in New Issue
Block a user