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

Arduino 101 - Intel Curie Issue #22

Closed mjs513 closed 8 years ago

mjs513 commented 8 years ago

Ok folks now I have an interesting problem. I just started experimenting with the Arduino 101 board which is based on the Intel Curie as you know. I uploaded the sketches that I have used successfully on the Uno and Mega with no issue and ran a processing sketch that uses the digi java library - yes it was well tested and works like a charm. I am using API mode =1 - yes I modified an older version of the code for this purpose as I am send a large amount of data and that works like a charm as well.

Now the issue - when I try and do the same with the Arduino 101 I am running into problems. The Arduino receives and executes the commands no issue but when it sending data back it fails in the sense that frame is null. I did a few serial prints from the cpp file and the frame is being generated. So it has to be something else. Also when I send the command from xctu to get the data it comes back as null.

Any advice on tracking this one down?

Thanks Mike

Almost forgot I am using windows 10, 64bit OS. Also tried it on the windows 10, 32 that I developed it on to begin with and it didn't work there either.

mjs513 commented 8 years ago

I am going to close this issue as the problem seems to be the xbee shield I was using. What was confusing was that the Arduino recognized commands sent to it from coordinator but the coordinator did not recognize what was being sent back whether it was on the hard serial or on a softserial port. I tried it with two other shields that I had and it tx and rx work fine but there is quite a lag in the data which I believe is more attributable to the xbee setting.s