Git Product home page Git Product logo

Comments (4)

AwaisFayyaz avatar AwaisFayyaz commented on August 15, 2024

I am also getting repeat problem. one entry has mac address, other don't have. printing the console output here

lanScanDidFindNewDevice: Optional(<MMDevice: 0x28097b100>)
device.brand: Optional("")
device.hostname: awaiss-iphone
device.ipAddress: 192.168.10.9


lanScanDidFindNewDevice: Optional(<MMDevice: 0x28095c740>)
device.brand: Optional("")
device.hostname: awaiss-iphone
device.ipAddress: 192.168.10.9
device.macAddress: 02:00:00:00:00:00


lanScanDidFindNewDevice: Optional(<MMDevice: 0x28095c640>)
device.brand: Optional("")
device.hostname: awaiss-mac-mini
device.ipAddress: 192.168.10.8
device.macAddress: 02:00:00:00:00:00


lanScanDidFindNewDevice: Optional(<MMDevice: 0x28095c340>)
device.brand: Optional("")
device.hostname: roguepixel
device.ipAddress: 192.168.10.5
device.macAddress: 02:00:00:00:00:00


lanScanDidFindNewDevice: Optional(<MMDevice: 0x2809669c0>)
device.brand: Optional("")
device.hostname: myrouter.home
device.ipAddress: 192.168.10.1
device.macAddress: 02:00:00:00:00:00


lanScanDidFindNewDevice: Optional(<MMDevice: 0x28095c540>)
device.brand: Optional("")
device.hostname: galaxy-j7-2016
device.ipAddress: 192.168.10.7
device.macAddress: 02:00:00:00:00:00


lanScanDidFinishScanning with status: MMLanScannerStatus(rawValue: 0)

from mmlanscan.

sachinELEVEN avatar sachinELEVEN commented on August 15, 2024

I am also getting repeat problem. one entry has mac address, other don't have. printing the console output here


lanScanDidFindNewDevice: Optional(<MMDevice: 0x28097b100>)

device.brand: Optional("")

device.hostname: awaiss-iphone

device.ipAddress: 192.168.10.9





lanScanDidFindNewDevice: Optional(<MMDevice: 0x28095c740>)

device.brand: Optional("")

device.hostname: awaiss-iphone

device.ipAddress: 192.168.10.9

device.macAddress: 02:00:00:00:00:00





lanScanDidFindNewDevice: Optional(<MMDevice: 0x28095c640>)

device.brand: Optional("")

device.hostname: awaiss-mac-mini

device.ipAddress: 192.168.10.8

device.macAddress: 02:00:00:00:00:00





lanScanDidFindNewDevice: Optional(<MMDevice: 0x28095c340>)

device.brand: Optional("")

device.hostname: roguepixel

device.ipAddress: 192.168.10.5

device.macAddress: 02:00:00:00:00:00





lanScanDidFindNewDevice: Optional(<MMDevice: 0x2809669c0>)

device.brand: Optional("")

device.hostname: myrouter.home

device.ipAddress: 192.168.10.1

device.macAddress: 02:00:00:00:00:00





lanScanDidFindNewDevice: Optional(<MMDevice: 0x28095c540>)

device.brand: Optional("")

device.hostname: galaxy-j7-2016

device.ipAddress: 192.168.10.7

device.macAddress: 02:00:00:00:00:00





lanScanDidFinishScanning with status: MMLanScannerStatus(rawValue: 0)

From iOS 11 onwards Apple devices do not provide you with the correct MAC address of any physical device. Further in iOS 14 Apple devices do not expose their real MAC but generate a random MAC address, this ensures improved privacy of users.

from mmlanscan.

AwaisFayyaz avatar AwaisFayyaz commented on August 15, 2024

@sachinELEVEN is this documented anywhere? as i have to provide this link to the client.

from mmlanscan.

sachinELEVEN avatar sachinELEVEN commented on August 15, 2024

@sachinELEVEN is this documented anywhere? as i have to provide this link to the client.

I don’t think this issue is mentioned anywhere on Apple’s documentation but there are plenty of articles mentioning this, eg https://networktoolbox.de/networktoolbox-ios-11/

I think you can still get the MAC of the devices if you run your app on simulator, but it will not work on actual iOS device.

from mmlanscan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.