Contents Menu Expand Light mode Dark mode Auto light/dark mode
Welrok Local API
Welrok Local API
Back to top

MS: Device search

To obtain a list of available devices on the local network UDP broadcast packets are used. After connecting to the network several times per minute, each device sends a UDP packet to port 23500 with JSON data like:

{
   "sn":"404CCAAAD4E8A89860609800000149",
   "hw":"ms",
   "cloud":"true",
   "connection":"cloudCon",
   "wifi":"-71",
   "display":"error"
}

sn - device serial number

hw - device type

cloud - the cloud connection parameter. It can return:
  • true - connected to the cloud

  • false - not connected to the cloud

connection - status of the connection to the cloud
  • wiFiCon - connected to a Wi-Fi network

  • tcpCon, helloCon, readyCon, sslCon - connecting to the cloud

  • cloudCon - connected to the cloud

  • APMode - device in access point mode

  • changeState - switching between modes

wifi - Wi-Fi signal strength in dBm

display - the device’s display reading at the time of the request

Copyright © 2025, Welrok
Made with Sphinx and @pradyunsg's Furo