How to Find Out "mqttBrokerPassword" in Airvantage?


#1

Hi,

I am trying to install “sensorTOAirVantage” app in my mangOH board, but ran into error to start the app. I wonder if there is instructions to find out “mqttBrokerPassword”.

root@swi-mdm9x15:~# config get sensorToAirVantage:/
/
mqttBrokerHost == eu.airvantage.net
mqttBrokerPort == 1883
mqttBrokerPassword == ???

Thanks
YK


#2

Hi YK,

  1. login to airvantage
  2. Select Monitor > Systems from the drop-down menu
  3. Click on your system name
  4. In the top right, click More > Edit
  5. Under “Application” you should see the name of the application model for the application you are trying to run.
  6. Next to the application, there is a lock icon. If you click that icon, you will be prompted with a dialog that will allow you to either view or set the password.

If you don’t have the application model registered with that device record in AirVantage, then you will need to follow these steps:

  1. On the edit screen of the device, click the search (magnifying glass) icon next to the “Applications” section
  2. Search within the dialog to find the application model that you want.

If the application model you want is not found in that dialog, then it may need to be loaded into AirVantage. Follow these steps:

  1. Click Develop > My Apps
  2. Click the Release icon (an upward facing arrow)
  3. Click the “Select a file” button and browse to the appropriate zip file. AirVantage expects a zip file that contains a .app file. Here are some examples of .app files.
  4. From the “Advanced Settings” section of the dialog, choose “Publish”

If you want more detailed information on the application model, here is the reference

Let me know if anything was unclear.


MangoH and Arduino
#3

Thanks for your detailed information. Really appreciated.

I could not see “unlock” next to my application. :frowning:
Not sure if I doesn’t build my .app correctly. I built my app using “av-pack” command:
av-pack -u helloWorld.wp85.update -b _build_helloWorld/wp85 -t abcCo.jsmith.helloWorld from:
http://legato.io/legato-docs/latest/howToAVConnect.html

I will go through your instructions carefully to building the .app and see if it makes any difference.


#4

Try just putting the .app file in a .zip file and uploading that instead of using av-pack.


#5

Thanks David!

I have successfully built the .app and uploaded into the AirVantage and I can see the icon and set the password.

But when I start the app, connection seems published but failed on “getaddrinfo” and then connection get lost. Could you please advise if anything that I missed?

Here is the mqtt log

root@yk-mangoh:~# logread -f | grep “mqtt” &
root@yk-mangoh:~# app start sensorToAirVantage
root@yk-mangoh:~# May 19 23:15:14 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (12).
May 19 23:15:14 yk-mangoh user.warn Legato: -WRN- | UNKNOWN[1887]/framework T=main | LE_FILENAME le_fdMonitor_Create() 672 | FD Monitor object name ‘sensorToAirVantage.sensorToAirVantage.mqtt’ truncated to ‘sensorToAirVantage.sensorToAirV’.
May 19 23:15:14 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 96 | MQTT Broker URL(‘eu.airvantage.net’ -> ‘eu.airvantage.net’)
May 19 23:15:14 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 102 | MQTT Broker Port(1883 -> 1883)
May 19 23:15:14 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 108 | Keep Alive(60 -> 60 seconds)
May 19 23:15:14 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 114 | QoS(0 -> 0)
May 19 23:15:14 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c Handle_mqtt_Config() 412 | Sending response to client session 0x27c1c : 0 bytes sent
May 19 23:15:14 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_AddSessionStateHandler() 165 | add session state handler(0xb6f51ef8)
May 19 23:15:14 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c Handle_mqtt_AddSessionStateHandler() 681 | Sending response to client session 0x27c1c : 4 bytes sent
May 19 23:15:14 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Connect() 121 | connect password(‘mymangoh’)
May 19 23:15:14 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connectUser() 1673 | pw(‘mymangoh’)
May 19 23:15:14 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connectUser() 1681 | initiated data connection
May 19 23:15:14 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | le_data_client.c le_data_Request() 745 | Sending message to server and waiting for response : 0 bytes sent
May 19 23:15:14 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connectData() 1372 | requesting data connection(0x10000003)
May 19 23:15:14 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c Handle_mqtt_Connect() 451 | Sending response to client session 0x27c1c : 0 bytes sent
May 19 23:15:24 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 942 | interface(‘rmnet0’) connected(1)
May 19 23:15:24 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 947 | starting session
May 19 23:15:24 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.Default Timer Pool’ overflowed. Expanded to 4 blocks.
May 19 23:15:24 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.Default Timer Pool’ overflowed. Expanded to 5 blocks.
May 19 23:15:24 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.Default Timer Pool’ overflowed. Expanded to 6 blocks.
May 19 23:15:24 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_startSession() 1342 | connect(eu.airvantage.net:1883)
May 19 23:15:25 yk-mangoh user.err Legato: =ERR= | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connect() 997 | getaddrinfo() failed(-3)
> May 19 23:15:25 yk-mangoh user.err Legato: =ERR= | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_startSession() 1346 | mqttClient_connect() failed(-3)
May 19 23:15:25 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_startSession() 1353 | start session failed
May 19 23:15:25 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_SendConnStateEvent() 192 | MQTT connected(0), error(-3), sub-error(-1)
May 19 23:15:25 yk-mangoh user.err Legato: =ERR= | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 951 | mqttClient_startSession() failed(-3)
May 19 23:15:25 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_disconnectData() 1464 | releasing the data connection.
May 19 23:15:25 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | le_data_client.c le_data_Release() 803 | Sending message to server and waiting for response : 4 bytes sent
May 19 23:15:25 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_SendConnStateEvent() 192 | MQTT connected(0), error(0), sub-error(0)
May 19 23:15:25 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c AsyncResponse_mqtt_AddSessionStateHandler() 618 | Sending message to client session 0x27c1c : 13 bytes sent
May 19 23:15:25 yk-mangoh user.info Legato: INFO | sensorToAirVantage[1887]/sensorToAirVantage T=main | sensorToAirVantage.cpp mqttSessionStateHandler() 299 | Session State: connected=0, connectErrorCode=-3, subscriptionErrorCode=-1
May 19 23:15:25 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c AsyncResponse_mqtt_AddSessionStateHandler() 618 | Sending message to client session 0x27c1c : 13 bytes sent
May 19 23:15:25 yk-mangoh user.info Legato: INFO | sensorToAirVantage[1887]/sensorToAirVantage T=main | sensorToAirVantage.cpp mqttSessionStateHandler() 299 | Session State: connected=0, connectErrorCode=0, subscriptionErrorCode=0
May 19 23:15:26 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 942 | interface(’’) connected(0)
May 19 23:15:26 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 962 | disconnected(’’)
May 19 23:15:26 yk-mangoh user.err Legato: =ERR= | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_disconnectData() 1447 | no data connection reference.


#6

Rather than running the demo application, try to run cm data connect from the command line. That should establish a data connection. Once the connection is established, try to ping a few well known hosts like google.com (and mangoh.io :smile:). I just want to verify that hostname resolution is working properly and that the problem is specific to the mqtt use case.


#7

data is connected. I also tried to stop and start…

Also, I can start and stop helloWorld app from AirVantage.

root@yk-mangoh:~#
root@yk-mangoh:~# ping google.ca
PING google.ca (216.58.193.67): 56 data bytes
64 bytes from 216.58.193.67: seq=0 ttl=50 time=606.684 ms
64 bytes from 216.58.193.67: seq=1 ttl=50 time=446.207 ms
^C
google.ca ping statistics —
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 446.207/526.445/606.684 ms
root@yk-mangoh:~#

root@yk-mangoh:~#
root@yk-mangoh:~#
root@yk-mangoh:~# cm data
Index: 1
APN: ltemobile.apn
PDP Type: IPV4V6
Connected: yes

root@yk-mangoh:~#
root@yk-mangoh:~#
root@yk-mangoh:~#

root@yk-mangoh:~# app restart sensorToAirVantage
root@yk-mangoh:~# Connected through interface 'rmnet0’
May 20 00:11:27 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c CleanupClientData() 195 | Client 0x27c1c is closed !!!
May 20 00:11:27 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c CleanupClientData() 221 | Found session ref 0x27c1c; match found, so needs cleanup
May 20 00:11:27 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_RemoveSessionStateHandler() 177 | remove session state handler(0x1000000f)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (12).
May 20 00:11:28 yk-mangoh user.warn Legato: -WRN- | UNKNOWN[8149]/framework T=main | LE_FILENAME le_fdMonitor_Create() 672 | FD Monitor object name ‘sensorToAirVantage.sensorToAirVantage.mqtt’ truncated to ‘sensorToAirVantage.sensorToAirV’.
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 96 | MQTT Broker URL(‘eu.airvantage.net’ -> ‘eu.airvantage.net’)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 102 | MQTT Broker Port(1883 -> 1883)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 108 | Keep Alive(60 -> 60 seconds)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 114 | QoS(0 -> 0)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c Handle_mqtt_Config() 412 | Sending response to client session 0x27c1c : 0 bytes sent
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_AddSessionStateHandler() 165 | add session state handler(0xb6f51ef8)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c Handle_mqtt_AddSessionStateHandler() 681 | Sending response to client session 0x27c1c : 4 bytes sent
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Connect() 121 | connect password(‘mangoh’)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connectUser() 1673 | pw(‘mangoh’)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connectUser() 1681 | initiated data connection
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | le_data_client.c le_data_Request() 745 | Sending message to server and waiting for response : 0 bytes sent
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connectData() 1372 | requesting data connection(0x10000015)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c Handle_mqtt_Connect() 451 | Sending response to client session 0x27c1c : 0 bytes sent
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 942 | interface(‘rmnet0’) connected(1)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 947 | starting session
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.Default Timer Pool’ overflowed. Expanded to 31 blocks.
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.Default Timer Pool’ overflowed. Expanded to 32 blocks.
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.Default Timer Pool’ overflowed. Expanded to 33 blocks.
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.hashMap_refDefault Ti’ overflowed. Expanded to 36 blocks.
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_startSession() 1342 | connect(eu.airvantage.net:1883)
May 20 00:11:28 yk-mangoh user.err Legato: =ERR= | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connect() 997 | getaddrinfo() failed(-3)
May 20 00:11:28 yk-mangoh user.err Legato: =ERR= | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_startSession() 1346 | mqttClient_connect() failed(-3)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_startSession() 1353 | start session failed
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_SendConnStateEvent() 192 | MQTT connected(0), error(-3), sub-error(-1)
May 20 00:11:28 yk-mangoh user.err Legato: =ERR= | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 951 | mqttClient_startSession() failed(-3)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_disconnectData() 1464 | releasing the data connection.
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | le_data_client.c le_data_Release() 803 | Sending message to server and waiting for response : 4 bytes sent
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_SendConnStateEvent() 192 | MQTT connected(0), error(0), sub-error(0)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c AsyncResponse_mqtt_AddSessionStateHandler() 618 | Sending message to client session 0x27c1c : 13 bytes sent
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c AsyncResponse_mqtt_AddSessionStateHandler() 618 | Sending message to client session 0x27c1c : 13 bytes sent
May 20 00:11:28 yk-mangoh user.info Legato: INFO | sensorToAirVantage[8149]/sensorToAirVantage T=main | sensorToAirVantage.cpp mqttSessionStateHandler() 299 | Session State: connected=0, connectErrorCode=-3, subscriptionErrorCode=-1
May 20 00:11:28 yk-mangoh user.info Legato: INFO | sensorToAirVantage[8149]/sensorToAirVantage T=main | sensorToAirVantage.cpp mqttSessionStateHandler() 299 | Session State: connected=0, connectErrorCode=0, subscriptionErrorCode=0
May 20 00:11:27 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c CleanupClientData() 195 | Client 0x27c1c is closed !!!
May 20 00:11:27 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c CleanupClientData() 221 | Found session ref 0x27c1c; match found, so needs cleanup
May 20 00:11:27 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_RemoveSessionStateHandler() 177 | remove session state handler(0x1000000f)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (12).
May 20 00:11:28 yk-mangoh user.warn Legato: -WRN- | UNKNOWN[8149]/framework T=main | LE_FILENAME le_fdMonitor_Create() 672 | FD Monitor object name ‘sensorToAirVantage.sensorToAirVantage.mqtt’ truncated to ‘sensorToAirVantage.sensorToAirV’.
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 96 | MQTT Broker URL(‘eu.airvantage.net’ -> ‘eu.airvantage.net’)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 102 | MQTT Broker Port(1883 -> 1883)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 108 | Keep Alive(60 -> 60 seconds)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Config() 114 | QoS(0 -> 0)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c Handle_mqtt_Config() 412 | Sending response to client session 0x27c1c : 0 bytes sent
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_AddSessionStateHandler() 165 | add session state handler(0xb6f51ef8)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c Handle_mqtt_AddSessionStateHandler() 681 | Sending response to client session 0x27c1c : 4 bytes sent
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttMain.c mqtt_Connect() 121 | connect password(‘mangoh’)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connectUser() 1673 | pw(‘mangoh’)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connectUser() 1681 | initiated data connection
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | le_data_client.c le_data_Request() 745 | Sending message to server and waiting for response : 0 bytes sent
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connectData() 1372 | requesting data connection(0x10000015)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c Handle_mqtt_Connect() 451 | Sending response to client session 0x27c1c : 0 bytes sent
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 942 | interface(‘rmnet0’) connected(1)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 947 | starting session
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.Default Timer Pool’ overflowed. Expanded to 31 blocks.
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.Default Timer Pool’ overflowed. Expanded to 32 blocks.
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.Default Timer Pool’ overflowed. Expanded to 33 blocks.
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.hashMap_refDefault Ti’ overflowed. Expanded to 36 blocks.
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_startSession() 1342 | connect(eu.airvantage.net:1883)
May 20 00:11:28 yk-mangoh user.err Legato: =ERR= | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_connect() 997 | getaddrinfo() failed(-3)
May 20 00:11:28 yk-mangoh user.err Legato: =ERR= | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_startSession() 1346 | mqttClient_connect() failed(-3)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_startSession() 1353 | start session failed
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_SendConnStateEvent() 192 | MQTT connected(0), error(-3), sub-error(-1)
May 20 00:11:28 yk-mangoh user.err Legato: =ERR= | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_dataConnectionStateHandler() 951 | mqttClient_startSession() failed(-3)
May 20 00:11:28 yk-mangoh user.info Legato: INFO | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_disconnectData() 1464 | releasing the data connection.
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | le_data_client.c le_data_Release() 803 | Sending message to server and waiting for response : 4 bytes sent
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/mqttClientComp T=main | mqttClient.c mqttClient_SendConnStateEvent() 192 | MQTT connected(0), error(0), sub-error(0)
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c AsyncResponse_mqtt_AddSessionStateHandler() 618 | Sending message to client session 0x27c1c : 13 bytes sent
May 20 00:11:28 yk-mangoh user.debug Legato: DBUG | mqttClient[569]/framework T=main | mqtt_server.c AsyncResponse_mqtt_AddSessionStateHandler() 618 | Sending message to client session 0x27c1c : 13 bytes sent
May 20 00:11:28 yk-mangoh user.info Legato: INFO | sensorToAirVantage[8149]/sensorToAirVantage T=main | sensorToAirVantage.cpp mqttSessionStateHandler() 299 | Session State: connected=0, connectErrorCode=-3, subscriptionErrorCode=-1
May 20 00:11:28 yk-mangoh user.info Legato: INFO | sensorToAirVantage[8149]/sensorToAirVantage T=main | sensorToAirVantage.cpp mqttSessionStateHandler() 299 | Session State: connected=0, connectErrorCode=0, subscriptionErrorCode=0


#8

my mangoh board version and it has bluetooth driver

root@yk-mangoh:~# cm info
Device: WP8548
Firmware: SWI9X15Y_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06
Bootloader: SWI9X15Y_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06
priIdPn: 9905383
priIdRev: 01.03
root@yk-mangoh:~#
root@yk-mangoh:~#
root@yk-mangoh:~# legato version
16.10.2_f458c9fff3bcf7150b3c42a6793cd089_modified
root@yk-mangoh:~#