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

Bluefruit UART Friend Characteristic Descriptors
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Bluefruit UART Friend Characteristic Descriptors

by esears on Tue Aug 11, 2020 3:07 pm

Hi All,

I'm working on a project to try and create a "cycling_power" service using the Bluefruit UART friend.

cycling_power service:
https://www.bluetooth.com/xml-viewer/?s ... _power.xml

Bluefruit UART Friend:
https://learn.adafruit.com/introducing- ... art-friend

I'm able to add the new service using AT+GATTADDSERVICE and add new characteristics using AT+GATTADDCHAR.
I'm also able to connect and see the new service and characteristics on the "nRF Connect" iOS app.

My goal is to connect with a BLE enabled watch which is known working with other BLE cycling power devices.
The watch will successfully find the cycling_power service, but refuses to stay connected and read the cycling_power_measurement characteristic data.

Likely Issue:
The cycling_power service defines required descriptors for each of the required charateristics.

For example, the cycling_power_measurement characteristic defines a required client_characteristic_configuration descriptor.
However, the AT+GATTADDCHAR command does not have an option to define the client_characteristic_configuration descriptor.
(ref: https://learn.adafruit.com/introducing- ... 2176728-12)


Is it possible to get more descriptor options defined for the AT+GATTADDCHAR command?
Otherwise, is there any workaround or other way to define a characteristic descriptor?


Thanks!
Eddie

esears
 
Posts: 2
Joined: Tue May 19, 2020 9:21 pm

Re: Bluefruit UART Friend Characteristic Descriptors

by esears on Wed Aug 12, 2020 12:07 pm

Update:

It looks like a "Client Characteristic Configuration" Descriptor (CCCD) is created for each characteristic added.

However, when viewing in the "nRF Connect" app, it shows the value "Notifications and Indications are Disabled".
Does anyone know how to modify this setting, or is this something the client is expected to modify? (in my case the watch)

esears
 
Posts: 2
Joined: Tue May 19, 2020 9:21 pm

Please be positive and constructive with your questions and comments.