LoRa sending TSL lux sensor

Dependencies:   TSL2561_I2C libmDot-mbed5

Committer:
kellybs1
Date:
Wed Nov 01 21:10:36 2017 +0000
Revision:
0:2abdab750246
initial;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kellybs1 0:2abdab750246 1 #ifndef __DOT_UTIL_H__
kellybs1 0:2abdab750246 2 #define __DOT_UTIL_H__
kellybs1 0:2abdab750246 3
kellybs1 0:2abdab750246 4 #include "mbed.h"
kellybs1 0:2abdab750246 5 #include "mDot.h"
kellybs1 0:2abdab750246 6 #include "ChannelPlans.h"
kellybs1 0:2abdab750246 7 #include "MTSLog.h"
kellybs1 0:2abdab750246 8 #include "MTSText.h"
kellybs1 0:2abdab750246 9
kellybs1 0:2abdab750246 10
kellybs1 0:2abdab750246 11 extern mDot* dot;
kellybs1 0:2abdab750246 12
kellybs1 0:2abdab750246 13 void display_config();
kellybs1 0:2abdab750246 14
kellybs1 0:2abdab750246 15 void update_ota_config_name_phrase(std::string network_name, std::string network_passphrase, uint8_t frequency_sub_band, bool public_network, uint8_t ack);
kellybs1 0:2abdab750246 16
kellybs1 0:2abdab750246 17 void update_ota_config_id_key(uint8_t *network_id, uint8_t *network_key, uint8_t frequency_sub_band, bool public_network, uint8_t ack);
kellybs1 0:2abdab750246 18
kellybs1 0:2abdab750246 19 void update_manual_config(uint8_t *network_address, uint8_t *network_session_key, uint8_t *data_session_key, uint8_t frequency_sub_band, bool public_network, uint8_t ack);
kellybs1 0:2abdab750246 20
kellybs1 0:2abdab750246 21 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);
kellybs1 0:2abdab750246 22
kellybs1 0:2abdab750246 23 void update_network_link_check_config(uint8_t link_check_count, uint8_t link_check_threshold);
kellybs1 0:2abdab750246 24
kellybs1 0:2abdab750246 25 void join_network();
kellybs1 0:2abdab750246 26
kellybs1 0:2abdab750246 27 void sleep_wake_rtc_only(bool deepsleep);
kellybs1 0:2abdab750246 28
kellybs1 0:2abdab750246 29 void sleep_wake_interrupt_only(bool deepsleep);
kellybs1 0:2abdab750246 30
kellybs1 0:2abdab750246 31 void sleep_wake_rtc_or_interrupt(bool deepsleep);
kellybs1 0:2abdab750246 32
kellybs1 0:2abdab750246 33 void sleep_save_io();
kellybs1 0:2abdab750246 34
kellybs1 0:2abdab750246 35 void sleep_configure_io();
kellybs1 0:2abdab750246 36
kellybs1 0:2abdab750246 37 void sleep_restore_io();
kellybs1 0:2abdab750246 38
kellybs1 0:2abdab750246 39 void send_data(std::vector<uint8_t> data);
kellybs1 0:2abdab750246 40
kellybs1 0:2abdab750246 41 #endif