Pointer to outline of how to implement specific master side

I'm using an nRF52840 with SDK 15.3 under FreeRTOS and SES, BLE only

I'm trying to implement a master side (I've got the peripheral side running no problem).  The idea is that this will connect and control another peripheral type BLE device (another nRF52840 that I developed)....

I might know the MAC address of the target.  It'd also be nice to scan for it and decide what MAC address to work with... That part I know how to do.

I know the BLE schema since I control that on the other side.  All implemented with 128bit UUIDs.  I also control the advert packet and can easily filter on those.

What I want to do is to attach to it read write a couple of characteristics and then subscribe to one of them on Notify and stream that data into the rest of the application.

Do you have a pointer to an overview document on the steps I need to take to make that happen in this environment?  Or a code example of this sequence?

Best Regards

rjl

Related