2022-11-22 07:03 AM
I am pretty new to embedded programming and I am trying to set up BLE to get the sensor data from the temp sensor on the STEVAL-PROTEUS board. I set up the BLE in the .ioc file correctly and can connect to the device and service via the ST BLE Toolbox.
However, I can't seem to find any entry point into the BLE code where I could add my own user code. I read the sensor data in the main function but I don't know how to use the sensor data from main to replace the generic value that is currently transmitted via BLE.
If anyone could point me to the right file/function to add my code or if anyone knows a tutorial that goes beyond the setup of the .ioc file i would be very grateful!