BLE custom profiles with security

kristaps_r
Posts: 11
Joined: Sun Jul 15, 2018 2:48 pm

BLE custom profiles with security

Postby kristaps_r » Sun Jul 15, 2018 5:50 pm

Hi!

I am new to BLE and trying to make client - server ESP32 system that has custom BLE services and use security.
So I am looking in way of combining examples from IDF folder: gatt_security_server, gatt_security_client, gatt_server, gatt_client, because security_server/client applications are made with heart thermometer service.

I see that security examples use different way of attribute creating in gatts_profile_event_handler event ESP_GATTS_REG_EVT case than non security examples.
I see that non security examples have more complex ESP_GATTS_WRITE_EVT processing.

Can some one tell which example would be most complete and best to use as start point for own application?
And one thing. How can I understand which attribute is being written in ESP_GATTS_WRITE_EVT? I can get handle, but how to link that to my defined attributes?

Thanks,
Kristaps

Who is online

Users browsing this forum: Bing [Bot], Bryght-Richard and 108 guests