This is to address the problem where your D1/D1 Pro is connected via USB to your Mac but not recognized by XCS and labeled as “unknown” in the Device list.
Search and download “WCHSerialPort” in App Store.
M2001 “xxx1” “xxx2”\n ------>used to configure WiFi，xxx1 being the name of the WiFi; xxx2 being the password of the WiFi
e.g. M2001 “Maker-office” “hulurobot423”\n
(1) Check the name of the WiFi your computer is connected with.
(2). Connect to the same WiFi using the Serial port tool, and send M2001 “xxx1” “xxx2”\n
a. Select the correct SerialName.
b. Select the correct BaudRate.
c. Select CRLF(\r\n) and tickle “AddTail”. Click “Send” and an IP will show up in the window area. (e.g. 10.10.101.163)
Once the device is connected, click Settings, and click “Check for updates”.