Generic Access(0x1800)

mkennyg555
Posts: 1
Joined: Sun Dec 17, 2017 11:47 am

Generic Access(0x1800)

Postby mkennyg555 » Sun Dec 17, 2017 11:50 am

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

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Generic Access(0x1800)

Postby kolban » 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?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

elral6
Posts: 1
Joined: Thu Jan 24, 2019 12:28 pm

Re: Generic Access(0x1800)

Postby elral6 » Thu Jan 24, 2019 12:36 pm

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

ImaraSpeek
Posts: 1
Joined: Fri Dec 13, 2019 1:27 pm

Re: Generic Access(0x1800)

Postby ImaraSpeek » Fri Dec 13, 2019 1:29 pm

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

jjwsei
Posts: 6
Joined: Fri Mar 01, 2019 1:31 pm

Re: Generic Access(0x1800)

Postby jjwsei » Thu Jan 16, 2020 12:47 pm

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!

Who is online

Users browsing this forum: No registered users and 34 guests