Code example for WifiInfo

Methods: getBSSID

0
	public InetAddress getGatewayAddress( ){
		return mGateway.toInetAddress();
	} 
	 
	public byte[] getGatewayHardware(){ 
		return Endpoint.parseMacAddress( mWifiInfo.getBSSID() );
	} 
	 
	public byte[] getLocalHardware( ){ 
		try  
		{ 
			return mInterface.getHardwareAddress();
		}  
		catch( SocketException e ) 
		{ 
			System.errorLogging( TAG, e );
		} 
		 
		return null; 
	}