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
  • I managed to implement the indicate with a complete session(but without visualizing the ack, any idea on how to do it? ), now I'm trying to use the write function but I have the previous problem.

    Can I ask you to give me an example (based on the "test_server_client.py" file) in which you implement the write with and without ack function (for a complete Central/Peripheral session)? 

    Thank you

Children
Related