NGCP / xbeeplus

Cross-Platform C++11 Xbee Radio API
3 stars 0 forks source link

XBee Interface doesnt always connect #19

Closed zhangh94 closed 7 years ago

zhangh94 commented 7 years ago

SerialXBee class AyncRead...() function wont always read messages. About 1 in 3 times, the function will be called, but no Frames will be read. A restart of the Xbee and program will usually solve this.

zhangh94 commented 7 years ago

XCTU seems to work to fix a connection issue. If a connection issue occurs (GCS cant open serial port), XCTU can be used to open/close the serial port for the radio, and the GCS will be work properly in the next run.

Maybe an issue with the serial port not closing properly in the Xbeeplus API?

KarthikJay commented 7 years ago

K I'll add a proper destructor to the class on Teusday. I'll also add an issue to update the exceptions so they actually get thrown on errors,