mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 15:39:59 +00:00
ble client: removed le_event definition
This commit is contained in:
parent
5917a5c529
commit
746c7f9e77
@ -35,28 +35,12 @@
|
|||||||
#ifndef btstack_gatt_client_h
|
#ifndef btstack_gatt_client_h
|
||||||
#define btstack_gatt_client_h
|
#define btstack_gatt_client_h
|
||||||
|
|
||||||
|
#include "hci.h"
|
||||||
|
|
||||||
#if defined __cplusplus
|
#if defined __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//*************** le client
|
|
||||||
|
|
||||||
typedef struct le_event {
|
|
||||||
uint8_t type;
|
|
||||||
} le_event_t;
|
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
BLE_PERIPHERAL_OK = 0,
|
|
||||||
BLE_PERIPHERAL_IN_WRONG_STATE,
|
|
||||||
BLE_PERIPHERAL_DIFFERENT_CONTEXT_FOR_ADDRESS_ALREADY_EXISTS,
|
|
||||||
BLE_PERIPHERAL_NOT_CONNECTED,
|
|
||||||
BLE_VALUE_TOO_LONG,
|
|
||||||
BLE_PERIPHERAL_BUSY,
|
|
||||||
BLE_CHARACTERISTIC_NOTIFICATION_NOT_SUPPORTED,
|
|
||||||
BLE_CHARACTERISTIC_INDICATION_NOT_SUPPORTED
|
|
||||||
} le_command_status_t;
|
|
||||||
|
|
||||||
|
|
||||||
//*************** gatt client
|
//*************** gatt client
|
||||||
typedef enum {
|
typedef enum {
|
||||||
P_READY,
|
P_READY,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user