|
SmartSnippets DA1459x SDK
|
Common definitions for BLE API. More...
Go to the source code of this file.
Data Structures | |
| struct | ble_evt_hdr_t |
| struct | bd_address |
| struct | own_address |
| struct | irk_t |
| struct | ble_evt_reset_completed_t |
Macros | |
| #define | BLE_APP_NOTIFY_MASK (1 << 0) |
| #define | BLE_EVT_CAT_FIRST(CAT) (CAT << 8) |
| #define | LOW_POWER_ALL_PHYS ( 0x01 ) |
| #define | HIGH_PERFORMANCE_ALL_PHYS ( 0x02 ) |
Typedefs | |
| typedef enum addr_types | addr_type_t |
| typedef enum own_addr_types | own_addr_type_t |
| typedef struct bd_address | bd_address_t |
| typedef struct own_address | own_address_t |
Functions | |
| ble_error_t | ble_register_app (void) |
| Register application in BLE framework. More... | |
| ble_error_t | ble_enable (void) |
| Enable BLE module. More... | |
| ble_error_t | ble_reset (void) |
| Reset BLE module. More... | |
| ble_error_t | ble_central_start (void) |
| Start the BLE module as a central device. More... | |
| ble_error_t | ble_peripheral_start (void) |
| Start the BLE module as a peripheral device. More... | |
| ble_evt_hdr_t * | ble_get_event (bool wait) |
| Get event from BLE event queue. More... | |
| bool | ble_has_event (void) |
| Checks if there's event pending in event queue. More... | |
| void | ble_handle_event_default (ble_evt_hdr_t *hdr) |
| Execute default event handler. More... | |
| ble_error_t | ble_read_tx_power (uint16_t conn_idx, tx_power_level_type_t type, uint8_t *tx_power) |
| Read controller TX power. More... | |
| __STATIC_INLINE bool | ble_address_cmp (const bd_address_t *addr1, const bd_address_t *addr2) |
| Compare two BD Addresses. More... | |
| const char * | ble_address_to_string (const bd_address_t *address) |
| Convert bd_address to string. More... | |
| bool | ble_address_from_string (const char *str, addr_type_t addr_type, bd_address_t *address) |
| Convert string to bd_address. More... | |
| ble_error_t | ble_set_fem_voltage_trim (uint8_t channel, uint8_t value) |
| Set FEM Voltage GPIO values for a specific channel. More... | |
Common definitions for BLE API.
Copyright (C) 2015-2023 Renesas Electronics Corporation and/or its affiliates. All rights reserved. Confidential Information.
This software ("Software") is supplied by Renesas Electronics Corporation and/or its affiliates ("Renesas"). Renesas grants you a personal, non-exclusive, non-transferable, revocable, non-sub-licensable right and license to use the Software, solely if used in or together with Renesas products. You may make copies of this Software, provided this copyright notice and disclaimer ("Notice") is included in all such copies. Renesas reserves the right to change or discontinue the Software at any time without notice.
THE SOFTWARE IS PROVIDED "AS IS". RENESAS DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. TO THE MAXIMUM EXTENT PERMITTED UNDER LAW, IN NO EVENT SHALL RENESAS BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE, EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. USE OF THIS SOFTWARE MAY BE SUBJECT TO TERMS AND CONDITIONS CONTAINED IN AN ADDITIONAL AGREEMENT BETWEEN YOU AND RENESAS. IN CASE OF CONFLICT BETWEEN THE TERMS OF THIS NOTICE AND ANY SUCH ADDITIONAL LICENSE AGREEMENT, THE TERMS OF THE AGREEMENT SHALL TAKE PRECEDENCE. BY CONTINUING TO USE THIS SOFTWARE, YOU AGREE TO THE TERMS OF THIS NOTICE.IF YOU DO NOT AGREE TO THESE TERMS, YOU ARE NOT PERMITTED TO USE THIS SOFTWARE.
1.8.16