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

S130 Example from git nRF51-be-app-hrs-s130 not working with scanning and advertising

Hi all,

I am not sure what to do now. I have been trying to get the s130 working with the device manager. I tried using github.com/.../nRF51-ble-app-hrs-s130 with sdks 7.2 and s130 of 0.9.alpha. I am using GCC for compiling. and eclipse for debugging.

I have got everything to compile and load up on pca10028 board. However, the program would not do anything. It would init the device manager and then get stuck somewhere. Where it is stuck i do not know. it does not seem to be throwing any assert error.

It seem to be only the peripheral side of thing. I say this because when i comment out the advertising start and program was able to run and connect to the other device. when advertising was only on it does not advertise any data that can be seen through the master control panel. and then when both of them are enabled it just stop no more connection to the other board.

Any thought on this?

Parents
  • @Hacsx: Have you made sure you have updated the include API header files for the S130 v0.9 ? Please be noted that the example on github is based on S130 v0.5. The new header files is available in the softdevice .zip file.

    Also you would need to uncomment those call for sd_ble_enable() in ble_stack_init() in the example as well. sd_ble_enable() is required from S130 v0.9

    I'm testing here with the example after modification and it worked fine. I can see it connect to a peripheral and when connect to it I can see the heart rate value being updated.

  • I finally got it working. After changing to the new sdks 8.0 i modified the files and created new makefile for the gcc and it seem to be working now. Not really sure what is the cause of it.

Reply Children
No Data
Related