ESP32-AT BLE - How to declare multiple primary service

Mickael
Posts: 10
Joined: Mon Jul 22, 2019 9:25 am

ESP32-AT BLE - How to declare multiple primary service

Postby Mickael » Mon Aug 19, 2019 10:49 am

Hello,
I am using ESP32-AT command and I want to create multiple primary service.
I can create one service at time by following this https://github.com/espressif/esp32-at/b ... /README.md but when I create 2 services, I have this error :
AT+BLEGATTSSRVSTART

ERROR

Code: Select all

index,uuid_len,uuid,perm,val_max_len,val_cur_len,value
0,16,0x2800,0x01,2,2,180A
1,16,0x2803,0x01,1,1,02
2,16,0x2A29,0x01,7,7,4d6172706f7274
3,16,0x2803,0x01,1,1,02
4,16,0x2A24,0x01,9,9,4132535f424c455f31
,,,,,,

Code: Select all

index,uuid_len,uuid,perm,val_max_len,val_cur_len,value
0,16,0x2800,0x11,16,16,4880C12CFDCB40778920A450D7F9B907
1,16,0x2803,0x11,1,1,28
2,128,0xFEC26EC46D7144429F8155BC21D658D6,0x11,20,,
3,16,0x2902,0x11,20,,
4,16,0x2901,0x11,20,,
,,,,,,
My goal is to merge these two services (they work well separately). I have already tried several possible combinations but it still has not worked and I am running out of ideas :D
I did research but I saw that it was not possible to declare 2 services at the same time but I do not know if it's really possible or not.
If anyone can help me please :)

Who is online

Users browsing this forum: No registered users and 192 guests