Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Operating mode Exception #150

Open
saicharitha905 opened this issue Jan 6, 2020 · 1 comment
Open

Invalid Operating mode Exception #150

saicharitha905 opened this issue Jan 6, 2020 · 1 comment

Comments

@saicharitha905
Copy link

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?

@christianitis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants