ble12
2.0.0.0
|
<PRVIH_PAR_RECENICA_SA_PRODUCT_PAGE_DA_ISPRATE_CELINU>
[click Product page](<CLICK_PRODUCT_PAGE_LINK>)
We provide a library for the BLE12 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 BLE12 Click driver.
ble12_cfg_setup
Config Object Initialization function. ble12_init
Initialization function. ble12_default_cfg
Click Default Configuration function. ble12_set_device_name
BLE 12 set device name function. ble12_set_op_mode
BLE 12 set operating mode function. ble12_send_cmd
BLE 12 sends the command function. This example reads and processes data from BLE 12 Click boardâ„¢.
The demo application is composed of two sections :
Initializes UART driver and logs UART. After driver initialization, the app performs a wake-up module, enters command mode, sets the device name and advertising time interval, and disconnects all connections. After that, the blinking of the yellow LED Indicates that the BLE 12 Click boardâ„¢ is ready for connection. After establishing the connection, the yellow LED is turned on.
This example demonstrates the use of the BLE 12 Click boardâ„¢. Reads the received data and parses it. Results are being sent to the Usart Terminal, where you can track their changes.
We have used the Serial Bluetooth Terminal Android application for the test and you can find it at the link: https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal
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.