How to create a custom BLE service

gibson12345
Posts: 58
Joined: Wed Jul 17, 2019 11:45 pm

How to create a custom BLE service

Postby gibson12345 » 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

phantomBlurrr
Posts: 19
Joined: Mon Jun 10, 2019 4:01 pm

Re: How to create a custom BLE service

Postby phantomBlurrr » Thu Aug 01, 2019 5:12 pm

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!

Who is online

Users browsing this forum: No registered users and 99 guests