mirror of https://github.com/espruino/BangleApps
Improved proximity identification settings specific to Bangle.js
parent
d83bcbc96b
commit
053b5a9b98
|
@ -1 +1,2 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
|
0.02: Tweaked proximity identification settings
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Real-time interactions will be recognised by [Pareto Anywhere](https://www.reelyactive.com/pareto/anywhere/) open source middleware and any other program which observes the [DirAct open standard](https://reelyactive.github.io/diract/).
|
Real-time interactions will be recognised by [Pareto Anywhere](https://www.reelyactive.com/pareto/anywhere/) open source middleware and any other program which observes the [DirAct open standard](https://reelyactive.github.io/diract/). See our [Bangle.js Development Guide](https://reelyactive.github.io/diy/banglejs-dev/) for details.
|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* Copyright reelyActive 2017-2021
|
* Copyright reelyActive 2017-2022
|
||||||
* We believe in an open Internet of Things
|
* We believe in an open Internet of Things
|
||||||
*
|
*
|
||||||
* DirAct is jointly developed by reelyActive and Code Blue Consulting
|
* DirAct is jointly developed by reelyActive and Code Blue Consulting
|
||||||
|
@ -11,14 +11,14 @@ const NAMESPACE_FILTER_ID = [ 0xc0, 0xde, 0xb1, 0x0e, 0x1d,
|
||||||
0xd1, 0xe0, 0x1b, 0xed, 0x0c ];
|
0xd1, 0xe0, 0x1b, 0xed, 0x0c ];
|
||||||
const EXCITER_INSTANCE_IDS = new Uint32Array([ 0xe8c17e45 ]);
|
const EXCITER_INSTANCE_IDS = new Uint32Array([ 0xe8c17e45 ]);
|
||||||
const RESETTER_INSTANCE_IDS = new Uint32Array([ 0x4e5e77e4 ]);
|
const RESETTER_INSTANCE_IDS = new Uint32Array([ 0x4e5e77e4 ]);
|
||||||
const PROXIMITY_RSSI_THRESHOLD = -65;
|
const PROXIMITY_RSSI_THRESHOLD = -85;
|
||||||
const PROXIMITY_LED_RSSI_THRESHOLD = -65;
|
const PROXIMITY_LED_RSSI_THRESHOLD = -85;
|
||||||
const PROXIMITY_TABLE_SIZE = 8;
|
const PROXIMITY_TABLE_SIZE = 8;
|
||||||
const DIGEST_TABLE_SIZE = 32;
|
const DIGEST_TABLE_SIZE = 32;
|
||||||
const OBSERVE_PERIOD_MILLISECONDS = 400;
|
const OBSERVE_PERIOD_MILLISECONDS = 400;
|
||||||
const BROADCAST_PERIOD_MILLISECONDS = 3600;
|
const BROADCAST_PERIOD_MILLISECONDS = 1600;
|
||||||
const BROADCAST_DIGEST_PAGE_MILLISECONDS = 400;
|
const BROADCAST_DIGEST_PAGE_MILLISECONDS = 400;
|
||||||
const PROXIMITY_PACKET_INTERVAL_MILLISECONDS = 400;
|
const PROXIMITY_PACKET_INTERVAL_MILLISECONDS = 200;
|
||||||
const DIGEST_PACKET_INTERVAL_MILLISECONDS = 100;
|
const DIGEST_PACKET_INTERVAL_MILLISECONDS = 100;
|
||||||
const DIGEST_TIME_CYCLE_THRESHOLD = 86400;
|
const DIGEST_TIME_CYCLE_THRESHOLD = 86400;
|
||||||
const EXCITER_HOLDOFF_SECONDS = 60;
|
const EXCITER_HOLDOFF_SECONDS = 60;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "diract",
|
"id": "diract",
|
||||||
"name": "DirAct",
|
"name": "DirAct",
|
||||||
"shortName": "DirAct",
|
"shortName": "DirAct",
|
||||||
"version": "0.01",
|
"version": "0.02",
|
||||||
"description": "Proximity interaction detection.",
|
"description": "Proximity interaction detection.",
|
||||||
"icon": "diract.png",
|
"icon": "diract.png",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
|
|
Loading…
Reference in New Issue