aruna
December 10, 2020, 7:08pm
1
Hi All,
I am new to legato, Facing issue with MQTT SSL Connection, As soon as trying to connect MQTT over ssl app is getting crash (Reporting segment fault). Please suggest a solution for this issue
Module Name : WP7608
Required to connect MQTT Over TLSV1.2
aruna
December 11, 2020, 5:12am
3
I tried but couldnt solve the issue
Dec 11 10:37:58 swi-mdm9x28-wp user.err Legato: =ERR= | mqttClientService[14785] | ILLEGAL ADDRESS 0x9c
Facing this issue, and getting into segmentation fault
jyijyi
December 11, 2020, 5:23am
4
Are you using this one?
did you debug it?
Which line causes this?
aruna
December 11, 2020, 5:29am
5
sorry i didnt use that one, Only certificate path i modified, I will try this now
aruna
December 11, 2020, 6:24am
6
Sorry for this basic question, I couldnt build the app,
Error :
“message”: “Binding to non-existent server app ‘mqttClientApi’.”,
.cdef file
api:
{
modemServices/le_mrc.api
modemServices/le_mdc.api
modemServices/le_sim.api
modemServices/le_info.api
le_data.api
// ${LEGATO_ROOT}/apps/platformServices/mqttClient/mqtt.api
mqttClientApi/mqttClient.api
}
.adef file
bindings:
{
TEXTMqttTLSEXE.TEXTMqttTLS_Component.le_mdc -> modemService.le_mdc
TEXTMqttTLSEXE.TEXTMqttTLS_Component.le_mrc -> modemService.le_mrc
TEXTMqttTLSEXE.TEXTMqttTLS_Component.le_sim -> modemService.le_sim
TEXTMqttTLSEXE.TEXTMqttTLS_Component.le_info -> modemService.le_info
TEXTMqttTLSEXE.TEXTMqttTLS_Component.le_data -> dataConnectionService.le_data
TEXTMqttTLSEXE.TEXTMqttTLS_Component.mqttClient -> mqttClientApi.mqttClient
}
any issue with binding files?
jyijyi
December 11, 2020, 6:31am
7
you need to also compile and download this one
am also facing same issue can i have any sample to publish/subscribe mqtt