Running BLE CSC characteristic on ESP32

spasoye
Posts: 2
Joined: Sun Sep 22, 2019 4:14 pm

Running BLE CSC characteristic on ESP32

Postby spasoye » Tue Oct 08, 2019 1:49 pm

Hello guys. Been using ESP32 for some time. Few months ago I decided to try and make my bluetooth bikemeter
(it will measure my speed and cadence). I modified ESP-IDF ble_spp_server serial example. I changed UUID to fit
CSC service UUID and also characteristics UUIDs to fit CSC feature and measurement characteristics. Im using
nRFConnect app to debug the app:
nrfconnect.png
nrfconnect.png (63.32 KiB) Viewed 434 times
As you can see my device is visible in nrfconnect and it shows data when the data is generated.
But now I wanna see how it behaves in nrftoolbox (or any app that is capable of displaying CSC data).
nRFToolbox does not see my device:
nrftoolbox.png
nrftoolbox.png (45.64 KiB) Viewed 434 times
My question is, has anyone ever did something like this (HRM, BPM or any other service), encounterd similar problem?

chegewara
Posts: 873
Joined: Wed Jun 14, 2017 9:00 pm

Re: Running BLE CSC characteristic on ESP32

Postby chegewara » Sat Oct 12, 2019 5:35 pm

I am just guessing now, but probably you need to add CSC or other UUID to advertising.

spasoye
Posts: 2
Joined: Sun Sep 22, 2019 4:14 pm

Re: Running BLE CSC characteristic on ESP32

Postby spasoye » Sun Oct 20, 2019 6:42 pm

chegewara wrote:
Sat Oct 12, 2019 5:35 pm
I am just guessing now, but probably you need to add CSC or other UUID to advertising.
Sry for late reply. What do you mean by that ?

chegewara
Posts: 873
Joined: Wed Jun 14, 2017 9:00 pm

Re: Running BLE CSC characteristic on ESP32

Postby chegewara » Mon Oct 21, 2019 7:08 am

Some standardized devices, like HR monitor or CSC, are recognized by advertising UUID or by appearance.

https://www.bluetooth.com/blog/part-2-t ... oth-smart/

https://www.cypress.com/file/425616/download
On figure 11 you have advertising settings and so called appearance.

Who is online

Users browsing this forum: arkayabt, Bing [Bot] and 31 guests