RadBeacon

Posted on  by 



  1. Radbeacons
  2. Radbeacon Dot Manual
  3. Radbeacon Chip

RadBeacon Multi-Beacons RadBeacon X2 2 AA battery powered Ruggedized & weatherproof Multi-Beacon with iBeacon & AltBeacon RadBeacon USB USB powered Standalone or integrated with existing equipment Multi-Beacon with iBeacon & AltBeacon RadBeacon Tag Coin-cell battery powered Small in size and flexibly deployable Multi-Beacon with iBeacon. The RadBeacon™ app is the configuration utility for RadBeacon proximity beacons from Radius Networks that support Apple's iBeacon™ proximity services as well as other emerging proximity services. The RadBeacon devices were generally found to be the better devices, due to the following reasons: The RadBeacon’s have an On-Off switch, which allows the developer to simulate coming in and out of range by turning the device on or off. RadBeacon Radius Networks offers a wide range of hardware, software and proximity services designed to enable hyper-proximity, micro-location engagement capabilities and analytics in today's leading mobile apps, products and technologies. Sulcus CaseBank is a collection of in-depth cases, practice exams and review topics focusing on the medical subspecialties of Radiology. In the past, those preparing for the Core, Certifying (IC) or Maintenance of Certification (MOC) exams in Radiology have relied on a combination of imaging experience, recent literature and reference textbooks with no unified source of up-to-date and advanced.

The goal is to use beacons for room presence with Home Assistant smarthome automation. I always have my iPhone with me, so tracking the phone will quickly locate me in a room or at the front door when I come home.

iBeacon is the protocol (packet format) the beacon will emit. Eddystone and AltBeacon are other protocols. Even though Apple defined iBeacon, any device, eg. Android, can listen to iBeacon packets. Beacon packets are emitted using Bluetooth Low Energy (BLE).

I chose RadBeacon’s “Dot” beacon over their “Chip” beacon because the Dot has a replaceable coin battery, CR2032 (a popular coin battery size).

Radius Networks sells two versions of the Dot: Non-configurable ($11) and Configurable ($14). Get the Configurable model.

Download the RadBeacon app from the Apple app store. Launch the app. The first screen will be an empty list of beacons because you haven’t discovered any beacons yet.

Turn on the Dot by clicking the top of it (lighting bolt symbol button) once. The GREEN led will flash once, indicating the Dot is ON. To turn off the Dot, click the button once and the RED led will flash, indicating the Dot is OFF.

Radbeacon locator tent

With the Dot ON, press and hold the button for about 5 seconds until the GREEN led flashes twice. This indicates the Dot is in CONFIGURABLE mode (config mode, for short).

Swipe down (pull down) on the app’s first screen to scan for nearby beacons that are in config mode.

Your new beacon will appear in the list with its name, model, version, id, and battery status. Tap the row for the beacon to see detail and config options.

(I’m not using any of the UUIDs in this article)

In the next screen, you can configure the beacon’s name, type/protocol (iBeacon, Eddystone, AltBeacon), UUID, major & minor numbers, advertising rate, and transmit power.

To extend battery life, I decided on an Advertising Rate of 1 time per second (1000ms, or 1Hz), the lowest setting. This should be quick enough for room presence applications. For Transmit Power, see below.

After you setup everything, tap “Actions” in the top-right of the screen and tap “Apply” in the actions menu.

If it asks to calibrate to the measured power, tap “Yes”. The app will ask for the Dot’s PIN, which by default is 00000000 (eight zeros). Now the Dot is configured.

To determine a suitable Transmit Power, you can tap “Actions” in the top-right of the screen and then tap “Range” in the action menu.

This will run a utility that shows, in real-time, how close your iPhone is to the beacon in meters. “Immediate” means the phone is super-close to the beacon. “Unknown” means the phone doesn’t “see” the beacon and so is out-of-range. Play with different Transmit Power (measured in dBm) strengths and use the “Range” tool to tune the detection range to your liking.

You can copy-paste your Dot’s UUID from here to another app like OwnTracks:

If the Dot will be in an area where people could reconfig it: Tap “Actions” and then “Update PIN” to change the Dot’s default PIN, 00000000 (eight zeros), to a custom PIN. Save the PIN in your password manager, eg. LastPass. In reality, few will know what a beacon is and even fewer will want to reconfigure it. Most likely, someone will just steal it and play with it later, so maybe mount it high off the ground if you’re worried.

Click the Dot’s button to exit config mode (green led flashes once). Config mode consumes a lot of battery, so exit config mode as soon as possible after you are done configuring your Dot. The Dot should automatically exit config mode after 30 minutes (not tested).

There was an academic project that estimated the battery life of the Dot. Title of the paper is “ARCTIC: An IoT-based System for Child Tracking in Day Care”.

Radbeacon

#

With Eddystone™, the new beacon format from Google, developers making beacon-enabled apps now have more options than ever. If you’re looking to build a new beacon-enabled app, or if you already have beacon apps, it’s important to understand what Eddystone can do.

What is Eddystone?

Eddystone has significant differences from the other major standards. The first Bluetooth LE beacon type to gain popularity was the Apple-proprietary iBeacon™ standard starting in late 2013. It has since been joined by the open-source AltBeacon standard and the various, closed proprietary systems. Now Eddystone adds yet another open source standard to the mix.

Radbeacons

EddystoneAltBeaconiBeaconProprietary
Range~50 meters~50 meters~50 meters~50 meters
Official Android SupportYESYESUnofficialYES
Official iOS SupportYESYESYESYES
Open standard?YESYESNONO
Multiple VendorsYESYESYESNO
Identifiers10 byte namespace16 byte id116 byte UUIDsingle
6 byte instance2 byte id22 byte major
2 byte id32 byte minor
Interoperable with iBeacon?NOYESYESNO
IntroducedJuly 2015July 2014June 2013Various

Since all of these beacon types are based on Bluetooth LE, they all have a similar radio range of up to 50 meters. Where they start to differ is in how you use them. All of these beacon types work on iOS, but Apple provides no official support for iBeacon on the Android platform. The AltBeacon standard adds that official support through a beacon standard that is open source and cross-platform.

The new Eddystone standard doesn’t provide the same iBeacon interoperability, because the identifier layout of Eddystone is incompatible with the iBeacon standard. Where both iBeacon and AltBeacon use a three-part identifier that totals 20 bytes, Eddystone uses a two-part identifier totalling only 16 bytes. This can make it tricky to use Eddystone alongside existing or new iBeacon-based systems. This decision, however, allows Google to put some innovative capabilities into Eddystone.

Multi-Beacon Capability

RadBeaconRadBeacon

Eddystone supports the concept of telemetry, a special type of beacon transmission that contains metadata about how the beacon is operating. This includes both battery level and temperature.

Eddystone also supports the multi-beacon concept. This means that a single hardware beacon sends out multiple transmissions that can be used independently. The telemetry packet transmission, separate from the main identifier packet, is one example of this. While Google is not the first company to invent multi-beacons (Radius Networks developed an iBeacon/AltBeacon interleaving model over a year ago), it is the first one to combine multi-beacons into a single standard.

The multi-beacon consists of three separate beacon frames:

  • Eddystone-UID. This is the main transmission and consists of a two part identifier (10 bytes for the namespace and 6 bytes for the instance) as well as a one-byte transmitter power calibration value, which is used for distance estimates.
  • Eddystone-TLM. This contains telemetry information including the packet version (always a one-byte value of 0 for now), the beacon temperature (2 bytes), the beacon battery level (2 bytes), the number of seconds the beacon has been powered (2 bytes) and the number of “PDU” packet transmissions the beacon has sent (2 bytes.)
  • Eddystone-URL. This is an alternative transmission to the Eddystone-UID that sends out a compressed 17 byte URL instead of a numeric identifier. The idea is that an app detecting the beacon can go directly to this URL without the app having to convert a beacon numeric identifier to destination web address. This Eddystone frame is the new replacement for the existing URI Beacon, an open standard also sponsored by Google.

In addition to the above, Eddystone actually uses a fourth frame, which is a standard iBeacon frame. The primary purpose of this frame is so Eddystone can leverage the iBeacon standard’s special ability to wake up iOS apps in the background, at which time they can start consuming the three frames above. That said, there’s nothing stopping you from using the iBeacon frame for your own purposes.

Choosing Which Frames to Use

Not all of these frames have to be used at the same time. In fact, beacons based on Eddystone can be configured to turn off some of these frames to save battery power or reduce noise.

The first choice you probably want to make is whether you want to use the Eddystone-URL capability. The main advantage of Eddystone-URL is that it allows you to build your app and then have completely different people deploy beacons that send your app to specific URLs. If this capability matches your use case, then it is a good choice. For more general beacon use cases you probably want to stick to Eddystone-UID.

With that decision out of the way, you can decide whether you want to use telemetry. Eddystone-TLM typically isn’t transmitted as often as the other frames—about once per second. It therefore has less of an impact on battery and radio noise. If you know you won’t be using telemetry, you can always disable it.

Setting Your Beacon Identifiers

Eddystone has a two part identifier that consists of a 10 byte namespace identifier and a 6 byte instance identifier. You typically use the namespace ID to signify your company or organization, so you know when a beacon is yours.

You can generate a namespace identifier with a UUID generator. But because standard UUIDs are 16 byte identifiers and namespace identifiers are only 10 bytes, you drop the middle six bytes from the UUID. This technique is especially useful if you already have an iBeacon Proximity UUID assigned for your company or organization, allowing you to use an equivalent organizational identifier for both formats. Below is an example of such a conversion.

Google also prescribes a second technique for generating a UID out of a URL. So you can algorithmically convert a domain name you own like http://www.radiusnetworks.com into a unique namespace id. Because this technique uses a one way hashing algorithm, there is no way to convert the namespace id back to a URL. You can use tools like RadBeacon Android to generate namespace identifiers from both URLs and UUIDs, and configure the field directly into the beacon.

The instance identifier is meant to uniquely identify a specific beacon. You usually will want to put a serial number in each one of these. If you have two beacons, you can give the first one an instance id of 1, and the second one an instance id of 2. Because the field is 6 bytes long (48 bits), there are 248 = 281 trillion combinations. That’s a lot of beacons.

For the purposes of this example, we will assume that the beacon is using a namespace ID of 0x2f234454f4911ba9ffa6 (the Radius Networks default) and an instance id of 1. These are the same identifiers that are pre-configure into the Beacons with ship with Eddystone support.

Getting Beacons

If you want to get started with Eddystone, you can buy a developer kit that includes hardware beacons from our Radius Networks store. These beacons can be configured with our free Android RadBeacon config app, which allows you to set the identifiers and URL (in case you are using Eddystone-URL) and set transmitter power and other options.

Building Apps

To learn more details about how you can build an app with Eddystone, see our companion post Building Apps With Eddystone.

Visit us here to access to more Radius Networks products that support Eddystone.

Radbeacon Dot Manual

Subscribe to the Radius Networks newsletter
for the latest and greatest.

Radbeacon Chip

Very infrequent updates about our products, services or events.
We will never sell or share your contact information.





Coments are closed