hi, i am reading the Thermometer sample application. In the file thermometer.c, at the end of the function "thermometerMeasIndicate()", there are two sentence:
thermometerStoreIndications(&thermometerMeas);
thermometer_Advertise();
My question is why use thermometer_Advertise()? and how they can trigger the function thermometerSendStoredMeas() to send out the measurement?