andrewrapp / xbee-arduino

Arduino library for communicating with XBee radios in API mode
GNU General Public License v2.0
334 stars 162 forks source link

Packets aren't well read with SAMD board #56

Open jmpmscorp opened 6 years ago

jmpmscorp commented 6 years ago

Hello everyone.

I'm working on a XBEE project with SERIES 1 Digimesh firmware. I have tested every example setting request and response as ZB and address at 64 bits. All is working as expected with an AVR arduino board (I have been testing with a 1280p chip).

However, with a SAMD board, Tx is working but Rx example doesn't. Bytes aren't parsed well. I think, It could be something related with SAMD architecture or datatypes but I can't find where the problem is. I should point that I'm working with hardware Serial1 (SERCOM).

Has anyone got any idea??

Thanks in advance.

K-Space909 commented 3 years ago

I'm also having trouble with SAMD boards. I can't get it to compile. I'm getting an issue with setting the stream.

undefined reference to XBee  setSerial(Stream&)