Skip to content

Commit 0cbcf52

Browse files
committed
doc: faq: clarify serial communication parameters can be forced from code
Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
1 parent bdf72b1 commit 0cbcf52

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

doc/faq.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,16 @@ the **Port** label.
3636
Can I use the XBee Python Library with modules in AT operating mode?
3737
--------------------------------------------------------------------
3838

39-
No, the XBee Python Library only supports **API** and **API Escaped** operating
39+
The XBee Python Library only supports **API** and **API Escaped** operating
4040
modes.
4141

42+
If your devices are using a different operating mode, or even a different
43+
serial communication configuration (baud rate, stop bits, etc.), use
44+
`force_settings=True` in the `open()` method. This parameter tells the library
45+
to establish the provided serial settings and change the operating mode to
46+
**API** to be able to work with connected XBee devices.
47+
See :ref:`openXBeeConnection`.
48+
4249

4350
I get the Python error ``ImportError: No module named 'serial'``
4451
----------------------------------------------------------------

0 commit comments

Comments
 (0)