公版App连接真实设备后,通过App和控制台(云端)调试真实设备,并在控制台上管理您的设备,验证设备端、云端、App端,三端上下行数据通信。
操作步骤
- 打开云智能App,选择设备当前所在的国家/地区。
- 设备按reset键,当SecureCRT工具出现以下日志,设备进入待配网状态。
INFO: network_start no valied ap confing
INFO: power_cycle_awss power cycle count: 1
INFO: check_and_start_awss awss type: one key
[000020]<A> do_awss_active 0
[000020]<F> enable awss
[000022]<A> awss_close_dev_ap exit
[002022]<A> IOTX_AWSS_START
[002022]<I> zconfig_init
Soft_AP_start
[002034]<F> chan 1
- 登录云智能App。
- 单击右上角的加号来添加设备,并对设备配网。
[022862]<I> MQTT init success!
[022864]<I> Loading the CA root certificate ...
[022868]<I> ok (0 skipped)
[022868]<I> Connecting to /a1U*****Dgg.iot-as-mqtt.cn-shanghai.aliyuncs.com/1883...
rate:4, pwr_gain:7
add extral movement in test
[022926]<I> ok
[022926]<I> . Setting up the SSL/TLS structure...
[022928]<I> ok
[022928]<I> Performing the SSL/TLS handshake...
[023012]<I> AP connected
[023012]<D> awss connect ssid:abc00 success //成功连接名称为abc00的WiFi
[023012]<A> IOTX_AWSS_GOT_IP
[023012]<D> --------------------------------AWSS STATIS-----------------------------------
[023012]<D> name max min mean cnt suc crc-err passwd-err
[023012]<D> ConnRouter 5418 5418 5418 1 1 0 0
[023014]<D> Smartconfig 2002 2002 2002 1 1 0 0
[023014]<D> Smartconfig-wps 0 0 0 0 0 0 0
[023016]<D> Aha 0 0 0 0 0 0 0
[023016]<D> Zconfig 0 0 0 0 0 0 0
[023016]<D> Dev-ap 0 0 0 0 0 0 0
[023016]<D> ------------------------------------------------------------------------------
[023018]<I> The CoAP Server already init
[023018]<D> CoAPResource_register, context:0x41ee30, new node
[023018]<D> Register new resource /sys/awss/device/connectap/info/get success, count: 5
[023020]<D> CoAPResource_register, context:0x41ee30, new node
[023020]<D> Register new resource /sys/a1U*****Dgg/kEa********6g70/awss/device/connectap/info/get success, count: 6
设备连网成功后,在产品的设备调试页面,测试设备的状态显示为在线。

- 调试真实设备。
不仅可以通过App控制真实设备(您可以直接通过手机体验App端控制设备,此处不作介绍),还可以通过控制台调试真实设备,具体操作步骤如下。
- 在产品的设备调试页面,单击操作中的调试。
- 选择调试真实设备页签。
- 选择调试功能和方法,并单击发送指令。右侧显示设备的实时日志。
- 管理您的设备。
您还可以在控制台项目主页面的运营中心里,管理您的真实设备和设备用户。详细介绍请参见运营中心概述。
