Files | |
file | rep.c |
Report implementation. | |
file | rep.h |
Report interface. | |
Macros | |
#define | REP_SENSORS_REPORT_PERIOD 7 |
Functions | |
void | rep_init () |
Report initialization. More... | |
UInt16 | rep_proccess () |
Report process. More... | |
void | rep_hello () |
Hello message. More... | |
#define REP_SENSORS_REPORT_PERIOD 7 |
void rep_hello | ( | ) |
Hello message.
This function sends a hello message to UART. It have delay loops.
Definition at line 120 of file rep.c.
References uart_endFrame(), uart_snd(), uart_startFrame(), and uart_txBufFree().
Referenced by main().
void rep_init | ( | ) |
UInt16 rep_proccess | ( | ) |
Report process.
This function processes the tasks of the report.
Definition at line 89 of file rep.c.
References adc_getLux(), adc_getTemp(), adc_getVolt(), nwk_getPIeeeAddress(), nwk_isBound(), nwk_isSink(), rep_endFrame(), REP_SENSORS_REPORT_PERIOD, rep_sndUInt16(), rep_sndUInt32(), rep_sndUInt48sc(), rep_sndUInt64(), and rep_startFrame().
Referenced by main().