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
Diff: dn_uart.h
- Revision:
- 0:d3f5fdf2e6da
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dn_uart.h Thu Sep 01 14:53:55 2016 +0000 @@ -0,0 +1,35 @@ +/* +Copyright (c) 2014, Dust Networks. All rights reserved. + +\license See attached DN_LICENSE.txt. +*/ + +#ifndef DN_UART_H +#define DN_UART_H + +#include "dn_common.h" + +//=========================== defined ========================================= + +//=========================== typedef ========================================= + +typedef void (*dn_uart_rxByte_cbt)(uint8_t byte); + +//=========================== variables ======================================= + +//=========================== prototypes ====================================== + +#ifdef __cplusplus + extern "C" { +#endif + +void dn_uart_init(dn_uart_rxByte_cbt rxByte_cb); +void dn_uart_txByte(uint8_t byte); +void dn_uart_txFlush(); + +#ifdef __cplusplus +} +#endif + +#endif +