bluetooth-llapi  2.0.1
bluetooth-llapi
Data Structures | Macros
LLBLUETOOTH_defines.h File Reference

MicroEJ BLUETOOTH low level API. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  LLBLUETOOTH_address_t
 
struct  LLBLUETOOTH_uuid_t
 
struct  LLBLUETOOTH_gatts_attribute_t
 
struct  LLBLUETOOTH_gatts_service_t
 
struct  LLBLUETOOTH_gattc_attribute_t
 
struct  LLBLUETOOTH_event_t
 
struct  LLBLUETOOTH_event_gap_scan_result_t
 
struct  LLBLUETOOTH_event_gap_scan_completed_t
 
struct  LLBLUETOOTH_event_gap_advertisement_completed_t
 
struct  LLBLUETOOTH_event_gap_connect_failed_t
 
struct  LLBLUETOOTH_event_gap_connected_t
 
struct  LLBLUETOOTH_event_gap_disconnected_t
 
struct  LLBLUETOOTH_event_gap_pair_request_t
 
struct  LLBLUETOOTH_event_gap_pair_completed_t
 
struct  LLBLUETOOTH_event_gap_passkey_request_t
 
struct  LLBLUETOOTH_event_gap_passkey_generated_t
 
struct  LLBLUETOOTH_event_gattc_discovery_result_t
 
struct  LLBLUETOOTH_event_gattc_discovery_completed_t
 
struct  LLBLUETOOTH_event_gattc_read_completed_t
 
struct  LLBLUETOOTH_event_gattc_write_completed_t
 
struct  LLBLUETOOTH_event_gattc_notification_received_t
 
struct  LLBLUETOOTH_event_gatts_read_request_t
 
struct  LLBLUETOOTH_event_gatts_write_request_t
 
struct  LLBLUETOOTH_event_gatts_notification_sent_t
 

Macros

#define ATTRIBUTE_TYPE_CHARACTERISTIC   (0)
 
#define ATTRIBUTE_TYPE_DESCRIPTOR   (1)
 
#define ATTRIBUTE_PERMISSION_NONE   (0x00)
 
#define ATTRIBUTE_PERMISSION_READ   (0x01)
 
#define ATTRIBUTE_PERMISSION_READ_ENCRYPT   (0x02)
 
#define ATTRIBUTE_PERMISSION_READ_AUTH   (0x04)
 
#define ATTRIBUTE_PERMISSION_WRITE   (0x08)
 
#define ATTRIBUTE_PERMISSION_WRITE_ENCRYPT   (0x10)
 
#define ATTRIBUTE_PERMISSION_WRITE_AUTH   (0x20)
 
#define ADDRESS_TYPE_PUBLIC   (0)
 
#define ADDRESS_TYPE_PRIVATE   (1)
 
#define SCAN_FILTER_ACTION_NONE   (0)
 
#define SCAN_FILTER_ACTION_FIELD_EXISTS   (1)
 
#define SCAN_FILTER_ACTION_FIELD_EQUALS   (2)
 
#define SCAN_FILTER_ACTION_FIELD_STARTS_WITH   (3)
 
#define EVENT_GAP_SCAN_RESULT   (1)
 
#define EVENT_GAP_SCAN_COMPLETED   (2)
 
#define EVENT_GAP_ADVERTISEMENT_COMPLETED   (3)
 
#define EVENT_GAP_CONNECT_FAILED   (4)
 
#define EVENT_GAP_CONNECTED   (5)
 
#define EVENT_GAP_DISCONNECTED   (6)
 
#define EVENT_GAP_PAIR_REQUEST   (7)
 
#define EVENT_GAP_PAIR_COMPLETED   (8)
 
#define EVENT_GAP_PASSKEY_REQUEST   (9)
 
#define EVENT_GAP_PASSKEY_GENERATED   (10)
 
#define EVENT_GATTC_DISCOVERY_RESULT   (11)
 
#define EVENT_GATTC_DISCOVERY_COMPLETED   (12)
 
#define EVENT_GATTC_READ_COMPLETED   (13)
 
#define EVENT_GATTC_WRITE_COMPLETED   (14)
 
#define EVENT_GATTC_NOTIFICATION_RECEIVED   (15)
 
#define EVENT_GATTS_READ_REQUEST   (16)
 
#define EVENT_GATTS_WRITE_REQUEST   (17)
 
#define EVENT_GATTS_NOTIFICATION_SENT   (18)
 

Detailed Description

MicroEJ BLUETOOTH low level API.

Author
MicroEJ Developer Team
Version
2.0.1
Date
17 November 2020

Definition in file LLBLUETOOTH_defines.h.

Macro Definition Documentation

§ ADDRESS_TYPE_PUBLIC

#define ADDRESS_TYPE_PUBLIC   (0)

Address types

Definition at line 40 of file LLBLUETOOTH_defines.h.

§ ATTRIBUTE_PERMISSION_NONE

#define ATTRIBUTE_PERMISSION_NONE   (0x00)

Attribute permissions

Definition at line 31 of file LLBLUETOOTH_defines.h.

§ ATTRIBUTE_TYPE_CHARACTERISTIC

#define ATTRIBUTE_TYPE_CHARACTERISTIC   (0)

Attribute types

Definition at line 27 of file LLBLUETOOTH_defines.h.

§ EVENT_GAP_SCAN_RESULT

#define EVENT_GAP_SCAN_RESULT   (1)

Event types

Definition at line 50 of file LLBLUETOOTH_defines.h.

§ SCAN_FILTER_ACTION_NONE

#define SCAN_FILTER_ACTION_NONE   (0)

Scan filter actions

Definition at line 44 of file LLBLUETOOTH_defines.h.