Jump to content
43oh

jeffchen622

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. attachment is our mqtt port from org.eclipse.paho.mqtt.embedded-c/MQTTClient-C . it seems support MQTT SSL function. does anyone can write some example to use it? install guide extra compress file MQTTClient.rar to energia install directory ($install_dir)/hardware\cc3200\libraries\WiFi\ we include "MQTTClient.h" and compile it no problem. see if anyone want to test it and write some example. MQTTClient.rar
  2. we have same problem when use mqtt library( PubSubClient). we review the code and it used client.h to connect our server. when we init our code.it start great no problem . but after few minutes or an hour random. _client can't connect to our server anymore even we restart wifi use our check code below .we have press reset button on the board then it will start connect correct again. we are not sure what the problem. because we don't have any debug tool to know. it seems hardware\cc3200\cores\cc3200\Client.h have someting wrong or SRAM overflow problem. check connect if lost and restart c
  3. when we use startSmartConfig function from wifi library.it will crash after init function. review the WiFi.cpp code . we found some bug at the code. fix the code below. - if(sl_WlanPolicySet(SL_POLICY_CONNECTION, - SL_CONNECTION_POLICY(1,0,0,0,1), - &policyVal, - 1 /*PolicyValLen*/) < 0) return -1; + if(sl_WlanPolicySet(SL_POLICY_CONNECTION,SL_CONNECTION_POLICY(1,0,0,0,1),&policyVal,1 ) < 0) { /*PolicyValLen*/ + return -1; - if(sl_WlanPolicySet(SL_POLICY_CONNECTION, - SL_CONNECTION_POLICY(1,0,0,0,0), - &policyVal, -
×
×
  • Create New...