diff --git a/apps/diract/ChangeLog b/apps/diract/ChangeLog index 5560f00bc..34fc73a76 100644 --- a/apps/diract/ChangeLog +++ b/apps/diract/ChangeLog @@ -1 +1,2 @@ 0.01: New App! +0.02: Tweaked proximity identification settings diff --git a/apps/diract/README.md b/apps/diract/README.md index efecade3f..49e6e7add 100644 --- a/apps/diract/README.md +++ b/apps/diract/README.md @@ -5,7 +5,7 @@ ## 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 diff --git a/apps/diract/diract.js b/apps/diract/diract.js index dba41cccb..69f0a88e4 100644 --- a/apps/diract/diract.js +++ b/apps/diract/diract.js @@ -1,5 +1,5 @@ /** - * Copyright reelyActive 2017-2021 + * Copyright reelyActive 2017-2022 * We believe in an open Internet of Things * * 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 ]; const EXCITER_INSTANCE_IDS = new Uint32Array([ 0xe8c17e45 ]); const RESETTER_INSTANCE_IDS = new Uint32Array([ 0x4e5e77e4 ]); -const PROXIMITY_RSSI_THRESHOLD = -65; -const PROXIMITY_LED_RSSI_THRESHOLD = -65; +const PROXIMITY_RSSI_THRESHOLD = -85; +const PROXIMITY_LED_RSSI_THRESHOLD = -85; const PROXIMITY_TABLE_SIZE = 8; const DIGEST_TABLE_SIZE = 32; const OBSERVE_PERIOD_MILLISECONDS = 400; -const BROADCAST_PERIOD_MILLISECONDS = 3600; +const BROADCAST_PERIOD_MILLISECONDS = 1600; 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_TIME_CYCLE_THRESHOLD = 86400; const EXCITER_HOLDOFF_SECONDS = 60; diff --git a/apps/diract/metadata.json b/apps/diract/metadata.json index 0c4780397..af9406e91 100644 --- a/apps/diract/metadata.json +++ b/apps/diract/metadata.json @@ -2,7 +2,7 @@ "id": "diract", "name": "DirAct", "shortName": "DirAct", - "version": "0.01", + "version": "0.02", "description": "Proximity interaction detection.", "icon": "diract.png", "type": "app",