SG RFID nRF51822 fork

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_ias_c.h File Reference

ble_ias_c.h File Reference

Go to the source code of this file.

Data Structures

struct  ble_ias_c_evt_t
 Immediate Alert Service client event. More...
struct  ble_ias_c_s
 IAS Client structure. More...
struct  ble_ias_c_init_t
 IAS Client init structure. More...

Typedefs

typedef struct ble_ias_c_s ble_ias_c_t
 IAS Client structure.
typedef void(* ble_ias_c_evt_handler_t )(ble_ias_c_t *p_ias_c, ble_ias_c_evt_t *p_evt)
 Immediate Alert Service client event handler type.

Enumerations

enum  ble_ias_c_evt_type_t { BLE_IAS_C_EVT_SRV_DISCOVERED, BLE_IAS_C_EVT_SRV_NOT_FOUND, BLE_IAS_C_EVT_DISCONN_COMPLETE }
 

Immediate Alert Service client event type.

More...

Functions

uint32_t ble_ias_c_init (ble_ias_c_t *p_ias_c, const ble_ias_c_init_t *p_ias_c_init)
 Function for initializing the Immediate Alert Service client.
uint32_t ble_ias_c_send_alert_level (const ble_ias_c_t *p_ias_c, uint8_t alert_level)
 Function for sending alert level to the peer.
void ble_ias_c_on_ble_evt (ble_ias_c_t *p_ias_c, const ble_evt_t *p_ble_evt)
 Function for handling the Application's BLE Stack events for Immediate Alert Service client.
static __INLINE bool ble_ias_c_is_ias_discovered (const ble_ias_c_t *p_ias_c)
 Function for checking whether the peer's Immediate Alert Service instance and the alert level characteristic have been discovered.

Detailed Description

Definition in file ble_ias_c.h.