开发板:CC3220SF Lanuchxl 例程:MQTT_client_server
SDK:simplelink_cc32xx_sdk_4_20_00_07
hi!你们好,我在使用 CC3220SF 导入例程 rtos/CC3220SF_LAUNCHXL/demos/MQTT_client_server 后,设置好 AP 连接的参数(本地wifi账号密码) , 烧写进开发板后终端上总显示代理连接失败,连本地的客户端好像也连接失败了,我该如何作出调整才能连接成功呢?
终端显示:
============================================MQTT client server Example Ver: 1.1.1============================================CHIP: 0x30000019MAC: 2.0.0.0PHY: 2.2.0.7NWP: 3.16.0.1ROM: 0HOST: 3.0.1.65MAC address: 98:84:e3:f6:61:9a============================================*************************************************CC32xx MQTT client server Application************************************************* Device came up in Station mode [WLAN EVENT] STA Connected to the AP: hopetruly , BSSID: 78:11:dc:46:c5:d [NETAPP EVENT] IP acquired by the device Device has connected to hopetruly Device IP Address is 192.168.31.51 ...........Connection to broker failed, Error code: -111 BRIDGE DISCONNECTION On-board Client Disconnected In order to reconnect local client, Reset board. .
如果有人能帮助我,我将感激不尽!
Viki Shi:
1.除了修改账号密码,其他是否有更改?
2.开发板是官方板还是自制板?
user6359397:
回复 Viki Shi:
1.除了修改以下部分,其余代码并为修改
/* AP SSID*/ #define SSID_NAME"hopetruly" /* Security type (OPEN or WEP or WPA)*/ #define SECURITY_TYPESL_WLAN_SEC_TYPE_WPA_WPA2 /* Password of the secured AP*/ #define SECURITY_KEY"12345678"2.新买的官方开发板
Viki Shi:
回复 user6359397:
请参考一下这个academy:dev.ti.com/…/node