-1

i'm looking for a better way for UART I/O in my raspberryPI in the linux side where i'm using Java. now i'm using PI4J (wiringPI) but i'm facing few problems, i noticed many missing messages. Also it's limited to 57600 baud rate and i wish to use higher. So i was wondering if there is another well tested way to communicate.

In the other side i run c on cc2530 which run perfectly. My main problem is in the java side where some messages get lost. Thanks

Rami Khawaly
  • 126
  • 3
  • 14

2 Answers2

0

I'm not sure of the exact Zigbee module you're working with, but this summary of the CC2530 says that it supports UART and SPI. Perhaps you can check the documentation for the module you're using and see if SPI might be a better alternative. Depending on the 2530's capability, SPI can be much faster than 57600.

TomServo
  • 7,248
  • 5
  • 30
  • 47
  • Thanks for the answer, i edited my question adding some details. my problem is in the linux side where i run Java, not in the zigbee module – Rami Khawaly Jun 25 '17 at 22:29
0

Ok Found the JSerialComm which give what i needed.

Rami Khawaly
  • 126
  • 3
  • 14