File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323async def respond_to_discovery (
2424 radio_type : str = "waveshare" ,
2525 serial_port : str = "/dev/ttyUSB0" ,
26- node_type : int = ADV_TYPE_CHAT_NODE ,
26+ node_type : int = ADV_TYPE_REPEATER ,
2727):
2828 """
2929 Listen for discovery requests and respond with node information.
@@ -37,7 +37,7 @@ async def respond_to_discovery(
3737
3838 # Get our public key for responses
3939 our_pub_key = identity .get_public_key ()
40-
40+
4141 # Node type names for logging
4242 node_type_names = {
4343 ADV_TYPE_CHAT_NODE : "Chat Node" ,
@@ -68,7 +68,7 @@ def on_discovery_request(request_data: dict):
6868
6969 # Create and send discovery response
7070 print (f" ↳ Sending response..." )
71-
71+
7272 pkt = PacketBuilder .create_discovery_response (
7373 tag = tag ,
7474 node_type = node_type ,
You can’t perform that action at this time.
0 commit comments