Wrong Characteristics Handle returned in the Event when Exchange MTU is used
Hi,
I have two devices, both working on BlueNRG-2 chips as Network Processors.
Just to extend their functionality by handling larger characteristics I added exchange MTU procedure.
The procedure is started after connection established between the devices.
Unfortunatelly, using exchange MTU spoiled my communication.
Some time spent on investigation provided following observations.
I see that incorrect characteristics handle is returned in the event function (aci_gatt_disc_read_char_by_uuid_resp_event) as the result of discovery the characteristics by its UUID (aci_gatt_disc_char_by_uuid ).
In the event function I receive Attribute_Handle=0x0000 instead of the correct one.
If I work without that exchange procedure, all is fine - correct value of characteristics handle is returned.
In the event function there is also Attribute Data that is the same for both cases and contains UUID as well as correct handle.
It looks like a bug in ST Bluetooth Stask [?].
Am I missing something?
Regards,
Piotr