Description

When Milesight node log file is required to troubleshot, please follow this guide to get the log file by USB port or TTL port debug software.


Requirement

  • Type-C cable, Micro USB cable, or a TTL cable and TTL to RS232 converter.
  • Screwdriver (Optional)
  • Serial port tool: take TCPCOM as example
  • Applicable product: All Milesight Node


Configuration

Step 1. Open a serial port tool. You can also click here to download and install TCPCOM.

Step 2. Connect device to PC by serial port. Many Milesight sensors do not have external serial port, please use screwdriver to open the housing of sensor, then connect internal USB port to PC by USB Cable.

Note: For many sensors which are only equipped with TTL port, please prepare below TTL to RS232 converter and RS232 to USB cable.

Then refer to below instruction to connect TTL port:


Step 3. Open TCPCOM, then choose COM port connected with sensor, and configure related parameters like below, click Open .

BauDR: 9600           

DPaity: NONE

DataB: 8bit            

StopB: 1 bit


Step 4. Enable Recv Options to ASCII. Enable “Save data to file”, then choose a path to save the log file.


Step 5. Enable Send Options to ASCII. Then fill command "@ENABLE UNXX USB DEBUG@" in send window, click Send to get device log.


Note: When getting the log file from cellular type devices (Milesight UC3x series product), please send this command:

@ENABLE UNXX MOBILE DEBUG@


Step 6. Reproduce the issue, and keep this TCPCOM running all the time during you reproduce the issue you met.

Step 7. After reproducing the issue you met, send command ”@DISABLE UNXX USB DEBUG@” to stop printing log. Click Close to stop TCPCOM to take up this USB port.


Copy and save all printed logs to send it to Milesight Technical support to analyze further.


-End-