Add two threads into the IOT WIFIDemo for test_JacobShi
Dependencies: C12832 HTTPClient wifiontros wifirtos mbed
Fork of frdm_rtos by
baseinterface.h@4:242715d40e54, 2014-12-05 (annotated)
- Committer:
- shiyilei
- Date:
- Fri Dec 05 02:14:44 2014 +0000
- Revision:
- 4:242715d40e54
wifibasedonrtos
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shiyilei | 4:242715d40e54 | 1 | #ifndef __BASELEVEL_H |
shiyilei | 4:242715d40e54 | 2 | #define __BASELEVEL_H |
shiyilei | 4:242715d40e54 | 3 | #include "Wifly.h" |
shiyilei | 4:242715d40e54 | 4 | extern Wifly*wifi; //·ÀÖ¹UDP±¨´í |
shiyilei | 4:242715d40e54 | 5 | bool base_level_getinstance(void); |
shiyilei | 4:242715d40e54 | 6 | bool base_level_close(); |
shiyilei | 4:242715d40e54 | 7 | bool base_level_connect(const char* host, const int port); |
shiyilei | 4:242715d40e54 | 8 | bool base_level_is_connected(void); |
shiyilei | 4:242715d40e54 | 9 | int baselevel_send_data(char *data,int length); |
shiyilei | 4:242715d40e54 | 10 | int baselevel_receive_data(char *data,int length); |
shiyilei | 4:242715d40e54 | 11 | int baselevel_is_readable(); |
shiyilei | 4:242715d40e54 | 12 | |
shiyilei | 4:242715d40e54 | 13 | #endif |