Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout sending to remote device #8

Open
CameronMease opened this issue Jul 23, 2020 · 2 comments
Open

Timeout sending to remote device #8

CameronMease opened this issue Jul 23, 2020 · 2 comments

Comments

@CameronMease
Copy link

On the Windows platform, calling ZigBeeDevice.SendData to send data to a remote XBee module, the call times out in AbstractXBeeDevice.SendXBeePacket(). See image:
image

I verified that the remote device did receive the data. Is this expected behavior?

@rubenmoral
Copy link
Member

Hi @CameronMease,

I am not able to reproduce your issue on my side. The TimeoutException is thrown when the local module has not received a Transmit Status packet, which indicates the result of the transmission. For some reason, the library is not receiving that packet from the module, so it throws the exception.

What modules are you using? How large is the network?

@pgogte
Copy link

pgogte commented Nov 9, 2021

Hi I am facing the same problem. Interestingly I get this only for a broadcast. SendData to a known radio works but SendBroadcastData sometimes throws up TimeoutException.

2021-11-10 12:30:58.499 +03:00 [ERR] Could not transmit packet to 000000000000FFFF 18 bytes
XBeeLibrary.Core.Exceptions.TimeoutException: There was a timeout while executing the requested operation.
at XBeeLibrary.Core.AbstractXBeeDevice.SendXBeePacket(XBeePacket packet)
at XBeeLibrary.Core.AbstractXBeeDevice.SendAndCheckXBeePacket(XBeePacket packet, Boolean asyncTransmission)
at XBeeLibrary.Core.AbstractXBeeDevice.SendData(XBee64BitAddress address, Byte[] data)
at XBeeLibrary.Core.XBeeDevice.SendBroadcastData(Byte[] data)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants