![]() |
發布時間: 2018-5-17 15:50
正文摘要:怎樣在以太網模塊中實現modbus協議? #include "uip.h" #include "uipopt.h" #include "uip_arp.h" #include "enc28j60.h" #include <stdio.h> #include <string.h> #define BUF ((s ... |
kerty80 發表于 2018-5-17 17:12 感謝 ![]() |
在 UDP 或者 TCP 數據 發送 段 加入 協議數據 即可, 同時 CRC16 校驗 可以 去掉 , TCP/IP 有自己的 校驗 可以去掉 |