Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

BLE Characteristics Help
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

BLE Characteristics Help

by confused_intern on Wed Aug 05, 2020 5:07 pm

Hello! I am very new to CircuitPython and BLE (I started using both last week), so any help is appreciated!
I am using the Adafruit Feather nRF52840 Express with CircuitPython. My goal is to read and write to characteristics of a custom sensor that is based on the heart rate service. I have been able to connect to the device via Bluetooth. However, all of the relevant information I need to access has been given to me in the form of 128-bit UUIDs, and I have not been able to find how to read and write to characteristics using the provided UUIDs. Also, the sensor cannot physically be connected to the feather, so I need to read all of the data from it via Bluetooth.
Thank you!

confused_intern
 
Posts: 1
Joined: Wed Aug 05, 2020 3:02 pm

Re: BLE Characteristics Help

by tannewt on Thu Aug 06, 2020 2:00 pm

Do you have documentation of the characteristics? You'll need to make a new Service class with a Characteristic within it.

This is a simple example: https://github.com/adafruit/Adafruit_Ci ... nfo.py#L41

If the device does more complicated notify then it can get a bit trickier.

This may be a good place to start too: https://github.com/adafruit/Adafruit_Ci ... rt_rate.py

tannewt
 
Posts: 1797
Joined: Thu Oct 06, 2016 8:48 pm

Please be positive and constructive with your questions and comments.