This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

nRF51822 samplecode

Hi ! I'm completely new into programming this device. I downloaded the nAn-36 source from Github and I'm trying to make it work on a PC10000 dongle. The code stops in the assert handler from line 165 with errorcode 0x3001. I'm using SDK ver. 6.1.0 and S110 ver. 7.1.0 What did I do wrong....please help me :-)

Best regards,

Jens Jespersen

Parents
  • Thank you Vyacheslav !!!! I discovered that the following part was missing in ble_stack_init(void) : // Enable BLE stack ble_enable_params_t ble_enable_params; memset(&ble_enable_params, 0, sizeof(ble_enable_params)); ble_enable_params.gatts_enable_params.service_changed = IS_SRVC_CHANGED_CHARACT_PRESENT; err_code = sd_ble_enable(&ble_enable_params); APP_ERROR_CHECK(err_code);

    NOW IT WORKS !!! :-)

Reply
  • Thank you Vyacheslav !!!! I discovered that the following part was missing in ble_stack_init(void) : // Enable BLE stack ble_enable_params_t ble_enable_params; memset(&ble_enable_params, 0, sizeof(ble_enable_params)); ble_enable_params.gatts_enable_params.service_changed = IS_SRVC_CHANGED_CHARACT_PRESENT; err_code = sd_ble_enable(&ble_enable_params); APP_ERROR_CHECK(err_code);

    NOW IT WORKS !!! :-)

Children
No Data
Related