Page 1 of 1

Generic Access(0x1800)

Posted: Sun Dec 17, 2017 11:50 am
by mkennyg555
hi,

I want to change the behavior of Generic Access (0x1800) in ESP32 / Arduino, how can I do it?
Specifically, I would like to add Peripheral Preferred Connection Parameters (00002a04).

thanks

Re: Generic Access(0x1800)

Posted: Mon Dec 18, 2017 11:11 pm
by kolban
I think you are asking ...

When we create a BLE Server using the ESP32 BLE software stack, the stack produces a service with UUID 0x1800 which has the name "Generic Access". See the following spec document:

https://www.bluetooth.com/specification ... access.xml

Associated with this service can be the optional characteristic with UUID 0x2a04 as described in this document spec:

https://www.bluetooth.com/specification ... meters.xml

However, when we start an ESP32 BLE Server, we find that the characteristic (0x2a04) is not present in the service (0x1800). Is there a way to add this characteristic or otherwise instruct the ESP32 to include it?

Re: Generic Access(0x1800)

Posted: Thu Jan 24, 2019 12:36 pm
by elral6
Hello,

I am running in the same problem that I need to set the optional characteristic with UUID 0x2a04.
I still reading the ebook ESP32, but unfortenutely I found no hint how to set this characteristic.

Is there any example or hint how to set optional characteristics for the service with UUID 0x1800?

Thanks and regards

Ralf

Re: Generic Access(0x1800)

Posted: Fri Dec 13, 2019 1:29 pm
by ImaraSpeek
kolban wrote:
Mon Dec 18, 2017 11:11 pm
I think you are asking ...

When we create a BLE Server using the ESP32 BLE software stack, the stack produces a service with UUID 0x1800 which has the name "Generic Access". See the following spec document:

https://www.bluetooth.com/specification ... access.xml

Associated with this service can be the optional characteristic with UUID 0x2a04 as described in this document spec:

https://www.bluetooth.com/specification ... meters.xml

However, when we start an ESP32 BLE Server, we find that the characteristic (0x2a04) is not present in the service (0x1800). Is there a way to add this characteristic or otherwise instruct the ESP32 to include it?
hi! This is exactly what I'd like to find out. Did you manage to find an answer to this question?
Best,
Imara

Re: Generic Access(0x1800)

Posted: Thu Jan 16, 2020 12:47 pm
by jjwsei
Can anyone at Espressif provide a solution to the question:

When we start an ESP32 BLE Server, we find that the characteristic (0x2a04) is not present in the service (0x1800). Is there a way to add this characteristic or otherwise instruct the ESP32 to include it?

Thanks!