When I update the attribute database (for example):
// Update value in database
attmdb_att_set_value(handle, data_size, (uint8_t *)param->data);
if(env.notify_property_status & PRF_CLI_START_NTF)
// Send notification through GATT
prf_server_send_event((prf_env_struct *)&env, false, handle);
I get two GATTC_CMP_EVT messages with req=GATTC_NOTIFY (status == 0 on both). Is this proper or is there something I'm not doing correctly.
如果这是正确的,两个事件完成什么?Can I always rely on there being two? I need to keep track of how many notifications have been sent but if this doesn't work, I'll need to find another way.
thanks,
marco
Device:
I think I'm having other, separate issues that are causing this. Please disregard.
marco
Hi marcodg,
Thanks for indicating.
MT_dialog