xbee-java icon indicating copy to clipboard operation
xbee-java copied to clipboard

Invalid Operating mode Exception

Open saicharitha905 opened this issue 5 years ago • 1 comments

Hi Team, I have attached the Xbee coordinator to a USB port of Raspberry pi Model 3B when I am trying to open the device connection I am receiving the below exception message. Exception: Serialcheck lineno:360 info: Error Thread name: main description: Could not determine operating mode. Cause: null StackTrace:com.digi.xbee.api.exceptions.InvalidOperatingModeException: Could not determine operating mode. at com.digi.xbee.api.XBeeDevice.open(XBeeDevice.java:360)

I am receiving this exception when below line of code is getting excepted. // Open the device connection. myXBeeDevice.open();

Could you help in solving this issue?

saicharitha905 avatar Jan 06 '20 11:01 saicharitha905

You might not have access to the device file. Try entering sudo chown -R <username> /dev in the terminal.

christianitis avatar Jan 22 '21 14:01 christianitis