We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2019-12-06
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Bluetooth®
Downloaded: 3486 times
Not followed.
License: MIT license
The BLE 7 click is a Click boardâ„¢ witch provide BT/BLE connectivity for any embedded application. BLE 7 click based on the BGX13S22GA-V31, a module from Silicon Labs.
Do you want to subscribe in order to receive notifications regarding "BLE 7 click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "BLE 7 click" changes.
Do you want to report abuse regarding "BLE 7 click".
Library Description
This library offers a choice to communicate with the BLE 7 Click board (BGX 13P22GAV21 module). Library can send commands, configurations, status request, pairing request or any other data. Also can receive any response from the BGX module, including confirmed or unconfirmed response (answer), module status, connection status, and any transferred data from the other BGX module. Any BLE 7 click can be configured to work as central (server, master) device or as peripheral (client, slave) device. For more details check documentation.
Key functions:
void ble7_uart_isr( void )
- This function reads response bytes from the BGX module and sets flag after each received byteuint8_t ble7_response_ready( void )
- This function checks does response ready or not.void ble7_send( uint8_t *tx_data )
- This function allows user to transmit data to the BGX module.Examples description
The application is composed of three sections :
void applicationTask()
{
rx_data = UART_Rdy_Ptr();
if (rx_data != _RX_NOT_READY)
{
rx_data = UART_Rd_Ptr();
checkRX();
}
logRsp();
}
Additional Functions :
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.