zcbvsDG

Dependencies:   ISL29011

Committer:
deepak15
Date:
Mon Sep 25 09:41:00 2017 +0000
Revision:
0:aa8df9825311
test _1;

Who changed what in which revision?

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