/********************************************************************* * @fn sensorConfigChangeCB * * @brief Callback from Barometer Service indicating a value change * * @param paramID - parameter ID of the value that was changed. * * @return none */ static void sensorConfigChangeCB(uint8_t paramID) { // Wake up the application thread SensorTag_charValueChangeCB(SERVICE_ID_BAR, paramID); }
/********************************************************************* * @fn ioChangeCB * * @brief Callback from IO service indicating a value change * * @param paramID - parameter ID of the value that was changed. * * @return none */ static void ioChangeCB( uint8_t paramID ) { // Wake up the application thread SensorTag_charValueChangeCB(SERVICE_ID_IO, paramID); }
/******************************************************************************* * @fn displayChangeCB * * @brief Callback from IO service indicating a value change * * @param paramID - parameter ID of the value that was changed. * * @return none */ static void displayChangeCB(uint8_t newParamID) { // Wake up the application thread SensorTag_charValueChangeCB(SERVICE_ID_DISPLAY, newParamID); }