2024-02-08 02:46 AM - last edited on 2024-02-29 08:31 AM by Peter BENSCH
Hello community,
I am trying to read a characteristic before each advertisement on BlueNRG-2 devboard.
I started from the example BLE_Sensor_Demo, I adapted the services and characteristics. I want to use a characteristic as a flag. When characteristic is 1, I send data in my eddystone advertisement payload, when 0, I don't.
For this, I need to read the characteristic before advertising. I guess I need to do that in my App_Tick, but I don't know with what function.
Can someone give me support please ?
Gaétan