-
Notifications
You must be signed in to change notification settings - Fork 95
[FEATURE REQUEST] Update module to API1 or API2 through library #241
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
Comments
Hi @brandonmoser, The library already includes a xbee = XBeeDevice(port="/dev/ttyUSB0", baud_rate=115200)
xbee.open(force_settings=True) This configures the XBee to work in API without escapes (AP=1) and a baud rare of 115200 (BD=7) if it is not already, then opens the serial connection. Best Regards. |
thanks @tatianaleon. I didn't see this in the Getting Started doc, only that I would need to use XCTU to set the AP mode. Can we note that the Getting Started guide should note this functionality? |
Hi @brandonmoser, For the get started process there are more things to configure apart from the mode of an XBee, for example, to create a network or connect to an access point. So, for the moment, we are going to leave it as it is. But, we can add some information for the connect method at: |
Thanks Tatiana. I think anything we can do to make the Getting Started process simpler for developers is great. |
#241 Signed-off-by: Tatiana Leon <[email protected]>
…en' method #241 Signed-off-by: Tatiana Leon <[email protected]>
#241 Signed-off-by: Tatiana Leon <[email protected]>
Hi @brandonmoser, We added some information about the Best Regards. |
The library should have a function to set the API mode and not require XCTU (or other serial connection). If, during
device.open()
, it is found to be inAP0
(transparent) mode, automatically switch the mode so that all other commands work, as expected.The text was updated successfully, but these errors were encountered: