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

problem with BLE HRSC - error 0x8502

Hi, 

I'm on SDK 17.0.2 and SD 340. Trying to combine BLE services as Central server with BLE HRS_C example. The idea is to read the BLE HRM and also to be able to connect to my app using a BT app on my mobile phone. I can do both but in separate apps :) When I try to combine them I get the following error:

<error> nrf_ble_lesc: nrf_crypto_ecc_key_pair_generate() returned error 0x8502.

Can you help?

Thanks

Parents
  • I added the cc310_backend_init.c file as it was missing, and now I get 

    <error> nrf_ble_lesc: nrf_crypto_init() returned error 0x8570

    edit: I found some previous tickets about this error. For me, moving the BLEadvertising and ANT after the following block of code helps.

    peer_manager_init();
    db_discovery_init();
    hrs_c_init();
    scan_init();
    scanning_start(&erase_bonds);

    The scanning starts, ble services and ant works. However there are still problems with HRS_C functionality. The BLE HRM does not pair and there is no read of HR from it. But maybe I shuold create a new ticket for it?

  • Sorry for the delayed response.

    dragilla said:
    The BLE HRM does not pair and there is no read of HR from it.

     But is it able to discover and connect the peripheral? Pairing is often not required for Heart rate sensors.

Reply Children
Related