Detecting IP and MAC address of Eriwin Nodes from EMS Device

Brief

Using ESP8266, we send UDP packet (IFOProbeDevice) to each IP address 192.168.xxx.1 to 192.168.xxx.255. For every Eriwin nodes, they will return MAC address, for example (IFOR00262903424eX2) is MAC 00-26-29-03-42-4E.

AT Command for ESP8266

AT+CWMODE=3

AT+CIPMUX=1

AT+CIPSERVER=1,15002

AT+CWJAP="SSID","PASS"

AT+CIPSTART=1,"UDP","192.168.xxx.1",15002 /repeat from 192.168.xxx.1 to 192.168.xxx.255

AT+CIPSEND=1,14 /wait for ">" sign

IFOProbeDevice

+IPD,0,18:IFOR00262903424eX2 /response if the node is Eriwin nodes


Please log in to post comments.