We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ec506f commit c086b63Copy full SHA for c086b63
1 file changed
meshtastic/mesh_interface.py
@@ -469,6 +469,11 @@ def sendData(
469
and can be used to track future message acks/naks.
470
"""
471
472
+ # issue 464: allow for 0x prefix in destinationId for hex values
473
+ if type(destinationId) == str:
474
+ destinationId = destinationId.replace('0x', '!')
475
+ logging.debug(f'destinationId: {destinationId}')
476
+
477
if getattr(data, "SerializeToString", None):
478
logging.debug(f"Serializing protobuf as data: {stripnl(data)}")
479
data = data.SerializeToString()
0 commit comments