• [Android] 从 logcat 日志中获取设备的 mac 地址信息


    关键 TAG

    WifiStateMachine

    09-01 02:01:21.450  3624  3762 D WifiStateMachine: CMD_START_CONNECT sup state UninitializedState my state DisconnectedState nid=0 roam=false
    09-01 02:01:21.450  3624  3762 I WifiStateMachine: Connecting with 18:93:7f:67:f7:e6 as the mac address
    

    DhcpClient

    09-01 02:17:21.743  3624  7737 D DhcpClient: Broadcasting DHCPDISCOVER
    09-01 02:17:21.750  3624  7741 D DhcpClient: Received packet: 18:93:7f:67:f7:e6 OFFER, ip /10.1.2.183, mask /255.255.254.0, DNS servers: /172.16.12.167 , gateways [/10.1.3.254] lease time 7200, domain null
    09-01 02:17:21.751  3624  7737 D DhcpClient: Got pending lease: IP address 10.1.2.183/23 Gateway 10.1.3.254  DNS servers: [ 172.16.12.167 ] Domains  DHCP server /10.1.3.254 Vendor info null lease 7200 seconds
    09-01 02:17:21.751  3624  7737 D DhcpClient: Broadcasting DHCPREQUEST ciaddr=0.0.0.0 request=10.1.2.183 serverid=10.1.3.254
    09-01 02:17:21.758  3624  7741 D DhcpClient: Received packet: 18:93:7f:67:f7:e6 ACK: your new IP /10.1.2.183, netmask /255.255.254.0, gateways [/10.1.3.254] DNS servers: /172.16.12.167 , lease time 7200
    09-01 02:17:21.759  3624  7737 D DhcpClient: Confirmed lease: IP address 10.1.2.183/23 Gateway 10.1.3.254  DNS servers: [ 172.16.12.167 ] Domains  DHCP server /10.1.3.254 Vendor info null lease 7200 seconds
    
  • 相关阅读:
    Saltstack module acl 详解
    Saltstack python client
    Saltstack简单使用
    P5488 差分与前缀和 NTT Lucas定理 多项式
    CF613D Kingdom and its Cities 虚树 树形dp 贪心
    7.1 NOI模拟赛 凸包套凸包 floyd 计算几何
    luogu P5633 最小度限制生成树 wqs二分
    7.1 NOI模拟赛 dp floyd
    springboot和springcloud
    springboot集成mybatis
  • 原文地址:https://www.cnblogs.com/shaobin0604/p/13595798.html
Copyright © 2020-2023  润新知