2012年4月10日

android wifi之WifiMonitor

摘要: 通过在网上的学习已经了解了wifi的大致流程,现在学习了wifi的核心类之一WifiMomitor,监控wpa_supplicant的消息并实时作出处理。首先看该类官方的解释:Listens for events from the wpa_supplicant server, and passes them on to the {@link StateMachine} for handling. Runs in its own thread.专门负责接收来自wpa_supplicant的事件,并将这些消息进行分类再交予StateMachine处理。在WifiStateMachine里面的内部类 阅读全文

posted @ 2012-04-10 09:15 菊者潜之爱 阅读(2605) 评论(0) 推荐(0) 编辑

导航