Peer to peer xDot
Dependencies: ISL29011 libxDot-dev-mbed5-deprecated
Diff: src/dot_util.h
- Revision:
- 0:33f2abdc6bf9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/dot_util.h Mon Mar 05 23:51:58 2018 +0000 @@ -0,0 +1,21 @@ +#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