Custom Bluetooth Service
Hello, I need your kindly support for this application.
I would like to do a code for the STM32WB5MM-DK where the Bluetooth have a service with the following characteristics:
- Service
- Characteristic 1: Read and Notify a random number from 0 to 100 (later will be a resistive sensor, so an adc will be later implemented)
- Characteristic 2: Write from the phone a value that the board will later required
With the value from Characteristic 2, control a GPIO.
In this case, I have made several project but I do not end to comprehend yet the whole STM32CubeMx program. So far, I know the following
aci_gatt_update_char_value() /* Updates the value */But where is the code that I need to put the user function?
Thanks in advance for the support