Proximity interaction detection software for Bluetooth beacons
Learn how DirAct detects real-time proximity interactions, and why.
DirAct observes what's in proximity and advertises this data for any device in range to interpret
DirAct can run on standard battery-powered beacons and other Bluetooth Low Energy devices
Open source, MIT-licensed versions of the DirAct software written in JavaScript are maintained for Espruino devices, and are available on our GitHub at github.com/reelyactive/diract.
The following tutorials provide step-by-step instructions to program devices with DirAct software:
DirAct has been successfully ported to mass-produced beacons, such as the Minew E8, based on the same popular nRF52 chipset used by Espruino devices.
DirAct is tightly integrated with Pareto Anywhere open source middleware
The following tutorials provide step-by-step instructions to install and run Pareto Anywhere:
For a lightweight software implementation see /diract-digester.
Never (p)underestimate the importance of location, location, location!
Anyone who has attempted precise ranging or real-time location using only the signal strength of Bluetooth (or other 2.4GHz signals) should question the effectiveness of this approach. That is because 2.4GHz signals are attenuated by water, which makes up over half of the human body. In other words:
DirAct (which is derived from Directed interAction) takes advantage of the attenuating effect of the human body when it is implemented as a chest-worn badge. In this case, face-to-face interactions are clearly distinguished by relative signal strength alone.
The implementation of DirAct
The DirAct specification includes a definition of each DirAct frame. A single DirAct frame may reside in the payload of a BLE advertising packet. Observing the DirAct frame specification ensures that any device which receives such a packet may correctly interpret its semantics.
The DirAct proximity frame is structured as follows. Each of the nearest elements is optional, meaning that the frame length may be 9, 14, 19 or 24 bytes depending on the number of compatible devices detected in proximity.
The DirAct digest frame shall be documented here in the near future.
The DirAct logo is a trademark of reelyActive
Continue exploring our open architecture and all its applications.