Hi,
I am trying to update the battery level of my Battery Service but get keep getting an error. The error code is : 0x00003002. I cannot find any mention of what this error means though.
From stepping through my code I have found that the function causing the error is:
err_code = sd_ble_gatts_value_set(p_bas->conn_handle,
p_bas->battery_level_handles.value_handle,
&gatts_value);
My first guess is that I am not initialising something correctly. However, I cannot figure out what this might be after extensive looking.
Does anybody know what could cause this error to occur?
Thanks,