Microchip® Advanced Software Framework

immediate_alert.h File Reference

Immediate Alert Service declarations.

Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.

#include "ble_manager.h"

Macros

#define IAS_CHARACTERISTIC_COUNT   (1)
 count of characteristics in immediate alert service More...
 
#define IAS_INCLUDED_SERVICE_COUNT   (0)
 count of included services in immediate alert service More...
 
#define INVALID_IAS_PARAM   (0xff)
 Invalid parameter written. More...
 

Typedefs

typedef enum immediate_alert_level immediate_alert_level_t
 

Enumerations

enum  immediate_alert_level {
  IAS_NO_ALERT,
  IAS_MID_ALERT,
  IAS_HIGH_ALERT
}
 

Functions

at_ble_status_t ias_primary_service_define (gatt_service_handler_t *ias_primary_service)
 Defining Immediate alert service to the attribute data base. More...
 
uint8_t ias_set_alert_value (at_ble_characteristic_changed_t *change_params, gatt_service_handler_t *ias_handler)
 sets the alert value of the immediate alert service More...
 
void init_immediate_alert_service (gatt_service_handler_t *immediate_alert_serv)
 Initialize the Immediate alert service with default values. More...