2016-08-28 08:17 AM
Hi all.
I'm getting timeout from function:aci_gatt_update_char_value(...)
even client get notify value as expected. description: Add Characteristic:ret = aci_gatt_add_char(ServiceHandle, UUID_TYPE_128, uuid, 1,
CHAR_PROP_NOTIFY ,0,0,16, 0, &CharHandle);
I'm using NRF software to read characteristic values.(type ''nrf connect''in app store)
Notify from server side by calling function:
aci_gatt_update_char_value (
ServiceHandle , // service handle
CharHandle, // characteristic handle //
0, // characteristic value offset
1,// characteristic value length
&number; // characteristic
I'm getting the value in my cell phone but function
aci_gatt_update_char_value return timeout.
if i try to notify again, i'll get new value as expected but the same timeout error return on server side(my embedded ca2016-08-29 12:06 AM
async
)...The issue:Command: aci_gatt_update_char_value will finish only after getting acknowledge (sync).But other task: HCI_Process() finish sync problem and make aci_gatt_update_char_value not to finish.Command aci_gatt_update_char_value will enter timeout cause HCI_Process() ''still'' synchronization .2016-08-29 12:15 AM