q_m_a_p_s
disable状态下:
virtual telux::common::ErrorCode getConfig(int& numAp, int& numSta) = 0;
virtual telux::common::ErrorCode setMode(int numOfAp, int numOfSta) = 0;
-1-> qcmClient_->setWlanMode
-1-2-> qcmapClient_->GetWLANConfig
-1-2-> qcmapClient_->SetWLANConfig
-1-2-> qcmapClient_->SetWLANConfig
-1-2-> qcmapClient_->GetApConfig //获取AP网络配置,比如ssid, 密码
-1-2-> updateCacheWlanMode
-1-2-> updateCacheWlanMode
-1-2-> updateCacheWlanApConfig
初始化部分:
WlanFactoryImpl/ WlanQcmClient / WlanDeviceManagerImpl
WlanDeviceManagerImpl.init
-1-> WlanQcmClient.registerListener
-1-> WlanQcmClient.init
-1-2-> QCMAP_Client
-1-2-> qcmapClient_->EnableMobileAP
-1-2-> registerForIndications
-1-2-> qcmapClient_->GetWLANConfig //当前模式,
-1-2-> qcmapClient_->GetApConfig //获取AP网络配置,比如ssid, 密码
-1-2-> qcmapClient_->GetWLANStatus
-1-2-> qcmapClient_->GetActiveWlanIfInfoEx
-1-> WlanQcmClient.isWlanSubSysUp
ApInterfaceManagerImpl
-1-> ApInterfaceManagerImpl->init
StaInterfaceManagerImpl
-1-> StaInterfaceManagerImpl->init
//
QMI_QCMAP_MSGR_WLAN_STATUS_IND_V01
-1-> handleWlanStatusChangedInd
-1-2-> getAndUpdateWlanInfoSync
-1-2-3-> updateCacheWlanMode
-1-2-3-> updateCacheWlanStatus
// sta 设备变化
QMI_QCMAP_MSGR_STATION_MODE_STATUS_IND_V01
-1-> handleStaStatusChangedInd
// ap 设备变化
QMI_QCMAP_MSGR_PACKET_STATS_STATUS_IND_V01
-1-> handleWlanDeviceStatusChangedInd
// 服务状态
QCMAP_SERVER_STATUS_IND
QMI_QCMAP_MSGR_MODEM_STATUS_IND_V01
-1-> handleSubSysRestartInd
-1-2-> notifyDataSysHealthChangedSync
// 温饱状态
QMI_QCMAP_MSGR_WLAN_TEMPCROSSED_IND_V01
-1-> handleTempCrossedInd
// ap 配置
QMI_QCMAP_MSGR_WLAN_AP_CONFIG_CHANGED_IND_V01
-1-> handleApConfigChangedInd
-1-2-> updateCacheWlanApposted on 2023-12-26 12:05 huangguanyuan 阅读(15) 评论(0) 编辑 收藏 举报