pc-ble-driver-py: lock serial port on open

Hi.

Currently when serial port connection to NRF52840 dongle is opened through pc-ble-driver-py another process is able to interfere by opening another connection to same dongle. This will cause the first process to lose its connection. Could the connection be locked similar to pyserial exclusive option https://pyserial.readthedocs.io/en/latest/pyserial_api.html?

Parents
  • Hi Jmh, 

    I have checked with our developer. The serial driver will lock the access to the port on Windows. But this feature is not supported by default on Linux /MacOS (that we assume you are using). 
    Unfortunately we don't plan to release a new bug fix or update for the pc_ble_driver or pc_ble_driver_py as they are going to be deprecated in the future. 

Reply
  • Hi Jmh, 

    I have checked with our developer. The serial driver will lock the access to the port on Windows. But this feature is not supported by default on Linux /MacOS (that we assume you are using). 
    Unfortunately we don't plan to release a new bug fix or update for the pc_ble_driver or pc_ble_driver_py as they are going to be deprecated in the future. 

Children
Related