This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

a question about the thermometer sample app

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?