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 139 of file rep.c.
References uart_endFrame(), uart_snd(), uart_startFrame(), and uart_txBufFree().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void rep_init | ( | ) |
| UInt16 rep_proccess | ( | ) |
Report process.
This function processes the tasks of the report.
Definition at line 90 of file rep.c.
References adc_getLux(), adc_getTemp(), adc_getVolt(), clock_tickSize, nwk_getPIeeeAddress(), nwk_isBound(), nwk_isSink(), nwk_neighbors, rep_endFrame(), REP_SENSORS_REPORT_PERIOD, rep_snd(), rep_sndInt64(), rep_sndUInt16(), rep_sndUInt32(), rep_sndUInt48sc(), rep_sndUInt64(), and rep_startFrame().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: