Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeBo committed Dec 10, 2018
1 parent 0aa568e commit fcd507a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,25 +191,27 @@ open at uart succeed
* 测试本地环境是否OK

如果本地环境OK,点击配网andlinkdemo1.0.apk 开始连接按钮,会有如下页面:
<img src="./resource/qlink/image/环境OK.png" width="500" hegiht="313" align=center />
<img src="./resource/qlink/image/环境OK.png" width="500" hegiht="313" align=center />

* 配网操作

通过cli串口发送 raw start命令 或者 按键触发调用qlink_raw_start()接口使设备进入本地网关一键配网模式,

同时手机APP点击开始连接按钮,绑定成功后APP提示添加成功,后台虚拟网关下面会显示出设备,如下:
<img src="./resource/qlink/image/bind_ok.png" width="500" hegiht="313" align=center />
<img src="./resource/qlink/image/bind_ok.png" width="500" hegiht="313" align=center />
* 数据下发

通过后台获取所有字段,操作如下所示:

<img src="./resource/qlink/image/request_all_data.png" width="500" hegiht="313" align=center />
<img src="./resource/qlink/image/request_all_data.png" width="500" hegiht="313" align=center />

通过后台获取部分字段,操作如下所示:
<img src="./resource/qlink/image/request_some_data.png" width="500" hegiht="313" align=center />

<img src="./resource/qlink/image/request_some_data.png" width="500" hegiht="313" align=center />

通过后台下发命令,操作如下所示:
<img src="./resource/qlink/image/control_data.png" width="500" hegiht="313" align=center />

<img src="./resource/qlink/image/control_data.png" width="500" hegiht="313" align=center />

设备收到云端获取字段指令后,需要调用mx_status emh_qlink_send_json_to_cloud( char *type, uint8_t *data, uint32_t len ) 函数将数据发送到云端

Expand Down Expand Up @@ -242,7 +244,8 @@ data:上传具体内容
通过cli串口发送 user start命令 或者 按键触发调用qlink_user_start()接口使设备进入云网关用户配网模式,

同时手机APP(resource/qlink/2.云网关/app路径)进入添加设备页面,扫描到如下页面,说明设备进入了配网页面:
<img src="./resource/qlink/image/user_config.png" width="500" hegiht="313" align=center />

<img src="./resource/qlink/image/user_config.png" width="500" hegiht="313" align=center />

点击弹出来的添加按钮即可进行配网操作

Expand Down

0 comments on commit fcd507a

Please sign in to comment.