cancel
Showing results for 
Search instead for 
Did you mean: 

Buggy command ACI_GATT_DISC_READ_CHAR_BY_UUID stops to work

mechellf43
Associate

Hello Dear,

Was debugging this command today, and unfortunately found it to be working only partly.

From what I see,  is that the command aci_gatt_disc_char_by_uuid_cp0 occasionally works and occasionally doesn't.

Currently developing on the stm32wb55, both for client and server.

On my peripheral, I have created 2 services: ( in this order )

Service1: Has 2 characteristics: First is secured read + notify+indicate, and Second is secured write.

Service2: This is a duplicate of Service1. 

After Connection: the command works and finds all attributes by their UUID.

Next, after MTU exchange, it no longer finds the attributes of the second service UUIDs. Surprisingly, it does still finds the first service IUUIDs.

Note: Discover primary services and other discovery command work.

 

Seems like your MTU exchange breaks something.

 

Thank you, and hope to hear from you soon.

 

 

 

 

 

1 REPLY 1
mechellf43
Associate

Update:

I use the aci_gatt_disc_char_by_uuid_cp0 with start hadnle: 0x0001 ,and end handle: 0x00FF