https://github.com/ragingwind/eddystone-beacon-emulator
https://github.com/ragingwind/eddystone-beacon-emulator
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ragingwind/eddystone-beacon-emulator
- Owner: ragingwind
- License: mit
- Created: 2015-07-15T05:49:18.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-06-24T21:36:55.000Z (about 10 years ago)
- Last Synced: 2025-05-16T23:34:36.203Z (about 1 year ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# eddystone-beacon-emulator

> Emulator for eddystone beacon peripherals to test and develop eddystone application
## Install
```
$ npm install --global eddystone-beacon-emulator
```
```
$ eddystone-beacon-emulator --help
Usage
eddystone-beacon-emulator --config --uri=http://goo.gl/eddystone
eddystone-beacon-emulator --uri=http://goo.gl/eddystone
eddystone-beacon-emulator --nid=http://google.com --bid=123456
eddystone-beacon-emulator --voltage=0 --temperature=-128
eddystone-beacon-emulator --voltage=5000~10000 --temperature=-128~128
```
## Options
- --config: Run configuration service firstly and then the other advertisings will be starting',
- --uri: URI for advertising',
- --nid: Namespace ID, FQDN or UUID which ID will be hashed and truncated in 10Byte',
- --bid: Beacon ID for UID advertising',
- --voltage: Battery voltage, default is 0mV, or using a range like 500~10000 to randomize',
- --temperature: Temperature, default is -128(0x8000), or using a range like -128~128 to randomize'
## Usage
```sh
DEBUG=eddystone node cli.js --uri=http://goo.gl/eddystone
```
## Won't Support Yet
- TLM period configuration is not supported
- TX Power Mode and TX Power Level configuration is not supported
- beacon period configuration is not supported
- flags configuration is not supported
## License
MIT © [Jimmy Moon](http://ragingwind.me)