digidotcom / xbee-python

Python library to interact with Digi International's XBee radio frequency modules.
Mozilla Public License 2.0
185 stars 93 forks source link

XBeeSerialPort: exclusive option for serial port #223

Closed nicomt closed 2 years ago

nicomt commented 3 years ago

Exposing pyserial exclusive flag.

Set exclusive access mode (POSIX only). A port cannot be opened in exclusive access mode if it is already open in exclusive access mode.

This option is handy when working on a shared machine to prevent script collision from causing issues.

nicomt commented 2 years ago

Closing because it was added by commit digidotcom/xbee-python@ea46895