Add the siren.rs

This commit is contained in:
QuantumEntangledAndy committed 2023-10-26 11:31:22 +07:00
1 parent 44ffdcc2e8
commit 45151203e2
7 files changed
+122

No files matched your search

+1
View File
@@ -184,6 +184,7 @@ local message_types = {
[234]="UDP Keep Alive",
[252]="<BatteryInfoList>",
[253]="<BatteryInfo>",
[263]="<audioPlayInfo>",
[268]="<CloudBindInfo>",
[281]="<BindNasInfoList>",
[282]="<CloudLoginKey>",
+25
View File
@@ -2790,6 +2790,31 @@ Message have zero to two payloads.
</body>
```
- 264: `<audioPlayInfo>`
- Client: Usual header and extension xml with channel
- Payload
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<body>
<audioPlayInfo version="1.1">
<channelId>0</channelId>
<playMode>0</playMode>
<playDuration>0</playDuration>
<playTimes>1</playTimes>
<onOff>0</onOff>
</audioPlayInfo>
</body>
```
**Notes:** This is used to play the siren
- Camera:
Replies with standard OK message
- 264: `<audioCfg>` (write)
- Client