SreenathRavindranath / xbee-api

Automatically exported from code.google.com/p/xbee-api
GNU General Public License v3.0
0 stars 0 forks source link

Response not captured by PacketListener #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The request in function sendSynchronous (XBee.java) is sent before the 
PacketListener is attached. This caused errors in my application because I 
managed to receive a response before the listener was attached. (it will cause 
an XBeeTimeoutException because the response is never received by the newly 
created PacketListener)

This issue was fixed by moving lines 325-327 after line 343.

Original issue reported on code.google.com by i...@hemmer-it.nl on 24 Jun 2013 at 9:21

GoogleCodeExporter commented 8 years ago
Note: Tested with revision r265

Original comment by i...@hemmer-it.nl on 24 Jun 2013 at 9:24