Getting close with beacons
One of the most popular Bluetooth LE devices are beacons. With beacons it is possible to add precision location awareness to mobile apps. They are becoming increasingly popular, and more and more apps are using them. A beacon is any device that provides a standard Bluetooth LE proximity service. Beacons are a very important IoT technology. Different vendors offer beacons with different capabilities. Some of them are battery-powered, and others are using a USB connection for charging. Beacons do not use a lot of energy, so a small, watch-sized battery can last for more than a year or even longer.
The support for Bluetooth beacons in Delphi is very similar to other supported cross-platform frameworks. The key beacons related types and classes are defined in the System.Beacon
unit. There is a non-visual TBeaconManager
class with many virtual abstract methods that are implemented by its platform-specific descendants that are available through the GetBeaconManager
class...