Commit b682bce98ee8e820c079501913a003299abfddc2

Authored by DMchen
1 parent c53f76f2

1.更新语音题接口参数

通讯协议-SDK应用部分.md
@@ -8,7 +8,7 @@ WSCmdApp协议接口说明 @@ -8,7 +8,7 @@ WSCmdApp协议接口说明
8 8
9 9
10 <div style="text-align: center;font-size: 30px;"> 10 <div style="text-align: center;font-size: 30px;">
11 -Ver5.1.2 11 +Ver5.1.3
12 </div> 12 </div>
13 <br> 13 <br>
14 <br> 14 <br>
@@ -45,6 +45,7 @@ Ver5.1.2 @@ -45,6 +45,7 @@ Ver5.1.2
45 |---|---|---|---| 45 |---|---|---|---|
46 |5.1.1| 2023年10月09日|陈定敏|1. 初始版| 46 |5.1.1| 2023年10月09日|陈定敏|1. 初始版|
47 |5.1.2| 2023年11月07日|陈定敏|1. 增加配对模式设置接口| 47 |5.1.2| 2023年11月07日|陈定敏|1. 增加配对模式设置接口|
  48 +|5.1.3| 2023年11月15日|陈定敏|1. 更新语音题接口参数|
48 49
49 <br> 50 <br>
50 51
@@ -988,6 +989,7 @@ params:{} @@ -988,6 +989,7 @@ params:{}
988 |recordingTimeLimit|预留|0| 989 |recordingTimeLimit|预留|0|
989 |recordingFormat|预留|0(默认值0)| 990 |recordingFormat|预留|0(默认值0)|
990 |recordAudioFormat|音频格式|0:mp3(默认值)<br>1:实时流| 991 |recordAudioFormat|音频格式|0:mp3(默认值)<br>1:实时流|
  992 +|buttonMode|按键方式|0:按压录音(默认值)<br>1:单击录音|
991 993
992 994
993 指令样例: 995 指令样例:
@@ -1001,7 +1003,8 @@ params:{} @@ -1001,7 +1003,8 @@ params:{}
1001 "submitTimes": "0", 1003 "submitTimes": "0",
1002 "recordingTimeLimit": "0", 1004 "recordingTimeLimit": "0",
1003 "recordingFormat": "0", 1005 "recordingFormat": "0",
1004 - "recordAudioFormat": "0" 1006 + "recordAudioFormat": "0",
  1007 + "buttonMode": "0"
1005 }, 1008 },
1006 "packetTag": "1" 1009 "packetTag": "1"
1007 } 1010 }
@@ -5419,6 +5422,7 @@ infos:{ &quot;funId&quot;:&quot;F0001&quot;,&quot;code&quot;:&quot;10002&quot;}// @@ -5419,6 +5422,7 @@ infos:{ &quot;funId&quot;:&quot;F0001&quot;,&quot;code&quot;:&quot;10002&quot;}//
5419 |20002|功能不支持| 5422 |20002|功能不支持|
5420 |20003|基站ID为负数,应用可以不传ID,默认为0| 5423 |20003|基站ID为负数,应用可以不传ID,默认为0|
5421 |20004|参数错误| 5424 |20004|参数错误|
  5425 +|20005|基站繁忙|
5422 |30001|找不到对应的SN| 5426 |30001|找不到对应的SN|
5423 |40001|升级功能只能支持一个基站在线| 5427 |40001|升级功能只能支持一个基站在线|
5424 |50001|此功能必须指定基站ID| 5428 |50001|此功能必须指定基站ID|
@@ -5450,7 +5454,7 @@ infos:{ &quot;funId&quot;:&quot;F0001&quot;,&quot;code&quot;:&quot;10002&quot;}// @@ -5450,7 +5454,7 @@ infos:{ &quot;funId&quot;:&quot;F0001&quot;,&quot;code&quot;:&quot;10002&quot;}//
5450 |F0022|读基站设备RF功率| 5454 |F0022|读基站设备RF功率|
5451 |F0023|写基站设备RF功率| 5455 |F0023|写基站设备RF功率|
5452 |F0024|基站设备配对模式或基站名称(自定义)| 5456 |F0024|基站设备配对模式或基站名称(自定义)|
5453 -|F0025|预留| 5457 +|F0025|基站设备升级固件|
5454 |F0026|读基站快速配对低功率模式| 5458 |F0026|读基站快速配对低功率模式|
5455 |F0027|写基站快速配对低功率模式| 5459 |F0027|写基站快速配对低功率模式|
5456 |F0028|读键盘登录菜单显示允许[S6适用]| 5460 |F0028|读键盘登录菜单显示允许[S6适用]|
通讯协议-SDK应用部分[内部].md
@@ -8,7 +8,7 @@ WSCmdApp协议接口说明 @@ -8,7 +8,7 @@ WSCmdApp协议接口说明
8 8
9 9
10 <div style="text-align: center;font-size: 30px;"> 10 <div style="text-align: center;font-size: 30px;">
11 -Ver5.1.2 11 +Ver5.1.3
12 </div> 12 </div>
13 <br> 13 <br>
14 <br> 14 <br>
@@ -45,6 +45,7 @@ Ver5.1.2 @@ -45,6 +45,7 @@ Ver5.1.2
45 |---|---|---|---| 45 |---|---|---|---|
46 |5.1.1| 2023年10月09日|陈定敏|1. 初始版| 46 |5.1.1| 2023年10月09日|陈定敏|1. 初始版|
47 |5.1.2| 2023年11月07日|陈定敏|1. 增加配对模式设置接口| 47 |5.1.2| 2023年11月07日|陈定敏|1. 增加配对模式设置接口|
  48 +|5.1.3| 2023年11月15日|陈定敏|1. 更新语音题接口参数|
48 49
49 <br> 50 <br>
50 51
@@ -988,6 +989,7 @@ params:{} @@ -988,6 +989,7 @@ params:{}
988 |recordingTimeLimit|预留|0| 989 |recordingTimeLimit|预留|0|
989 |recordingFormat|预留|0(默认值0)| 990 |recordingFormat|预留|0(默认值0)|
990 |recordAudioFormat|音频格式|0:mp3(默认值)<br>1:实时流| 991 |recordAudioFormat|音频格式|0:mp3(默认值)<br>1:实时流|
  992 +|buttonMode|按键方式|0:按压录音(默认值)<br>1:单击录音|
991 993
992 994
993 指令样例: 995 指令样例:
@@ -1001,7 +1003,8 @@ params:{} @@ -1001,7 +1003,8 @@ params:{}
1001 "submitTimes": "0", 1003 "submitTimes": "0",
1002 "recordingTimeLimit": "0", 1004 "recordingTimeLimit": "0",
1003 "recordingFormat": "0", 1005 "recordingFormat": "0",
1004 - "recordAudioFormat": "0" 1006 + "recordAudioFormat": "0",
  1007 + "buttonMode": "0"
1005 }, 1008 },
1006 "packetTag": "1" 1009 "packetTag": "1"
1007 } 1010 }
@@ -1014,6 +1017,7 @@ params:{} @@ -1014,6 +1017,7 @@ params:{}
1014 |recordingTimeLimit|录音时长|0~180秒<br>0:不限制| 1017 |recordingTimeLimit|录音时长|0~180秒<br>0:不限制|
1015 |recordingFormat|预留|0(默认值0)| 1018 |recordingFormat|预留|0(默认值0)|
1016 |recordAudioFormat|音频格式|0:mp3(默认值)<br>1:实时流| 1019 |recordAudioFormat|音频格式|0:mp3(默认值)<br>1:实时流|
  1020 +|buttonMode|按键方式|0:按压录音(默认值)<br>1:单击录音|
1017 |testMode|自动测试|0:关闭(默认值)<br>1:开启| 1021 |testMode|自动测试|0:关闭(默认值)<br>1:开启|
1018 1022
1019 自动测试指令样例: 1023 自动测试指令样例:
@@ -1028,6 +1032,7 @@ params:{} @@ -1028,6 +1032,7 @@ params:{}
1028 "recordingTimeLimit": "60", 1032 "recordingTimeLimit": "60",
1029 "recordingFormat": "0", 1033 "recordingFormat": "0",
1030 "recordAudioFormat": "0", 1034 "recordAudioFormat": "0",
  1035 + "buttonMode": "0",
1031 "testMode":"1" 1036 "testMode":"1"
1032 }, 1037 },
1033 "packetTag": "1" 1038 "packetTag": "1"