nanobeacon 2.1.0.0
|
NanoBeacon Click is a compact add-on board that provides a powerful and efficient Bluetooth beacon solution. This board features the IN100, an ultra-low power Bluetooth 5.3 Beacon SoC from InPlay, that sets a new standard in beacon technology. Its ultra-low power consumption, enhanced privacy mode, and three beacon modes offer seamless compatibility with no Bluetooth programming required - plug and play. Its compact design houses two types of built-in memory (4Kb OTP and 4KB SRAM), UART and I2C interfaces, and a hardware security engine.
We provide a library for the NanoBeacon Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for NanoBeacon Click driver.
nanobeacon_cfg_setup
Config Object Initialization function. nanobeacon_init
Initialization function. nanobeacon_set_advertising
This function sets the device MAC address, interval and advertising raw data. nanobeacon_load_adv_to_ram
This function loads advertising data to RAM. nanobeacon_start_advertising
This function starts the advertising. This example demonstrates the use of NanoBeacon click board by setting the Eddystone URI advertisement to click boards webpage.
The demo application is composed of two sections :
Initializes the driver and logger.
Every 10 seconds, it restarts and configures the device for advertisement with the Eddystone URI beacon format set to click boards webpage: https://www.mikroe.com/click
During advertising, the click board should appear as an Eddystone URI beacon on the BLE Scanner application.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.