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.

Dependencies:   mbed millis

Fork of QSL_SimplePublish by Jon-Håkon Bøe Røli

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers dn_uart.h Source File

dn_uart.h

00001 /*
00002 Copyright (c) 2014, Dust Networks. All rights reserved.
00003 
00004 \license See attached DN_LICENSE.txt.
00005 */
00006 
00007 #ifndef DN_UART_H
00008 #define DN_UART_H
00009 
00010 #include "dn_common.h"
00011 
00012 //=========================== defined =========================================
00013 
00014 //=========================== typedef =========================================
00015 
00016 typedef void (*dn_uart_rxByte_cbt)(uint8_t byte);
00017 
00018 //=========================== variables =======================================
00019 
00020 //=========================== prototypes ======================================
00021 
00022 #ifdef __cplusplus
00023  extern "C" {
00024 #endif
00025 
00026 void dn_uart_init(dn_uart_rxByte_cbt rxByte_cb);
00027 void dn_uart_txByte(uint8_t byte);
00028 void dn_uart_txFlush();
00029 
00030 #ifdef __cplusplus
00031 }
00032 #endif
00033 
00034 #endif
00035