Peer to peer xDot
Dependencies: ISL29011 libxDot-dev-mbed5-deprecated
src/dot_util.h@0:33f2abdc6bf9, 2018-03-05 (annotated)
- Committer:
- javierp
- Date:
- Mon Mar 05 23:51:58 2018 +0000
- Revision:
- 0:33f2abdc6bf9
Conexi?n peer to peer para que con una misma clave se entiendan dos xDot.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
javierp | 0:33f2abdc6bf9 | 1 | #ifndef __DOT_UTIL_H__ |
javierp | 0:33f2abdc6bf9 | 2 | #define __DOT_UTIL_H__ |
javierp | 0:33f2abdc6bf9 | 3 | |
javierp | 0:33f2abdc6bf9 | 4 | #include "mbed.h" |
javierp | 0:33f2abdc6bf9 | 5 | #include "mDot.h" |
javierp | 0:33f2abdc6bf9 | 6 | #include "ChannelPlans.h" |
javierp | 0:33f2abdc6bf9 | 7 | #include "MTSLog.h" |
javierp | 0:33f2abdc6bf9 | 8 | #include "MTSText.h" |
javierp | 0:33f2abdc6bf9 | 9 | #include "ISL29011.h" |
javierp | 0:33f2abdc6bf9 | 10 | |
javierp | 0:33f2abdc6bf9 | 11 | extern mDot* dot; |
javierp | 0:33f2abdc6bf9 | 12 | |
javierp | 0:33f2abdc6bf9 | 13 | void display_config(); |
javierp | 0:33f2abdc6bf9 | 14 | |
javierp | 0:33f2abdc6bf9 | 15 | void join_network(); |
javierp | 0:33f2abdc6bf9 | 16 | |
javierp | 0:33f2abdc6bf9 | 17 | 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); |
javierp | 0:33f2abdc6bf9 | 18 | |
javierp | 0:33f2abdc6bf9 | 19 | void send_data(std::vector<uint8_t> data); |
javierp | 0:33f2abdc6bf9 | 20 | |
javierp | 0:33f2abdc6bf9 | 21 | #endif |