mdns-wifi-location
v2.0.0
Published
Announce a WiFi's geolocation via mDNS.
Maintainers
Readme
mdns-wifi-location
Announce a WiFi's geolocation via mDNS.
Installation
npm install -g mdns-wifi-locationUsage
Usage:
announce-wifi-location-via-mdns <latitude> <longitude> <altitude> [options]
Options:
--size -s Size of your network, in meters.
Default: 20
--precision -p Horizontal precision of the coordinates, in meters.
Default: none
--vertical-precision -P Vertical precision of the coordinates, in meters.
Default: none
--json-via-stdin -j Read newline-delimited JSON from stdin. Each line may
may have the these fields:
- latitude
- lonitude
- altitude
- size
- hPrecision
- vPrecision
If a line does not have a field, its previous value
is used.
Examples:
announce-wifi-location-via-mdns 1.23 2.34 --altitude 800 -s 30Related
LOCrecord – Wikipedia- RFC 1876: A Means for Expressing Location Information in the Domain Name System (defines
LOCDNS entries) - The weird and wonderful world of DNS LOC records – The Cloudflare Blog (a story about Cloudflare adding
LOCsupport)
Contributing
If you have a question or need support using mdns-wifi-location, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use the issues page.
