Software and Firmware for a Custom BTLE Beacon Device