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

SDK17.0 BEHAVING UNEVEN IN DIFFERENT PC .

HI,

  •        we created an application on SDK "nRF5_SDK_17.0.0_9d13099"  .The example code used to develop the  application is "ble_app_hids_mouse". 
  •        we developed the application code successfully and its working fine with our  device.
  •        I developed the application code by using segger IDE (version :- 4.10a) in a windows os.

ISSUES

  • After i developed the application code i zipped the SDK and shared it to my colleague . He unzipped the SDK and opened our application code in his mac os system.
  • He is also using segger IDE but the version was different . He build the code successfully and flashed the code to our device but now the device is not working with exactly same code .
  • Why the device is behaving uneven when we flashed the same code from two different system (with mac os and windows os )?
  • Please help me to find out this issue as soon as possible.
Parents
  • Hi,

    I'm not sure if the error code is actually NRF_ERROR_SOFTDEVICE_NOT_ENABLED as I can't see where this would be set in battery_level_update().

    1. Set a breakpoint at line 265 in ble_bas.c. What is returned from sd_ble_gatts_value_set() ? 
    2. Set a breakpoint at line 306 in ble_bas.c. What is returned from battery_notification_send()?

    Do the steps separately, the Softdevice will assert if you resume the application after you've halted it. It needs to be reset after it has been halted. 

    Jared 

Reply
  • Hi,

    I'm not sure if the error code is actually NRF_ERROR_SOFTDEVICE_NOT_ENABLED as I can't see where this would be set in battery_level_update().

    1. Set a breakpoint at line 265 in ble_bas.c. What is returned from sd_ble_gatts_value_set() ? 
    2. Set a breakpoint at line 306 in ble_bas.c. What is returned from battery_notification_send()?

    Do the steps separately, the Softdevice will assert if you resume the application after you've halted it. It needs to be reset after it has been halted. 

    Jared 

Children
No Data
Related