Hi,
I am writing a program to actively change the state of an LED, then sample the output voltage on the led pin using SAADC, then outputs the adc value to terminal every two seconds, and also sends the status of the LED in a BLE advertising packet. I am unsure of how to dynamically broadcast the led status as a part of the ble advertising packet. Do I create a new service and display the LED info there? How is this done? nrf_sdk_15.3.0
Thanks,
A