Page 1 of 1

How to create a custom BLE service

Posted: Wed Jul 31, 2019 6:07 am
by gibson12345
Hey Espressif team,

Just wondering if it's possible or if it's in the works to make an example detailing how to create a customer BLE service not predefined by the BT SIG.

Cheers,
Gibson

Re: How to create a custom BLE service

Posted: Thu Aug 01, 2019 5:12 pm
by phantomBlurrr
gibson12345 wrote:
Wed Jul 31, 2019 6:07 am
Hey Espressif team,

Just wondering if it's possible or if it's in the works to make an example detailing how to create a customer BLE service not predefined by the BT SIG.

Cheers,
Gibson
Hi,
If you mean how to add custom services/characteristics to the GATT server, Espressif already has a tutorial on the two topics, look in "application example" section of the GATTS API:

https://docs.espressif.com/projects/esp ... gatts.html

Service table example is how to expand the database (services/characteristics), server example is how to set up the server itself.
Good luck!