ex
Fork of mbed-os-example-mbed5-blinky by
Diff: dumi_doc-master/doc/directives/Extension.md
- Revision:
- 44:c1d8923072ba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dumi_doc-master/doc/directives/Extension.md Tue Jul 18 16:27:22 2017 +0800
@@ -0,0 +1,45 @@
+# Extension
+
+## Table of Contents
+
+
+## Extension.Settings.Set指令
+
+
+### 打开/关闭蓝牙
+
+用户对音箱说“打开/关闭蓝牙”,会返回如下指令,true表示打开,false表示关闭。
+
+```json
+{
+ "header": {
+ "namespace": "Extension.Settings",
+ "name": "Set",
+ "message_id": "message_id-1344"
+ },
+ "payload": {
+ "bluetooth": true
+ }
+}
+```
+
+
+### 关闭麦克风
+
+用户对音箱说“关闭麦克风”,会返回如下指令,false表示关闭。
+
+说明:对于麦克风的控制,只支持关闭指令,打开操作需要通过其他方式(如:物理按键)实现。
+
+```json
+{
+ "header": {
+ "namespace": "Extension.Settings",
+ "name": "Set",
+ "message_id": "message_id-1344"
+ },
+ "payload": {
+ "microphone": false
+ }
+}
+```
+
