I have followed the BLE tutorial on characteristics to make my own 2 custom characteristics that successfully read and write uint8 data to my nRF52832, however I want to take that data that was written from each characteristic to my chip and store them in local variables in my main loop, how do I do this?
When the Central (any Central - not specific to nRF Connect) writes a Characteristic, you will get a BLE Event - and the data is in that event.
Ok, is there a specific function or struct that I can see that in?
Have you looked at the Service & Characteristic tutorials?
they include the event handler ...
I read the characteristics tutorial and I can see they have a handler for the BLE event in this function:
In that handler we get this definition:
Where in here are we updating our actual write value data? I want to take that written value and print it in the debug window to verify my app write function is working.
That's the one!
If you go to the definitions of those events, you will find that there are also other events - including one for 'Write'.
In the event structure, you get (a pointer to) the data that was written ...
Not as pictures!