This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NRF52 multirole test

Hello,

We are developping based on SDK 15.2 for nRF52 using IAR 8.11 and S132 V6.1.0 as softdevice for central/peripheral application.
Bellow is the test scenario explained:
1- Connect to the mobile as peripheral without any issues(ability to send and receive data through my peripheral services).
2- Connect to another device (nRF as central) and succesfully exchange data.
3- Try to Communicate to the mobile again.

The problem is that when we connect to the other device (as NRF central) we can't anymore send data to the mobile.
After debbuging we found that sd_ble_gatts_hvx returns BLE_ERROR_GATTS_SYS_ATTR_MISSING.

Knowing that before connecting as central, we succeeded to communicate the mobile.
What can be the cause problem?
Best Regards,

Parents
  • Hi Mehdi, 

    Have you tested with the ble_app_hrs_rscs_relay example ? 
    It has the exact features that you described. 

    Regarding the issue that sd_ble_gatts_hvx returns BLE_ERROR_GATTS_SYS_ATTR_MISSING , I suspect that it was a wrong connection handle used. 
    Please double check if you use the conn_handle for the connection between phone and the device in sd_ble_gatts_hvx () call. 

Reply
  • Hi Mehdi, 

    Have you tested with the ble_app_hrs_rscs_relay example ? 
    It has the exact features that you described. 

    Regarding the issue that sd_ble_gatts_hvx returns BLE_ERROR_GATTS_SYS_ATTR_MISSING , I suspect that it was a wrong connection handle used. 
    Please double check if you use the conn_handle for the connection between phone and the device in sd_ble_gatts_hvx () call. 

Children
No Data
Related