Справочник Пользователя для Libelium Comunicaciones Distribuidas S.L. PARKING-V1

Скачать
Страница из 67
-7-
How the node works
4. How the node works
Figure : Basic working loop diagram
As the diagram indicate, the basic loop of the node consists in read the sensor and send a frame when the parking 
slot change it status. Then, it sleeps a desired time and starts the loop again.
Some  events  can  forced  the  node  to  send  a  frame  to  the  cloud.  If  a  desired  time  elapsed  since  the  last  radio 
transmission, the node will send a Keep-Alive frame. This frame only contains basic data from the node (parking 
slot status and battery status). It is useful to know that there is no changes in the slot, but the node still working. 
The  node  also  will  send  a  frame  each  24  hours  with  the  working  data  of  the  day  (number  of  measurements, 
number of transmissions,…).
Figure : Extended loop diagram