Peer to peer xDot

Dependencies:   ISL29011 libxDot-dev-mbed5-deprecated

src/dot_util.h

Committer:
javierp
Date:
2018-03-05
Revision:
0:33f2abdc6bf9

File content as of revision 0:33f2abdc6bf9:

#ifndef __DOT_UTIL_H__
#define __DOT_UTIL_H__

#include "mbed.h"
#include "mDot.h"
#include "ChannelPlans.h"
#include "MTSLog.h"
#include "MTSText.h"
#include "ISL29011.h"

extern mDot* dot;

void display_config();

void join_network();

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);

void send_data(std::vector<uint8_t> data);

#endif