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

Can't find Bluetooth operations in example code

Hi, I'm a student at Oregon State University using the nRF51 Development Kit for a project. I can't seem to find any functions for sending and recieving Bluetooth signals in the SDK example code. The closest I found is the use of the macro SVCALL (in ble_gap.h line #889, SVCALL is defined in nrf_svc.h).

How does SVCALL relay information to Bluetooth? And where can I find the functions that actually invoke bluetooth?

Parents Reply
  • The code has several parts. The initialization, event handling, and the data exchange. There are many things to initialize. Enable the softdevice first then the BLE part. You'll need a GUID to define your device. You'll need to go through the code to get the feel of it. The example code on my blog site has a 1 to 1 relationship with iOS counter part. It may be easier to understand than just the example from the SDK alone. My example code make use of custom GUID. For standard device example, the Heart rate example from the SDK is the one to look at. The nAN-36 is a must read but may not be updated with the SDK6. It explains about custom GUID.

Children
No Data
Related