Protocol Identification
As the first step, try finding your device in the list of supported devices.
The last column contains default port number for the device. If you have a device made in China, make sure to also check the information about clones.
If a given port does not work for your device or you cannot find your device in the list of supported devices, try collecting some samples using the following steps:
Collecting samples
- Configure your device to send data to the port 5001
- Wait for the device to send a few messages to the server
- Find HEX message from the device in the log file
Once you have some samples and you are sure those samples are from your device, you can try matching them with common patterns.
Common protocol patterns
If protocol is text-based, you have to convert HEX to text first.
Protocol samples
// HEX samples will start with 7878 or 7979
78780D01086471700328358100093F040D0A