SNIC UART Interface library: Serial to Wi-Fi library for Murata TypeYD Wi-Fi module. For more information about TypeYD: http://www.murata.co.jp/products/microwave/module/lbwb1zzydz/index.html
Dependents: SNIC-xively-jumpstart-demo SNIC-FluentLogger-example TCPEchoServer murataDemo ... more
Fork of YDwifiInterface by
Diff: YDwifi/YDwifi_uartmsg.cpp
- Revision:
- 3:9f90024d7fb2
- Parent:
- 2:0ba43344c814
- Child:
- 7:e88ccbe0225f
--- a/YDwifi/YDwifi_uartmsg.cpp Tue Mar 11 10:38:36 2014 +0000
+++ b/YDwifi/YDwifi_uartmsg.cpp Thu Mar 13 01:34:56 2014 +0000
@@ -89,7 +89,7 @@
int i;
// get payload length
- payload_len = ( ( (recvdata_p[1] & ~0x80) & 0xff) | ( ( (recvdata_p[2] & ~0xC0) << 7) & 0xff00) );
+ payload_len = ( ( (recvdata_p[1] & ~0x80) & 0xff) | ( ( (recvdata_p[2] & ~0xC0) << 7) & 0xff80) );
// get Command ID
*command_id_p = (recvdata_p[3] & ~0x80);
@@ -104,6 +104,7 @@
*payload_p = (*buf & ~0x80);
payload_p++;
response_len++;
+ isESC = false;
}
else
{
muRata

Murata TypeYD