mbed 5.4 with sleep mode
Dependencies: C027_Support mbed-dev
Fork of C027_SupportTest_coap by
main.h
- Committer:
- ranaumarnaeem
- Date:
- 2017-05-25
- Revision:
- 39:4f3f7463e55f
- Parent:
- 37:43d48521d4d7
File content as of revision 39:4f3f7463e55f:
#ifndef MAIN_H #define MAIN_H #include <time.h> #define HOST "5.39.83.206"//coap.me ip address//"127.0.0.1" /**< Host address of the server */ #define PORT "5683"//coap.me port//"12436" /**< UDP port number of the server */ #ifdef __cplusplus extern "C" { #endif #include "coap_msg.h" extern int recv(int socket_d, char *buf, int len); extern int send(int socket_d, char *buf, int len); extern int readseconds(void); #ifdef __cplusplus } #endif int recv(int socket_d, char *buf, int len); int send(int socket_d, char *buf, int len); void ussd_send(void); void sleep_mode(void); void responce_checker(void); void collect_assets(void); void send_packet(void); int initialize_modem(void); #endif