开发者社区> 问答> 正文

Alios Things udataapp@developerkit无法连上云服务器

3.0和master版本都试过了都不行,WiFi和热点也都试过,也都不行 ` Welcome to AliOS Things [ 0.150]AOS uData: udata_service_mgr_init successfully

[ 0.160]AOS uData: abs_data_open successfully

[ 0.170]AOS uData: register service type 0 success

[ 0.180]AOS sensor: drv_mag_memsic_mmc3680kj_open successfully

[ 0.180]AOS uData: abs_data_open successfully

[ 0.190]AOS uData: register service type 1 success

[ 0.200]AOS uData: abs_data_open successfully

[ 0.210]AOS uData: register service type 2 success

[ 0.220]AOS sensor: drv_als_liteon_ltr553_open successfully

[ 0.230]AOS uData: abs_data_open successfully

[ 0.230]AOS uData: register service type 3 success

[ 0.240]AOS sensor: drv_ps_liteon_ltr553_open successfully

[ 0.250]AOS uData: abs_data_open successfully

[ 0.260]AOS uData: register service type 4 success

[ 0.270]AOS sensor: drv_baro_bosch_bmp280_open successfully

[ 0.280]AOS sensor: drv_baro_bosch_bmp280_ioctl successfully

[ 0.280]AOS uData: abs_data_open successfully

[ 0.290]AOS uData: register service type 5 success

[ 0.300]AOS sensor: drv_temp_sensirion_shtc1_open successfully

[ 0.310]AOS uData: abs_data_open successfully

[ 0.320]AOS uData: register service type 6 success

[ 0.320]AOS sensor: drv_humi_sensirion_shtc1_open successfully

[ 0.330]AOS uData: abs_data_open successfully

[ 0.340]AOS uData: register service type 8 success

[ 0.350]AOS uData: cali_example_example_init successfully

[ 0.360]AOS uData: abs_data_cali_init successfully

[ 0.360]AOS uData: udata_init successfully

[ 0.370]sal_wifi Uart dev is not configured, use the default cfg

uart 1 enter uart_receive_start_dma instance 0x40004800== Build on: Mar 24 2020 11:10:30 === [ 2.400]AOS uData: udata_subscribe successfully

[ 2.410]AOS uData: udata_subscribe successfully

[ 2.410]wifi_port Will connect via at cmd: AT+WJAP=P30,987654321

[ 7.420]wifi_port AT command AT+WJAP=P30,987654321 failed

[ 7.620]wifi_port AT command AT+WMAC? succeed, rsp: +WMAC:e47deb141618

OK

[ 7.630]wifi_port mac result:

[ 7.630]NETMGR_WIFI Got ip : 192.168.43.155, gw : 192.168.43.1, mask : 255.255.255.0

[ 7.660]wifi_port AT command AT+WMAC? succeed, rsp: +WMAC:e47deb141618

OK

[ 7.670]wifi_port mac result:

[ 7.680]AOS Hello, WiFi GOT_IP event! at board/developerkit/aos/board_cli.c 216

[ 7.690]AOS Hello, WiFi GOT_IP event! at board/developerkit/aos/board_cli.c 216

[ 7.700]AOS wifi_service_event!

[ 7.710]MQTT Using default hostname: 'a1c01AmHDLo.iot-as-mqtt.cn-shanghai.aliyuncs.com'

[ 7.720]MQTT Using default port: [443]

[ 7.730]MQTT Using default client_id: a1c01AmHDLo.DevelopKit2Temp|timestamp=2524608000000,_v=sdk-c-3.0.1,securemode=2,signmethod=hmacsha256,lan=C,_ss=1,gw=0,ext=0|

[ 7.750]MQTT Using default username: DevelopKit2Temp&a1c01AmHDLo

[ 7.750]MQTT Using default password: ******

[ 7.760]MQTT Using default request_timeout_ms: 5000, configured value(0) out of [1000, 10000]

[ 7.770]MQTT Using default keepalive_interval_ms: 60000, configured value(0) out of [30000, 1200000]

[ 7.790]MQTT Using default read_buf_size: 3072

[ 7.790]MQTT Using default write_buf_size: 3072

[ 7.800]MQTT MQTT init success!

[ 7.990]HAL_TLS Loading the CA root certificate ...

[ 8.000]HAL_TLS ok (0 skipped)

[ 8.000]HAL_TLS Connecting to /a1c01AmHDLo.iot-as-mqtt.cn-shanghai.aliyuncs.com/443...

[prt] dns server: 223.5.5.5 [ 8.030]sal_wifi Server conn (0) successful.

[ 13.020]atparser sem_wait failed

[ 13.090]sal_wifi Server closed event.

[ 13.090]sal_wifi Server conn (0) closed.

[ 13.100]HAL_TLS ip address: 106.15.100.2

[ 13.110]HAL_TLS setsockopt SO_SNDTIMEO timeout: 10s

[ 13.180]sal_wifi Server conn (0) successful.

[ 18.120]atparser sem_wait failed

[ 18.120]HAL_TLS ok

[ 18.120]HAL_TLS . Setting up the SSL/TLS structure...

[ 18.130]HAL_TLS ok

[ 18.140]HAL_TLS Performing the SSL/TLS handshake...

[ 23.340]sal_wifi Server conn (0) disconnected.

[ 23.820]atparser sem_wait failed

[ 33.830]HAL_TLS failed ! mbedtls_ssl_handshake returned -0x6800

[ 33.840]sal_wifi HAL_SAL_Close 777 failed

[ 33.840]HAL_TLS ssl_disconnect

[ 33.850]HAL_TLS handle is NULL

[ 33.850]MQTT TCP or TLS Connection failed`

展开
收起
EienSakura 2020-03-25 09:03:08 882 0
1 条回答
写回答
取消 提交回答
  • 通过以下命令可以开启磁力计传感器上云功能 :

    其他类型的传感器命令如下: 加速度:acc=1 磁力计:mag=1 陀螺仪:gyro=1

    环境光:als=1 接近光:ps=1

    温度计:temp=1 湿度计:humi=1 气压计:baro=1

    2020-04-15 23:09:29
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
如何运维千台以上游戏云服务器 立即下载
网站/服务器取证 实践与挑战 立即下载
ECS块储存产品全面解析 立即下载