Arduino Ethernet Shield V1 允许 Arduino 板连接到互联网。 它基于 Wiznet W5100ethernet 芯片(数据表)。 Wiznet W5100 提供支持 TCP 和 UDP 的网络 (IP) 堆栈。 它最多支持四个同时套接字连接。
本次实例将演示如何实现一个简单的CoAP客户端。
1、硬件准备Arduino Mega 2560 Arduino Ethernet Shield 路由器(推荐可以上网、开启DHCP) 网线一条 电脑一台 2、软件准备
Arduino IDE 网络调试软件(推荐使用通信猫) 支持库:https://github.com/hirotakaster/CoAP-simple-library Nodejs Nodejs CoAP支持库:node-coap npm -g install coap Nodejs 日期支持库:node-datetime npm -g ins



