This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

service was not found at the peer with error BLE_DB_DISCOVERY_SRV_NOT_FOUND

Hi everyone,

I am developing a remote controller using nRF52832 chip. My prototype is currently developed in PC10040 board. The IDE is Eclipse Oxygen, and the SDK is S132 v5.0.0.

Currently, I am trying to get data from a Google Daydream controller. It has a service with UUID 0xFE55. I can successfully connect to the device. The problem is that when the nRF52832 try to discover database it return BLE_DB_DISCOVERY_SRV_NOT_FOUND :((( I don't know where is the mistake I made.

Could you give me an advice please?

Parents
  • Hi Sigurd, I changed the name of the function. Now I have error NRF_ERROR_INVALID_STATE which is occur in the notification function ble_nus_c_tx_notif_enable. The reason is in ble_nus_c_handles_assign(), there is one line of code p_ble_nus->handles.nus_tx_cccd_handle = p_peer_handles->nus_tx_cccd_handle; in which p_peer_handles->nus_tx_cccd_handle is zero in my code. I don't know the target of function ble_nus_c_handles_assign(). Could you explain it for me please?

Reply
  • Hi Sigurd, I changed the name of the function. Now I have error NRF_ERROR_INVALID_STATE which is occur in the notification function ble_nus_c_tx_notif_enable. The reason is in ble_nus_c_handles_assign(), there is one line of code p_ble_nus->handles.nus_tx_cccd_handle = p_peer_handles->nus_tx_cccd_handle; in which p_peer_handles->nus_tx_cccd_handle is zero in my code. I don't know the target of function ble_nus_c_handles_assign(). Could you explain it for me please?

Children
No Data
Related