How to create a function in SensorTile.box PRO to communicate with the STM32WB client
SensorTile.box Pro: I am having difficulty figuring out which api to use within a function I have created to send accellerometer sensor data to a Stm32WB client . Function example :
void sendAccelerometerData(int x, int y, int z) {
uint8_t data[6];
data[0] = ;
data[1] = ;
data[2] = ;
data[3] = ;
data[4] = ;
data[5] = ;
?? BLE_UpdateValue(ACCELEROMETER_CHAR_UUID, data, sizeof(data));
}
I would also like to understand where to implement this function and its parameters.
