BLE event header files. More...
#include "ble_gapm.h"
#include "ble_gapc.h"
#include "ble_gatts.h"
#include "ble_gattc.h"
#include "ble_sec.h"
#include "ble_l2cap.h"
Go to the source code of this file.
Classes | |
struct | ble_evt_t |
BLE Event Information. More... | |
Macros | |
#define | BLE_COMMON_EVT_BASE 0x0100 |
BLE Common Event base. More... | |
#define | BLE_GAPM_EVT_BASE 0x0200 |
BLE GAP Management Event base. More... | |
#define | BLE_GAPC_EVT_BASE 0x0300 |
BLE GAP Connection Control Event base. More... | |
#define | BLE_GATTS_EVT_BASE 0x0400 |
BLE GATTS Event base. More... | |
#define | BLE_GATTC_EVT_BASE 0x0500 |
BLE GATTC Event base. More... | |
#define | BLE_GATT_COMMON_EVT_BASE 0x0600 |
BLE GATT Event base. More... | |
#define | BLE_SEC_EVT_BASE 0x0700 |
BLE Security Event base. More... | |
#define | BLE_L2CAP_EVT_BASE 0x0800 |
BLE L2CAP Event base. More... | |
Typedefs | |
typedef void(* | ble_evt_handler_t) (const ble_evt_t *p_evt) |
The BLE event handler type. More... | |
BLE event header files.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file ble_event.h.