diff options
author | Mimmo La Fauci <mlafauci@metodo2.it> | 2013-03-16 12:33:50 +0100 |
---|---|---|
committer | Mimmo La Fauci <mlafauci@metodo2.it> | 2013-03-16 12:33:50 +0100 |
commit | e477d8cffaf99465dc6815230e6b01ebe1f87b26 (patch) | |
tree | b2d0f41aef7d66b4e7fe8d1493417794d2f2d244 /firmwares/wifishield/wifiHD/src/wifi_spi.h | |
parent | cc8291eda8e87f8d8be5868fe51bf3b2c76be398 (diff) |
Fixed issu con client.available to return the correct number of bytes
Diffstat (limited to 'firmwares/wifishield/wifiHD/src/wifi_spi.h')
-rw-r--r-- | firmwares/wifishield/wifiHD/src/wifi_spi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmwares/wifishield/wifiHD/src/wifi_spi.h b/firmwares/wifishield/wifiHD/src/wifi_spi.h index 48da984..4094e03 100644 --- a/firmwares/wifishield/wifiHD/src/wifi_spi.h +++ b/firmwares/wifishield/wifiHD/src/wifi_spi.h @@ -24,6 +24,8 @@ #define START_CMD 0xE0 #define END_CMD 0xEE #define ERR_CMD 0xEF +#define CMD_POS 1 // Position of Command OpCode on SPI stream +#define PARAM_LEN_POS 2 // Position of Param len on SPI stream enum { SET_NET_CMD = 0x10, |