Is there a formal "NULL" value for the conn_id value used in the BLE--i.e. a value which can be used to represent "no connection", and which the BLE stack will never assign as a connection id? Is this NULL value defined somewhere in the API?
My reading of GATT_GetConnectionInfor() and gatt_get_regcb() suggests that the value of conn_id can never be zero. However the code is convoluted and I might be missing something.
Thanks.
NULL value for BLE conn_id
Re: NULL value for BLE conn_id
Well, I've confirmed that 0 is a valid conn_id, so perhaps 0xFFFF is a suitable NULL value.
Who is online
Users browsing this forum: No registered users and 87 guests