apple-location-services
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "apple-location-services", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Apple Location Services", | ||
@@ -19,3 +19,3 @@ "author": "Jonas Hermsmeier <jhermsmeier@gmail.com> (https://jhermsmeier.de)", | ||
"dependencies": { | ||
"pbf": "^3.0.5" | ||
"pbf": "^3.2.1" | ||
}, | ||
@@ -25,3 +25,3 @@ "devDependencies": { | ||
"trilat": "^1.0.0", | ||
"wifi-network": "^0.2.1" | ||
"wifi-network": "^0.3.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "peerDependencies": {}, |
@@ -24,4 +24,27 @@ # Apple Location Services | ||
## Example | ||
``` | ||
$ node example/locate.js | ||
``` | ||
``` | ||
Scanning for WiFi networks... | ||
Detected 20 networks | ||
Querying Apple Location Services... | ||
Received 113 results | ||
Filtered out 11 networks without location data | ||
Filtered out 98 undetected networks | ||
Generated trilateration matrix: | ||
[ [ 1341663988, 5249087264, 4321101938.317972 ], | ||
[ 1341674818, 5249084620, 2262340095.8832603 ], | ||
[ 1341665645, 5249086654, 1789211062.113776 ], | ||
[ 1341636641, 5249097645, 5694164319.598579 ] ] | ||
Position (lat, lon): [ 52.49086179333333, 13.416681503333333 ] | ||
``` | ||
## References | ||
- [Reverse Engineering Apple Location Services](https://appelsiini.net/2017/reverse-engineering-location-services/) |
15022
50
Updatedpbf@^3.2.1