Using this \nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_blinky and nRF5_SDK_17.0.2_d674dde\examples\ble_central\ble_app_blinky_c
As described in \examples\ble_central\ble_app_blinky_c
I am using win 10, VS Code and a Dongle!!!
The \examples\ble_peripheral\ble_app_blinky works fine and I can use the Android app BlinkyTest to flash the dongle (using nrfutil, not nrfjprog) to test it and it works ok, so I assume I have a working toolchain.
Basically I want to make one dongle (the server, aka ble_app_blinky) turn the light on and off on the other dongle (the client akak ble_app_blinky_c) (and for the server to recognise that a button was pressed on the client dongle). At least that is how I read the documentation says it should work.
I realise that I will have to make adjustments to at least main.c to re-assign the leds and buttons, but first I need to get the thing to build.
Because you don't have a dongle version of the examples\ble_central\ble_app_blinky_c I am trying to adapt it to work with the dongle pca10059. To do this I have copied over the code from the pca10056 folder. I have adjusted the Makefile and c_cpp_properties.json which tells the compiler where to look for the include files. (I am a bit of a noob with C, but I'm getting there).
So my first problem is that I am getting problems with intellisense telling me that in main.c
