Peer to peer xDot

Dependencies:   ISL29011 libxDot-dev-mbed5-deprecated

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers dot_util.h Source File

dot_util.h

00001 #ifndef __DOT_UTIL_H__
00002 #define __DOT_UTIL_H__
00003 
00004 #include "mbed.h"
00005 #include "mDot.h"
00006 #include "ChannelPlans.h"
00007 #include "MTSLog.h"
00008 #include "MTSText.h"
00009 #include "ISL29011.h"
00010 
00011 extern mDot* dot;
00012 
00013 void display_config();
00014 
00015 void join_network();
00016 
00017 void update_peer_to_peer_config(uint8_t *network_address, uint8_t *network_session_key, uint8_t *data_session_key, uint32_t tx_frequency, uint8_t tx_datarate, uint8_t tx_power);
00018 
00019 void send_data(std::vector<uint8_t> data);
00020 
00021 #endif