-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
Description
Hello,
I have a question regarding the send_data_async method. This method is supposed to be used to send some data without waiting for a response packet from the receiver.
However the value of the frame ID in the packet built using the send_data_async method is computed like this in devices.py :
if self.get_protocol() == XBeeProtocol.RAW_802_15_4:
packet = TX64Packet(self.get_next_frame_id(), x64addr,
transmit_options, rf_data=data)
else:
packet = TransmitPacket(self.get_next_frame_id(), x64addr,
XBee16BitAddress.UNKNOWN_ADDRESS, 0,
transmit_options, rf_data=data)Maybe I got it wrong, but it doesn't seem like self.get_next_frame_id() is ever equal to 0. That means the receiver will still send a response packet, but the emitter will ignore it ? Why ?
Hope someone can enlighten me on this,
Best regards