Comments (4)
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.
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.
@sachinELEVEN is this documented anywhere? as i have to provide this link to the client.
from mmlanscan.
@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)
- What is the function to scan all the associated IP ? HOT 2
- Library without MAC and brand name?
- the efficiency of using ping too slow HOT 1
- iOS 12获取不到了 HOT 1
- Scanning is too slow HOT 1
- get port and detect camera
- Support for Mac OSX? HOT 1
- Non connected device Data. HOT 2
- App crashing after ping HOT 14
- How can I get the Max address?
- lanScanner.start() freezes app when wifi is not connected to interner. HOT 2
- Scan devices in order?
- List devices connected to iPhone's hotspot
- [] nehelper sent invalid result code [1] for Wi-Fi information request
- Hostname issue
- Crash when scanning on non-main thread
- How to get device type like router, laptop or mobile? HOT 2
- The operation couldn’t be completed. Operation not permitted HOT 2
- Mac empty when run with real device iOS 15. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmlanscan.