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

Access the led_state value in the blinky app example, for using it in the main function !

hi ,

new to Nordic developmen. struggling to access the characteristic data to be able to use it in the main function !

i have started with the blinky app example as it covers my needs for the ble setting (need one service + 2 characteristics ) . for my project i need to use the characteristic data (the  led_state  in the example ) in my main function .

but the led_state data seems to be not accessible at this function !  have tried the memcpy() , can't copy it .

please kindly guide .