SimpleWifi

所属分类:硬件设计
开发工具:C++
文件大小:9KB
下载次数:0
上传日期:2013-09-13 22:53:04
上 传 者sh-1993
说明:  SimpleWifi使用Arduino以太网客户端api,并为WiFly Shi提供两种以太网兼容性方法...
(SimpleWifi uses the Arduino Ethernet Client api and it provides both Ethernet compatibility methods for the WiFly Shield and the RN-XV WiFly Module both available from SparkFun Electronics and a full MQTT v3 client.)

文件列表:
Debug.h (249, 2013-09-14)
MQTT.cpp (11560, 2013-09-14)
MQTT.h (2498, 2013-09-14)
SimpleDevice.cpp (3884, 2013-09-14)
SimpleDevice.h (1236, 2013-09-14)
SimpleWifi.h (167, 2013-09-14)
SimpleWifiClient.cpp (2407, 2013-09-14)
SimpleWifiClient.h (780, 2013-09-14)

SimpleWifi ========== SimpleWifi uses the Arduino Ethernet Client api and it provides both Ethernet compatibility methods for the WiFly Shield and the RN-XV WiFly Module both available from SparkFun Electronics and a full MQTT v3 client. SimpleWifi is an all in one, totally refactored, minified and simplified version of two libs for the Arduino: 1. Arduino Client for MQTT by Nick OLeary http://knolleary.net/arduino-client-for-mqtt/ 2. WiFly Sparkfun library https://github.com/dpslwk/WiFly I had troubles with both libraries working with my setup. Namely: they're very unstable, had some bugs, memory footprint was big and flash size too. So I decided to take matters into my own hands and rewrote the whole thing into one single library. For now the Client class expects version 4.00 of the wiFly firmware but you may adapt it to other versions. Look for the COMMAND_PROMPT_MESSAGE definition. Communication with the WiFly module is serial only. Make sure to chose hardware RX/TX pins, I had troubles with SoftSerial. I've tested this library with the Arduino Leonardo and the Arduino Mega (both versions). Also, be warned: this is an unfinished project. Expect improvements and changes during the next weeks. I don't have examples/ yet too. Soon. More documentation to come.

近期下载者

相关文件


收藏者