123
Fork of WizFi250Interface_1 by
Revision 3:f78b0e66ed67, committed 2017-09-21
- Comitter:
- cliff1
- Date:
- Thu Sep 21 01:01:02 2017 +0000
- Parent:
- 2:13aeb8e94fed
- Commit message:
- test20170921
Changed in this revision
diff -r 13aeb8e94fed -r f78b0e66ed67 WizFi250/WizFi250_conf.h --- a/WizFi250/WizFi250_conf.h Mon Aug 21 23:02:00 2017 +0000 +++ b/WizFi250/WizFi250_conf.h Thu Sep 21 01:01:02 2017 +0000 @@ -24,6 +24,7 @@ #define CFG_TRYJOIN 3 +#define CFG_ENABLE_RTOS #define DEFAULT_WAIT_RESP_TIMEOUT 2000 // ms
diff -r 13aeb8e94fed -r f78b0e66ed67 WizFi250/WizFi250_hal.cpp --- a/WizFi250/WizFi250_hal.cpp Mon Aug 21 23:02:00 2017 +0000 +++ b/WizFi250/WizFi250_hal.cpp Thu Sep 21 01:01:02 2017 +0000 @@ -100,7 +100,7 @@ } #ifdef CFG_ENABLE_RTOS - if (_mutexUart.lock(ms) != osOK) return -1; + //if (_mutexUart.lock(ms) != osOK) return -1; #endif if(_flow == 2) @@ -128,7 +128,7 @@ { setRts(true); // release #ifdef CFG_ENABLE_RTOS - _mutexUart.unlock(); + //_mutexUart.unlock(); #endif }
diff -r 13aeb8e94fed -r f78b0e66ed67 WizFi250/WizFi250_sock.cpp --- a/WizFi250/WizFi250_sock.cpp Mon Aug 21 23:02:00 2017 +0000 +++ b/WizFi250/WizFi250_sock.cpp Thu Sep 21 01:01:02 2017 +0000 @@ -69,6 +69,7 @@ if( cmdSCON( "O","UCN",ip, remotePort, localPort, "0" ) ) return -1; } if(_state.cid < 0) return -1; + initCon(_state.cid, true); cid = _state.cid;
diff -r 13aeb8e94fed -r f78b0e66ed67 WizFi250Interface.cpp --- a/WizFi250Interface.cpp Mon Aug 21 23:02:00 2017 +0000 +++ b/WizFi250Interface.cpp Thu Sep 21 01:01:02 2017 +0000 @@ -176,6 +176,7 @@ socket->id = cid; socket->connected = true; wait_ms(WizFi250_DELAY_MS); + printf("TEST 200\r\n"); return 0; }