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

Like nAN-36 except for S120 (central)

I'm looking for an application note like nAN-36 except taking me through using the S120 SoftDevice to create a BLE Central device.

So far, I started with the "hrs" heart rate service and I can get my peripheral to connect with my custom service. The service has one characteristic and I want to enable notifications for that characteristic so I believe I need to do some CCCD stuff. But the hrs CCCD stuff is spread out all over in several files and several functions and I can't quite wrap my mind around what I need to do in my case.

My peripheral is just a basic throughput test sending 20-byte messages and it works with my Android MCP app. However, the MCP app can't consume the data fast enough and can't parse it at all, which is why I'm writing my own BLE Central.

I don't need a secure connection, I don't need to bond, I just need to consume data as fast as possible and do some simple parsing of the received bytes to look at the state of the peripheral (the total number messages it has sent, what RSSI it's seeing, and stuff like that).

Is there an app note for making a BLE Central?

Parents Reply Children
No Data
Related