1. Play text
1.1. Usage scenarios
Send text in a specified format to the small host via 485, TCP, or UDP, so that it can announce the text or play specified music.
1.2. Using process
For example, TCP:
Small Kable Host: Go to desktop - Settings - General Settings - Smart Home Settings - 485 Host Management - Interface Configuration, set IP, port, and transmission method
After setting up, click the button in the upper right corner to return.
1.3. Caution notices
- 485 broadcast text, need to convert the text to be broadcast into a hexadecimal string and send it
- *Indicates text, send text length not exceeding 60 bytes, including the start symbol (#, !), and it can only be sent in hexadecimal. Note: ! is a symbol in the English input method.
- Play the specified audio requires attention, as the playback is done in the background and the page player will not display the play/pause time status. When the audio finishes playing, it will stop.
Announcement text is divided into two cases:
All small hosts on the bus or all clients (small hosts) under the same local area network simultaneously broadcast text
Text format specified as:
###*****#
Must start with three # and end with one #According to the room number, have the corresponding small Kego host report the text
Preconditions: Desktop - Settings - General Settings - 485 Control Settings here, the 485 control switch is turned on, set the room number
Text format is specified as:
#Room Number#****#
(Room number range is: 0-255)For example: If #5#123# is sent, only the small host with room number 5 will report 123
Announce the specified audio in the following two cases:
Music or notification sounds must be placed in the "JD-NOTIFY" folder under /sdcard, enter the root directory to create the "JD-NOTIFY" folder, and place the audio files inside
All small Keno hosts on the bus or all clients (small Keno hosts) under the same local area network play the specified audio simultaneously
Song Title!
According to the room number, make the corresponding mini host play the specified audio
Room number! Song title!