2 x nRF52840 used as client/server to make them communicate through python

Hi, I'm trying to use two nRF52840 Dongle to make them communicate as server/client with a script in python, I succeeded on making them have a session with the test example given in the pc_ble_driver_py library but now I'm trying to create a script myself so that I can manage the custom UUIDs and the data exchanged between the two devices.

Since I'm not an expert on pyhton I have some difficulties understanding in a good way how to use the pc_ble_driver_py library(directly from that one script) to create a full custom session and I could not find any documentation with instructions/information.

Do you have some documents for this python library(in GitHub there is not such a document)?  If not do you have other examples on how to implement and use this library in a script so that I can work with?

Thank you in advance.

Parents Reply
  • Thank you for the answer,

    I have already checked these documents/links but they don't help much to understand in a good way how to best implement this library, even the "pypi.org/project/pc-ble-driver-py/" page (where usually I can find documentation) is blank. 

    What can be very useful is a document with the explanation of the functions that can be used in a python script to setup a connection (with a full session).

    In  test/test_server_client.py(GitHub) it is shown just a notify example but what about indicate or read/write? How can I use them?

Children
Related