AirVantage over WiFi

I thought that was done by the le_wifiClient api when you create the SSID, set the security protocol and the passphrase, isn`t that right?
wifi is working properly, is just the avc (data) connection which is not running with the wifi interface.

Have you tried that?

I was about to try it but I have also noticed a problem with the wifi connection itself.
Running the script for initializing the drivers “init-Mirage-WiFi-BT-IoT.sh” , it seems that the driver doesn`t get initialized properly if I run the script as soon as my app starts (my app will handle the connection to a specific AP).
So to say, this works when I first download the cwe, but on reboot I will get a message from the wifiClient app:
nl80211: Driver does not support authentication/association or connect commands

But if I add a sleep time at the beginning of my app (I have tried with 10s and 5s) then the connection to the AP works all the times.

I would rather prefer understanding for what I need to wait instead of having a static waiting time assigned.

Anyhow, the airVantage connection is still not working after I have initialized the le_data, le_net and le_dcs and also the tree as per post above, I still can`t see a channel in the dcs API for wifi:
Aug 4 13:25:01 fx30s user.info Legato: INFO | wifiControl[1447]/wifiControlComponent T=main | wifiControl.c ClientChannelQueryHandler() 155 | DCS-client: result received for channel query 0, channel list size 36
Aug 4 13:25:01 fx30s user.info Legato: INFO | wifiControl[1447]/wifiControlComponent T=main | wifiControl.c ClientChannelQueryHandler() 168 | DCS-client: available channel #1 from technology 2 with name 1, state 0, ref 0x175
Aug 4 13:25:01 fx30s user.info Legato: INFO | wifiControl[1447]/wifiControlComponent T=main | wifiControl.c ClientChannelQueryHandler() 168 | DCS-client: available channel #2 from technology 3 with name ecm0, state 0, ref 0x375
Aug 4 13:25:01 fx30s user.info Legato: INFO | wifiControl[1447]/wifiControlComponent T=main | wifiControl.c ClientChannelQueryHandler() 168 | DCS-client: available channel #3 from technology 0 with name , state 0, ref (nil)
Aug 4 13:25:01 fx30s user.info Legato: INFO | wifiControl[1447]/wifiControlComponent T=main | wifiControl.c ClientChannelQueryHandler() 168 | DCS-client: available channel #4 from technology 0 with name , state 0, ref (nil)
Aug 4 13:25:01 fx30s user.info Legato: INFO | wifiControl[1447]/wifiControlComponent T=main | wifiControl.c ClientChannelQueryHandler() 168 | DCS-client: available channel #5 from technology 0 with name , state 0, ref (nil)
Aug 4 13:25:01 fx30s user.info Legato: INFO | wifiControl[1447]/wifiControlComponent T=main | wifiControl.c ClientChannelQueryHandler() 168 | DCS-client: available channel #6 from technology 0 with name , state 0, ref (nil)
Aug 4 13:25:01 fx30s user.info Legato: INFO | wifiControl[1447]/wifiControlComponent T=main | wifiControl.c ClientChannelQueryHandler() 168 | DCS-client: available channel #7 from technology 0 with name , state 0, ref (nil)
Aug 4 13:25:01 fx30s user.info Legato: INFO | wifiControl[1447]/wifiControlComponent T=main | wifiControl.c ClientChannelQueryHandler() 168 | DCS-client: available channel #8 from technology 0 with name , state 0, ref (nil)
Aug 4 13:25:01 fx30s user.info Legato: INFO | wifiControl[1447]/wifiControlComponent T=main | wifiControl.c ClientChannelQueryHandler() 168 | DCS-client: available channel #9 from technology 0 with name , state 0, ref (nil)

this is my log after AT+WDSS=1,1, I can see it is choosing WIFI:

Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | atQmiLinker[1067]/atQmiLinker T=unknown | atForward.c QmiAtCmdCb() 161 | Received:`at+wdss=1,1^M '
Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | atQmiLinker[1067]/atQmiLinker T=Writer | atLinker.c Writer() 334 | cmd: `at+wdss=1,1^M '
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[1096]/avcDaemon T=main | avcClient.c avcClient_Connect() 1080 | Retry timer already running
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[1096]/avcDaemon T=main | avcClient.c StopBearer() 737 | Stop bearer 0xad
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[1096]/avcDaemon T=main | avcClient.c StartBearer() 954 | Start Bearer
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[1096]/avcDaemon T=main | avcClient.c avcClient_Connect() 1154 | Starting retry timer of 15 min at index 0
Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | atQmiLinker[1067]/atQmiLinker T=Reader | atForward.c SendIntermediateResponse() 416 |  ####
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1114]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 239 | Selected channel name SWI-MOBILE
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1114]/dcs T=main | dcs.c le_dcs_RemoveEventHandler() 695 | Channel event handler for channel SWI-MOBILE of technology wifi removed
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1114]/dcs T=main | dcs.c le_dcs_AddEventHandler() 635 | Adding channel handler for channel SWI-MOBILE of technology wifi
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1114]/dcs T=main | dcs.c le_dcs_AddEventHandler() 675 | Event handler with reference 0xdc3 and event ID 0x1f93 added
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1114]/dcs T=main | dcs.c le_dcs_Start() 421 | Starting channel SWI-MOBILE of technology wifi by app session with reference 0x7f5abe28
Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_GetCurrentConnection() 1177 | AP reference of currently selected connection: (nil)
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1114]/dcs T=main | dcs.c le_dcs_Start() 478 | Initiating technology to start channel SWI-MOBILE for app session 0x7f5abe28, request reference 0x2ad
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1114]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1105 | Successfully initiated data channel SWI-MOBILE of technology 0
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1114]/dcs T=main | dcsTech.c le_dcsTech_Start() 338 | Request to start channel SWI-MOBILE of technology wifi
Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_LoadSsid() 2003 | No wifi security protocol set at wifiService:/wifi/channel/SWI-MOBILE/secProtocol
Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c WifiClient_LoadSecurityConfigs() 1882 | Successfully retrieved security parameters for protocol 0 over SSID SWI-MOBILE
Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c IsScanRunning() 584 | IsScanRunning .0
Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c FindAccessPointRefFromSsid() 265 | Find AP from SSID
Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_Create() 1479 | AP[0x7f5a5b18 0x85] signal strength 32767 | SSID length 10 | SSID: "SWI-MOBILE"
Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_SetSecurityProtocol() 1406 | Set security protocol
Jan  6 00:30:35 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | pa_wifi_client.c pa_wifiClient_SetSecurityProtocol() 835 | Security protocol: 0
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203]/daemon T=main | le_wifiClient.c WifiClient_LoadSecurityConfigs() 1943 | Succeeded to set into wifiClient security parameters of protocol 0 for SSID SWI-MOBILE
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_LoadSsid() 2034 | Succeeded to create AP reference 0x85 for SSID SWI-MOBILE
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1114]/dcsWifi T=main | dcsWifi.c DcsWifiClientStart() 250 | Starting Wifi client
Jan  6 00:30:35 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | WIFI_START
Jan  6 00:30:36 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | mangOH green board
Jan  6 00:30:36 swi-mdm9x28-wp user.debug kernel: [  830.411453] gpio_map_name_to_num: find GPIO 78
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456296] cfg80211: Calling CRDA to update world regulatory domain
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456464] cfg80211: World regulatory domain updated:
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456479] cfg80211:  DFS Master region: unset
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456491] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456506] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456519] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456533] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456547] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456560] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456574] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456588] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Jan  6 00:30:36 swi-mdm9x28-wp user.info kernel: [  830.456601] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Jan  6 00:30:37 swi-mdm9x28-wp user.warn kernel: [  831.439405] sdhci_msm 7864900.sdhci: card claims to support voltages below defined range
Jan  6 00:30:37 swi-mdm9x28-wp user.warn kernel: [  831.495460] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
Jan  6 00:30:37 swi-mdm9x28-wp user.info kernel: [  831.498002] mmc0: new high speed SDIO card at address 0001
Jan  6 00:30:38 swi-mdm9x28-wp user.info kernel: [  831.764560] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
Jan  6 00:30:38 swi-mdm9x28-wp user.info kernel: [  831.779049] wlcore: loaded
Jan  6 00:30:39 swi-mdm9x28-wp user.info kernel: [  833.130680] wlcore: PHY firmware version: Rev 8.2.0.0.212
Jan  6 00:30:39 swi-mdm9x28-wp user.info kernel: [  833.174822] wlcore: firmware booted (Rev 8.9.0.0.17)
Jan  6 00:30:39 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | pa_wifi_client.c pa_wifiClient_Start() 507 | WiFi client started correctly
Jan  6 00:30:39 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/framework T=main | thread.c SetSchedPolicyAttr() 658 | Set scheduling policy to SCHED_OTHER for thread 'WifiClientPaThread'.
Jan  6 00:30:39 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_Start() 815 | WIFI client started successfully
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1114]/dcsWifi T=main | dcsWifi.c le_dcsWifi_Start() 1521 | Connecting Wifi client to over SSID SWI-MOBILE to AP with reference 0x85
Jan  6 00:30:39 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_Connect() 1562 | SSID length 10 | SSID: "SWI-MOBILE"
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203]/daemon T=main | pa_wifi_client.c pa_wifiClient_Connect() 1053 | Connecting over SSID length 10 SSID: "SWI-MOBILE"
Jan  6 00:30:39 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=main | pa_wifi_client.c GenerateWpaSupplicant() 902 | Generate Wpa Supplicant
Jan  6 00:30:39 swi-mdm9x28-wp user.info kernel: [  833.201103] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan  6 00:30:39 swi-mdm9x28-wp user.warn Legato: -WRN- | wifiService[1203]/framework T=WifiClientPaThread | thread.c PThreadStartRoutine() 416 | Failed to set thread name for WifiClientPaThread (34).
Jan  6 00:30:39 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/framework T=WifiClientPaThread | thread.c PThreadStartRoutine() 478 | Set nice level to 0.
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203]/daemon T=WifiClientPaThread | pa_wifi_client.c WifiClientPaThreadMain() 282 | Wifi event report thread started!
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | WIFICLIENT_CONNECT
Jan  6 00:30:39 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1203]/daemon T=WifiClientPaThread | pa_wifi_client.c WifiClientPaThreadMain() 300 | PARSING:WIFI_SET_EVENT : len:15
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | wpa_supplicant v2.6
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | random: Trying to read entropy from /dev/random
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | Successfully initialized wpa_supplicant
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | Initializing interface 'wlan0' conf '/tmp/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | Configuration file '/tmp/wpa_supplicant.conf' -> '/tmp/wpa_supplicant.conf'
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | Reading configuration file '/tmp/wpa_supplicant.conf'
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | ctrl_interface='/var/run/wpa_supplicant'
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | ctrl_interface_group='0'
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | update_config=1
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | Priority group 0
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] |    id=0 ssid='SWI-MOBILE'
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supported cipher 00-0f-ac:1
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supported cipher 00-0f-ac:5
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supported cipher 00-0f-ac:2
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supported cipher 00-0f-ac:4
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supported cipher 00-14-72:1
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supports Probe Response offload in AP mode
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Using driver-based off-channel TX
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Use separate P2P group interface (driver advertised support)
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Enable multi-channel concurrent (driver advertised support)
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: interface wlan0 in phy phy0
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Set mode ifindex 21 iftype 2 (STATION)
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Subscribe to mgmt frames with non-AP handle 0x7f6ec760
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0104
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=040a
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=040b
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=040c
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=040d
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=090a
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=090b
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=090c
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=090d
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0409506f9a09
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=7f506f9a09
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0801
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=06
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0a07
Jan  6 00:30:39 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1203] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0a11

config set dataConnectionService:/wifi/
is the wifi meant to be the name of my app or the technology instead?

in the legato api reference the tree seems setup for the wifiService:

wifiService:/
wifi/
channel/
MY-MOBILE/
secProtocol == 3
MY-WLAN/
secProtocol == 3
hidden == true

so I am wondering which one I should setup with the AP parameters…?

I set up like this:

config set dataConnectionService:/wifi/SSID TEST-MOBILE
config set dataConnectionService:/wifi/secProtocol 3
config set dataConnectionService:/wifi/passphrase password

I have taken one step back and now I am just testing the wifi app to see if I can get this to work first of all.
gone through the setup and started the client, did connect properly but I got the following problem :

Jan 6 08:42:30 fx30s user.info Legato: INFO | wifiService[1318] | Connected to fc:ec:da:a1:5b:35 (on wlan0)
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/daemon T=main | pa_wifi_client.c pa_wifiClient_Connect() 1067 | WiFi Client connected
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/daemon T=main | pa_wifi_client.c FirstLayerWifiClientEventIndHandler() 248 | WiFi event: 0, interface: wlan0, bssid: fc:ec:da:a1:5b:35
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/daemon T=main | le_wifiClient.c PaEventIndicationHandler() 176 | WiFi event: 0, interface: wlan0, bssid: fc:ec:da:a1:5b:35
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/daemon T=main | pa_wifi_client.c FirstLayerWifiClientEventHandler() 219 | Event: 0
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/daemon T=main | le_wifiClient.c PaEventHandler() 199 | Event: 0
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/daemon T=main | le_wifiClient.c le_wifiClient_RemoveConnectionEventHandler() 786 | Remove event handler
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/framework T=main | le_wifiClient_server.c CleanupClientData() 163 | Client 0x7f56c2f8 is closed !!!
Jan 6 08:42:30 fx30s user.info Legato: INFO | supervisor[1109]/supervisor T=main | proc.c proc_SigChildHandler() 2079 | Process ‘wifi@0’ (PID: 3349) has exited with exit code 0.
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/framework T=main | le_wifiClient_server.c CleanupClientData() 185 | Found session ref 0x7f56c388; does not match
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/framework T=main | le_wifiAp_server.c CleanupClientData() 163 | Client 0x7f56c268 is closed !!!
Jan 6 08:42:30 fx30s user.info Legato: INFO | supervisor[1109]/supervisor T=main | app.c app_StopComplete() 4753 | app ‘wifi’ has stopped.
Jan 6 08:42:30 fx30s user.info Legato: INFO | supervisor[1109]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application ‘wifi’ has stopped.
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/daemon T=main | le_wifiClient.c le_wifiClient_GetCurrentConnection() 1177 | AP reference of currently selected connection: 0x181
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/daemon T=main | le_wifiClient.c le_wifiClient_GetSsid() 1134 | AP ref 0x181
Jan 6 08:42:30 fx30s user.debug Legato: DBUG | wifiService[1318]/daemon T=main | le_wifiClient.c le_wifiClient_GetSsid() 1154 | apPtr->AccessPoint.ssidLength 9
Jan 6 08:42:30 fx30s user.warn Legato: -WRN- | dcsDaemon[1229]/dcsWifi T=main | dcsWifi.c DcsWifiGetSelectedDb() 171 | Found currently selected Wifi connection to get established: TR-OFFICE, reference 0x181

Jan 6 08:42:30 fx30s user.warn Legato: -WRN- | dcsDaemon[1229]/dcsWifi T=main | dcsWifi.c DcsWifiGetSelectedDb() 175 | Failed to find channel db for SSID TR-OFFICE

Jan 6 08:43:08 fx30s user.debug Legato: DBUG | atQmiLinker[1180]/atQmiLinker T=unknown | atForward.c QmiAtCmdCb() 161 | Received:'at+wdss=1,1^M ’
Jan 6 08:43:08 fx30s user.debug Legato: DBUG | atQmiLinker[1180]/atQmiLinker T=Writer | atLinker.c Writer() 334 | cmd: `at+wdss=1,1^M ’
Jan 6 08:43:08 fx30s user.info Legato: INFO | avcDaemon[1210]/avcDaemon T=main | avcClient.c avcClient_Connect() 1101 | Retry timer already running
Jan 6 08:43:08 fx30s user.info Legato: INFO | avcDaemon[1210]/avcDaemon T=main | avcClient.c StopBearer() 746 | Stop bearer 0x1a7
Jan 6 08:43:08 fx30s user.info Legato: INFO | avcDaemon[1210]/avcDaemon T=main | avcClient.c StartBearer() 969 | Start Bearer
Jan 6 08:43:08 fx30s user.info Legato: INFO | avcDaemon[1210]/avcDaemon T=main | avcClient.c avcClient_Connect() 1175 | Starting retry timer of 15 min at index 0
Jan 6 08:43:08 fx30s user.debug Legato: DBUG | atQmiLinker[1180]/atQmiLinker T=Reader | atForward.c SendIntermediateResponse() 416 | ####

Jan 6 08:43:08 fx30s user.err Legato: =ERR= | dcsDaemon[1229]/dcs T=main | dcs.c le_dcs_GetReference() 216 | Failed to find channel with name TR-OFFICE of technology 1
Jan 6 08:43:08 fx30s user.err Legato: =ERR= | dcsDaemon[1229]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 234 | Failed to select Wifi SSID TR-OFFICE due to invalid channel reference

Jan 6 08:43:08 fx30s user.err Legato: =ERR= | dcsDaemon[1229]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1057 | Failed to pick technology 0 to start a data connection
Jan 6 08:43:08 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcsDaemon T=main | dcsServer.c UpdateTechnologyStatus() 1025 | Technology retry timer is already running; wait for next retry

Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 220 | Selected channel name 1
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcs T=main | dcs.c le_dcs_RemoveEventHandler() 695 | Channel event handler for channel 1 of technology cellular removed
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcs T=main | dcs.c le_dcs_AddEventHandler() 635 | Adding channel handler for channel 1 of technology cellular
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcs T=main | dcs.c le_dcs_AddEventHandler() 675 | Event handler with reference 0xdf3 and event ID 0x1247 added
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcs T=main | dcs.c le_dcs_Start() 421 | Starting channel 1 of technology cellular by app session with reference 0x7f5abe28
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcs T=main | dcs.c le_dcs_Start() 478 | Initiating technology to start channel 1 for app session 0x7f5abe28, request reference 0x3a7
6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1105 | Successfully initiated data channel 1 of technology 1
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcs T=main | dcsTech.c le_dcsTech_Start() 338 | Request to start channel 1 of technology cellular
***Jan 6 08:45:20 fx30s user.err Legato: =ERR= | dcsDaemon[1229]/dcs T=main | dcsTech.c ***
le_dcsTech_Start() 361 | Failed to start channel 1; error: -21
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x2bd event Down
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcs T=main | dcs.c le_dcs_Stop() 538 | Stopping channel 1 of technology cellular
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcs T=main | dcs.c le_dcs_Stop() 563 | Channel 1 requested to be stopped
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcsDaemon T=main | dcsServer.c TryStopTechSession() 1157 | Successfully initiated stopping active data connection 1 of technology 1

Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcsDaemon T=main | dcsServer.c UpdateTechnologyStatus() 1040 | Technology retry to connect will happen after 512 sec
Jan 6 08:45:20 fx30s user.info Legato: INFO | dcsDaemon[1229]/dcs T=main | dcsTech.c le_dcsTech_Stop() 399 | Request to stop channel 1 of technology cellular
Jan 6 08:45:20 fx30s user.err Legato: =ERR= | modemDaemon[1259]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 799 | Sending QMI_WDS_GET_PKT_STATISTICS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=70.[0x46]
Jan 6 08:45:20 fx30s user.err Legato: =ERR= | modemDaemon[1259]/le_pa T=main | pa_mdc_qmi.c pa_mdc_StopSession() 3378 | Bad input parameter
Jan 6 08:45:20 fx30s user.warn Legato: -WRN- | dcsDaemon[1229]/dcsCellular T=main | dcsCellular.c le_dcsCellular_Stop() 1156 | Failed to stop cellular connection 1; error: -15
Jan 6 08:45:20 fx30s user.warn Legato: -WRN- | dcsDaemon[1229]/dcs T=main | dcsTech.c le_dcsTech_Stop() 422 | Failed to stop channel 1; error: -15
Jan 6 08:45:20 fx30s user.warn Legato: -WRN- | avcDaemon[1210]/avcDaemon T=main | avcClient.c ConnectionStateHandler() 474 | Disconnected from data connection service, current state 0

So it seems it is messing a little with the technology names, as it says is trying to start channel 1 of technology 1 but the description says cellular when cellular should be technology 2 while wifi technology 1.

which I am wondering if this is due to the setup of the dataConnectionService tree or I need to setup this somewhere else…
config set dataConnectionService:/wifi/SSID TEST-MOBILE
config set dataConnectionService:/wifi/secProtocol 3
config set dataConnectionService:/wifi/passphrase password

but I have also tried with
config set dataConnectionService:/wifi/SSID “TEST-MOBILE” string
config set dataConnectionService:/wifi/secProtocol 3 int
config set dataConnectionService:/wifi/passphrase “password” string

but I still get the same result.

it is different from my log, i don’t see it is starting the WIFI
I am working on this:
root@swi-mdm9x28-wp:~# legato version
19.11.2_4ad011d85a76309438be40fc19e7153a

do you know why is not listing the wifi interface as a possible technology and why is unable to find the SSID in the db?

Are we testing in same legato version?

I have a slightly newer version then yours:
19.11.5.0ef29c90_8ed9680b55b5e75cfddc628d0694da13_modified

I believe these is the key point for solving this problem:
Jan 6 10:35:06 fx30s user.debug Legato: DBUG | wifiService[1311]/daemon T=main | le_wifiClient.c le_wifiClient_GetCurrentConnection() 1177 | AP reference of currently selected connection: 0x213
Jan 6 10:35:06 fx30s user.debug Legato: DBUG | wifiService[1311]/daemon T=main | le_wifiClient.c le_wifiClient_GetSsid() 1134 | AP ref 0x213
Jan 6 10:35:06 fx30s user.debug Legato: DBUG | wifiService[1311]/daemon T=main | le_wifiClient.c le_wifiClient_GetSsid() 1154 | apPtr->AccessPoint.ssidLength 9
Jan 6 10:35:06 fx30s user.warn Legato: -WRN- | dcsDaemon[1223]/dcsWifi T=main | dcsWifi.c DcsWifiGetSelectedDb() 171 | Found currently selected Wifi connection to get established: TR-OFFICE, reference 0x213
Jan 6 10:35:06 fx30s user.warn Legato: -WRN- | dcsDaemon[1223]/dcsWifi T=main | dcsWifi.c DcsWifiGetSelectedDb() 175 | Failed to find channel db for SSID TR-OFFICE

Once the wifi client is started and connected, the dcs service cannot find the channel in the database, so I assume I haven`t setup this properly?
Or it should be something handled by the wifiClient itself and possibly a bug?

Wifi is working so I don`t this has anything to do with the drivers, but likely with the legato.

When I start the connection with airvantage AT+WDSS=1,1 dcs cannot find the wifi channel:
Jan 6 10:50:33 fx30s user.err Legato: =ERR= | dcsDaemon[1219]/dcs T=main | dcsTech.c le_dcsTech_Start() 361 | Failed to start channel 1; error: -21
Jan 6 10:50:33 fx30s user.info Legato: INFO | dcsDaemon[1219]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x363 event Down
Jan 6 10:50:33 fx30s user.info Legato: INFO | dcsDaemon[1219]/dcs T=main | dcs.c le_dcs_Stop() 538 | Stopping channel 1 of technology cellular
Jan 6 10:50:33 fx30s user.info Legato: INFO | dcsDaemon[1219]/dcs T=main | dcs.c le_dcs_Stop() 563 | Channel 1 requested to be stopped
Jan 6 10:50:33 fx30s user.info Legato: INFO | dcsDaemon[1219]/dcsDaemon T=main | dcsServer.c TryStopTechSession() 1157 | Successfully initiated stopping active data connection 1 of technology 1
Jan 6 10:50:33 fx30s user.info Legato: INFO | dcsDaemon[1219]/dcsDaemon T=main | dcsServer.c UpdateTechnologyStatus() 1040 | Technology retry to connect will happen after 8 sec
Jan 6 10:50:33 fx30s user.info Legato: INFO | dcsDaemon[1219]/dcs T=main | dcsTech.c le_dcsTech_Stop() 399 | Request to stop channel 1 of technology cellular
Jan 6 10:50:33 fx30s user.err Legato: =ERR= | modemDaemon[1248]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 799 | Sending QMI_WDS_GET_PKT_STATISTICS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=70.[0x46]
Jan 6 10:50:33 fx30s user.err Legato: =ERR= | modemDaemon[1248]/le_pa T=main | pa_mdc_qmi.c pa_mdc_StopSession() 3378 | Bad input parameter
Jan 6 10:50:33 fx30s user.warn Legato: -WRN- | dcsDaemon[1219]/dcsCellular T=main | dcsCellular.c le_dcsCellular_Stop() 1156 | Failed to stop cellular connection 1; error: -15
Jan 6 10:50:33 fx30s user.warn Legato: -WRN- | dcsDaemon[1219]/dcs T=main | dcsTech.c le_dcsTech_Stop() 422 | Failed to stop channel 1; error: -15
Jan 6 10:50:33 fx30s user.warn Legato: -WRN- | avcDaemon[1199]/avcDaemon T=main | avcClient.c ConnectionStateHandler() 474 | Disconnected from data connection service, current state 0
Jan 6 10:50:41 fx30s user.err Legato: =ERR= | dcsDaemon[1219]/dcs T=main | dcs.c le_dcs_GetReference() 216 | Failed to find channel with name TR-OFFICE of technology 1
Jan 6 10:50:41 fx30s user.err Legato: =ERR= | dcsDaemon[1219]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 234 | Failed to select Wifi SSID TR-OFFICE due to invalid channel reference
Jan 6 10:50:41 fx30s user.err Legato: =ERR= | dcsDaemon[1219]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1057 | Failed to pick technology 0 to start a data connection
Jan 6 10:50:41 fx30s user.info Legato: INFO | dcsDaemon[1219]/dcsDaemon T=main | dcsServer.c UpdateTechnologyStatus() 1040 | Technology retry to connect will happen after 16 sec

which confirm the legato is unable to list the wifi technology

I do not see DCS is selecting wifi like my log

Jan 6 00:30:35 swi-mdm9x28-wp user.info Legato: INFO | dcsDaemon[1114]/dcs T=main | dcs.c le_dcs_RemoveEventHandler() 695 | Channel event handler for channel SWI-MOBILE of technology wifi removed
Jan 6 00:30:35 swi-mdm9x28-wp user.info Legato: INFO | dcsDaemon[1114]/dcs T=main | dcs.c le_dcs_AddEventHandler() 635 | Adding channel handler for channel SWI-MOBILE of technology wifi
Jan 6 00:30:35 swi-mdm9x28-wp user.info Legato: INFO | dcsDaemon[1114]/dcs T=main | dcs.c le_dcs_AddEventHandler() 675 | Event handler with reference 0xdc3 and event ID 0x1f93 added
Jan 6 00:30:35 swi-mdm9x28-wp user.info Legato: INFO | dcsDaemon[1114]/dcs T=main | dcs.c le_dcs_Start() 421 | Starting channel SWI-MOBILE of technology wifi by app session with reference 0x7f5abe28
Jan 6 00:30:35 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_GetCurrentConnection() 1177 | AP reference of currently selected connection: (nil)
Jan 6 00:30:35 swi-mdm9x28-wp user.info Legato: INFO | dcsDaemon[1114]/dcs T=main | dcs.c le_dcs_Start() 478 | Initiating technology to start channel SWI-MOBILE for app session 0x7f5abe28, request reference 0x2ad
Jan 6 00:30:35 swi-mdm9x28-wp user.info Legato: INFO | dcsDaemon[1114]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1105 | Successfully initiated data channel SWI-MOBILE of technology 0
Jan 6 00:30:35 swi-mdm9x28-wp user.info Legato: INFO | dcsDaemon[1114]/dcs T=main | dcsTech.c le_dcsTech_Start() 338 | Request to start channel SWI-MOBILE of technology wifi
Jan 6 00:30:35 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_LoadSsid() 2003 | No wifi security protocol set at wifiService:/wifi/channel/SWI-MOBILE/secProtocol
Jan 6 00:30:35 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c WifiClient_LoadSecurityConfigs() 1882 | Successfully retrieved security parameters for protocol 0 over SSID SWI-MOBILE
Jan 6 00:30:35 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c IsScanRunning() 584 | IsScanRunning .0
Jan 6 00:30:35 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c FindAccessPointRefFromSsid() 265 | Find AP from SSID
Jan 6 00:30:35 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_Create() 1479 | AP[0x7f5a5b18 0x85] signal strength 32767 | SSID length 10 | SSID: “SWI-MOBILE”
Jan 6 00:30:35 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_SetSecurityProtocol() 1406 | Set security protocol
Jan 6 00:30:35 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[1203]/daemon T=main | pa_wifi_client.c pa_wifiClient_SetSecurityProtocol() 835 | Security protocol: 0
Jan 6 00:30:35 swi-mdm9x28-wp user.info Legato: INFO | wifiService[1203]/daemon T=main | le_wifiClient.c WifiClient_LoadSecurityConfigs() 1943 | Succeeded to set into wifiClient security parameters of protocol 0 for SSID SWI-MOBILE
Jan 6 00:30:35 swi-mdm9x28-wp user.info Legato: INFO | wifiService[1203]/daemon T=main | le_wifiClient.c le_wifiClient_LoadSsid() 2034 | Succeeded to create AP reference 0x85 for SSID SWI-MOBILE

when you say SWI-MOBILE, is this the name of your ssid?
Also, it seems that doesn`t have any password, correct?

Yes and it has password

I see, but that doesn`t help me on understanding why on my side is not working, as I have followed all the correct steps as far as I can see…

you might try WP77 R13 FW:

https://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-release-13/#sthash.jiqEaap7.dpbs

with that firmware I can`t even start the wifi client:
Jan 6 00:40:51 fx30s user.info Legato: INFO | wifiService[1250] | WIFI_START
Jan 6 00:40:56 fx30s user.info Legato: INFO | wifiService[1250] | Failed to start TI wifi, interface does not exist.
Jan 6 00:40:56 fx30s user.info Legato: INFO | wifiService[1250] | Hardware is absent, perform clean up
Jan 6 00:40:56 fx30s user.info Legato: INFO | wifiService[1250] | mangOH red board
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | /etc/init.d/tiwifi:
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | line 210:
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | can’t create /sys/class/gpio/v2/aliases_exported/2/value: nonexistent directory
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] |
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | ERR* failed to read i2c data
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | ERR* I2c get addr 0x3e value failure
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | ERR* Set mode 0 failure
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | ERR* failed to read i2c data
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | ERR* I2c get addr 0x3e value failure
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | ERR* Set polarity 0 failure
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | ERR* failed to read i2c data
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | ERR* I2c get addr 0x3e value failure
Jan 6 00:40:56 fx30s user.err Legato: =ERR= | wifiService[1250] | ERR* Set output 1 failure
Jan 6 00:40:56 fx30s user.warn Legato: -WRN- | wifiService[1250]/daemon T=main | pa_wifi_client.c pa_wifiClient_Start() 519 | WiFi card is not inserted
Jan 6 00:40:56 fx30s user.warn Legato: -WRN- | wifiService[1250]/daemon T=main | le_wifiClient.c le_wifiClient_Start() 821 | Unable to start WIFI client; return code: -1
Jan 6 00:40:56 fx30s user.debug Legato: DBUG | wifiService[1250]/framework T=main | le_wifiClient_server.c CleanupClientData() 163 | Client 0x7f56c268 is closed !!!
Jan 6 00:40:56 fx30s user.debug Legato: DBUG | wifiService[1250]/framework T=main | le_wifiClient_server.c CleanupClientData() 185 | Found session ref 0x7f56c388; does not match
Jan 6 00:40:56 fx30s user.debug Legato: DBUG | wifiService[1250]/framework T=main | le_wifiAp_server.c CleanupClientData() 163 | Client 0x7f56c2f8 is closed !!!
Jan 6 00:40:56 fx30s user.info Legato: INFO | supervisor[1034]/supervisor T=main | proc.c proc_SigChildHandler() 2079 | Process ‘wifi@0’ (PID: 2279) has exited with exit code 1.
Jan 6 00:40:56 fx30s user.warn Legato: -WRN- | supervisor[1034]/supervisor T=main | app.c app_SigChildHandler() 4066 | Process ‘wifi@0’ in app ‘wifi’ faulted: Ignored.
Jan 6 00:40:56 fx30s user.info Legato: INFO | supervisor[1034]/supervisor T=main | app.c app_StopComplete() 4753 | app ‘wifi’ has stopped.
Jan 6 00:40:56 fx30s user.info Legato: INFO | supervisor[1034]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application ‘wifi’ has stopped.

are you using the Talon IoT exp board or something else?

I feel like troubleshooting on different firmware with different layers is not always the best way to solve problems, it get a little messy, I would prefer understanding what is actually happening…

is there anybody from the legato team looking at these posts at all?

I am using mangoh green board

so, different firmware on different platforms and different exp board…
I can`t see we will get far away with this troubleshooting without having someone commenting why the channel in the legato db is not created.
Not sure if we can expect anybody from the legato team to comment on this…?