Program that uses the QuickStart Library to interface a SmartMesh IP mote: Connects to the default network and starts publishing a random walk value every 5 seconds.
Fork of QSL_SimplePublish by
QSL SimplePublish
SmartMesh IP QuickStart Library
- GitHub repository
- Current release used: REL-1.0.2.2
- Documentation
- Discussion
sm_qsl/dn_time.h@9:f723949a18b7, 2016-11-04 (annotated)
- Committer:
- jhbr
- Date:
- Fri Nov 04 14:19:34 2016 +0000
- Revision:
- 9:f723949a18b7
- Parent:
- 1:89766ea2e99d
Deactivated DEBUG prints and updated mbed library to v128
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jhbr | 0:d3f5fdf2e6da | 1 | /* |
jhbr | 0:d3f5fdf2e6da | 2 | Copyright (c) 2016, Dust Networks. All rights reserved. |
jhbr | 0:d3f5fdf2e6da | 3 | |
jhbr | 0:d3f5fdf2e6da | 4 | \license See attached DN_LICENSE.txt. |
jhbr | 0:d3f5fdf2e6da | 5 | */ |
jhbr | 0:d3f5fdf2e6da | 6 | |
jhbr | 0:d3f5fdf2e6da | 7 | #ifndef DN_TIME_H |
jhbr | 0:d3f5fdf2e6da | 8 | #define DN_TIME_H |
jhbr | 0:d3f5fdf2e6da | 9 | |
jhbr | 0:d3f5fdf2e6da | 10 | #include "dn_common.h" |
jhbr | 0:d3f5fdf2e6da | 11 | |
jhbr | 0:d3f5fdf2e6da | 12 | //=========================== defines ========================================= |
jhbr | 0:d3f5fdf2e6da | 13 | |
jhbr | 0:d3f5fdf2e6da | 14 | //=========================== typedef ========================================= |
jhbr | 0:d3f5fdf2e6da | 15 | |
jhbr | 0:d3f5fdf2e6da | 16 | //=========================== variables ======================================= |
jhbr | 0:d3f5fdf2e6da | 17 | |
jhbr | 0:d3f5fdf2e6da | 18 | //=========================== prototypes ====================================== |
jhbr | 0:d3f5fdf2e6da | 19 | |
jhbr | 0:d3f5fdf2e6da | 20 | #ifdef __cplusplus |
jhbr | 0:d3f5fdf2e6da | 21 | extern "C" { |
jhbr | 0:d3f5fdf2e6da | 22 | #endif |
jhbr | 0:d3f5fdf2e6da | 23 | |
jhbr | 0:d3f5fdf2e6da | 24 | uint32_t dn_time_ms(void); |
jhbr | 0:d3f5fdf2e6da | 25 | void dn_sleep_ms(uint32_t milliseconds); |
jhbr | 0:d3f5fdf2e6da | 26 | |
jhbr | 0:d3f5fdf2e6da | 27 | #ifdef __cplusplus |
jhbr | 0:d3f5fdf2e6da | 28 | } |
jhbr | 0:d3f5fdf2e6da | 29 | #endif |
jhbr | 0:d3f5fdf2e6da | 30 | |
jhbr | 0:d3f5fdf2e6da | 31 | #endif |