Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
Insulin Delivery Service Client

This is the client for the Insulin Delivery Service. More...

Detailed Description

This is the client for the Insulin Delivery Service.

Data Structures

struct  st_ble_idc_evt_data_t
 Insulin Delivery Service Client event data. More...
 
struct  st_ble_idc_hdls_t
 Insulin Delivery Service attribute handles. More...
 
struct  st_ble_idc_init_param_t
 Insulin Delivery Service initialization parameters. More...
 
struct  st_ble_idc_connect_param_t
 Insulin Delivery Service Client connection parameters. More...
 
struct  st_ble_idc_disconnect_param_t
 Insulin Delivery Service disconnection parameters. More...
 
struct  st_ble_idc_idd_srcp_response_code_operand_t
 IDD Status Reader Control Point Response code operand. More...
 
struct  st_ble_idc_idd_srcp_reset_status_operand_t
 IDD Status Reader Control Point Reset status operand. More...
 
struct  st_ble_idc_idd_srcp_get_active_bolusids_response_operand_t
 IDD Status Reader Control Point Get Active Blus ID Response. More...
 
struct  st_ble_idc_idd_srcp_get_active_bolus_delivery_operand_t
 IDD Status Reader Control Point Get Active Blus Delivery. More...
 
struct  st_ble_idc_idd_srcp_get_active_bolus_delivery_response_operand_t
 IDD Status Reader Control Point Get Active Blus Delivery.Response. More...
 
struct  st_ble_idc_idd_srcp_get_active_basel_rate_delivery_response_operand_t
 IDD Status Reader Control Point Get Active Basal Rate Delivery Response. More...
 
struct  st_ble_idc_idd_srcp_get_total_daily_insulin_status_response_operand_t
 IDD Status Reader Control Point Get Total Daily Insulin Status Response. More...
 
struct  st_ble_idc_idd_srcp_get_counter_operand_t
 IDD Status Reader Control Point Get Counter. More...
 
struct  st_ble_idc_idd_srcp_get_counter_response_operand_t
 IDD Status Reader Control Point Get Counter Response. More...
 
struct  st_ble_idc_idd_srcp_get_delivered_insulin_response_operand_t
 IDD Status Reader Control Point Get Delivered Insulin Response. More...
 
struct  st_ble_idc_idd_srcp_get_insulin_onbord_response_operand_t
 IDD Status Reader Control Point Get Insulin On Board Response Response. More...
 
struct  st_ble_idc_idd_ccp_response_code_operand_t
 IDD Command CP Response Code Operand. More...
 
struct  st_ble_idc_idd_ccp_write_brp_template_operand_t
 IDD Command CP Write Basal Rate Profile Template Operand. More...
 
struct  st_ble_idc_idd_ccp_write_brp_template_response_operand_t
 IDD Command CP Write Basal Rate Profile Template Response Operand. More...
 
struct  st_ble_idc_idd_ccp_set_tbr_adjustment_operand_t
 DD Command CP Set TBR Adjustment Operand. More...
 
struct  st_ble_idc_idd_ccp_get_tbr_template_response_operand_t
 IDD Command CP Get TBR Template Response Operand. More...
 
struct  st_ble_idc_idd_ccp_set_tbr_template_operand_t
 IDD Command CP Set TBR Template Operand. More...
 
struct  st_ble_idc_idd_ccp_set_bolus_operand_t
 IDD Command CP Set Bolus Operand. More...
 
struct  st_ble_idc_idd_ccp_get_available_boluses_res_t
 IDD Command CP get available boluses. More...
 
struct  st_ble_idc_idd_ccp_get_bolus_template_response_operand_t
 IDD Command CP Set Bolus Operand. More...
 
struct  st_ble_idc_idd_ccp_reset_template_status_operand_t
 IDD Command CP Reset Template Status Operand. More...
 
struct  st_ble_idc_idd_ccp_active_prof_template_operand_t
 IDD Command CP Reset Template Status Response Operand. More...
 
struct  st_ble_idc_idd_ccp_write_ipt_operand_t
 IDD Command CP write isf profile template. More...
 
struct  st_ble_idc_idd_ccp_write_ipt_res_operand_t
 IDD Command CP Write ISF Profile Template Response. More...
 
struct  st_ble_idc_idd_ccp_write_irpt_operand_t
 IDD Command CP Write I2CHO Ratio Profile Template. More...
 
struct  st_ble_idc_idd_ccp_write_irpt_res_operand_t
 IDD Command CP Write I2CHO Ratio Profile Template Response. More...
 
struct  st_ble_idc_idd_ccp_write_tgrp_operand_t
 IDD Command CP Write Target Glucose Range Profile Template. More...
 
struct  st_ble_idc_idd_ccp_write_tgrp_response_operand_t
 IDD Command CP Write Target Glucose Range Profile Template. More...
 
struct  st_ble_idc_idd_cd_read_brpt_response_operand_t
 IDD Command Data Read Basal Rate Profile Template Response Operand. More...
 
struct  st_ble_idc_idd_cd_get_temstatus_details_response_t
 IDD Command Data Get Supported Template Details and Status Response Operand. More...
 
struct  st_ble_idc_idd_cd_read_isfpt_response_t
 IDD Command Data Operand of Read ISF Profile Template Response. More...
 
struct  st_ble_idc_idd_cd_i2chorpt_response_t
 IDD Command Data Operand of Read I2CHO Ratio Profile Template Response. More...
 
struct  st_ble_idc_idd_cd_target_glucose_range_response_t
 IDD Command Data Operand of Read Target Glucose Range Profile Template Response. More...
 
struct  st_ble_idc_idd_history_data_ref_time_event_t
 IDD History Data Reference Time Event. More...
 
struct  st_ble_idc_idd_history_data_ref_time_baseoffset_event_t
 IDD History Data Reference Time Base Offset Event. More...
 
struct  st_ble_idc_idd_history_data_bolus_calculated_part_1_of_2_event_t
 IDD History Data Bolus Calculated Part 1 of 2 Event. More...
 
struct  st_ble_idc_idd_history_data_bolus_calculated_part_2_of_2_event_t
 IDD History Data Bolus Calculated Part 2 of 2 Event. More...
 
struct  st_ble_idc_idd_history_data_bolus_programmed_part_1_of_2_event_t
 IDD History Data Bolus Programmed Part 1 of 2 Event. More...
 
struct  st_ble_idc_idd_history_data_bolus_programmed_part_2_of_2_event_t
 IDD History Data Bolus Programmed Part 2 of 2 Event. More...
 
struct  st_ble_idc_idd_history_data_bolus_delivered_part_1_of_2_event_t
 IDD History Data Bolus Delivered Part 1 of 2 Event. More...
 
struct  st_ble_idc_idd_history_data_bolus_delivered_part_2_of_2_event_t
 IDD History Data Bolus Delivered Part 2 of 2 Event. More...
 
struct  st_ble_idc_idd_history_delivered_basal_rate_changed_event_t
 IDD History Data Bolus Delivered Basal Rate Changed Event. More...
 
struct  st_ble_idc_idd_history_tbr_adjustment_started_event_t
 IDD History Data TBR Adjustment Started Event. More...
 
struct  st_ble_idc_idd_history_tbr_adjustment_ended_event_t
 IDD History Data TBR Adjustment ended Event. More...
 
struct  st_ble_idc_idd_history_tbr_adjustment_changed_event_t
 IDD History Data TBR Adjustment Changed Event. More...
 
struct  st_ble_idc_idd_history_pro_template_activated_event_t
 IDD History Profile Template Activated. More...
 
struct  st_ble_idc_idd_history_brpt_time_block_changed_event_t
 IDD History Basal Rate Profile Template Time Block Changed. More...
 
struct  st_ble_idc_idd_history_total_daily_insulin_delivery_event_t
 IDD History Total Daily Insulin Delivery. More...
 
struct  st_ble_idc_idd_history_therapy_control_state_event_t
 IDD History Therapy Control State Changed. More...
 
struct  st_ble_idc_idd_history_operational_state_changed_event_t
 IDD History Therapy Control State Changed. More...
 
struct  st_ble_idc_idd_history_annunciation_status_changed_part_1_of_2_event_t
 IDD History Annunciation Status Changed Part 1 of 2. More...
 
struct  st_ble_idc_idd_history_annunciation_status_changed_part_2_of_2_event_t
 IDD History Annunciation Status Changed Part 2 of 2. More...
 
struct  st_ble_idc_idd_history_isfpt_time_block_changed_event_t
 IDD History ISF Profile Template Time Block Changed. More...
 
struct  st_ble_idc_idd_history_i2chorpt_time_block_changed_event_t
 IDD History I2CHO Ratio Profile Template Time Block Changed. More...
 
struct  st_ble_idc_idd_history_tgrpt_time_block_changed_event_t
 IDD History Target Glucose Range Profile Template Time Block Changed. More...
 
struct  st_ble_idc_idd_history_priming_done_event_t
 IDD History Priming Done. More...
 
struct  st_ble_idc_idd_history_bolus_template_changed_part_1_of_2_event_t
 IDD History Bolus Template Changed Part 1 of 2. More...
 
struct  st_ble_idc_idd_history_bolus_template_changed_part_2_of_2_event_t
 IDD History Bolus Template Changed Part 2 of 2. More...
 
struct  st_ble_idc_idd_history_tbr_template_changed_event_t
 IDD History TBR Template Changed. More...
 
struct  st_ble_idc_idd_history_max_bolus_amount_changed_event_t
 IDD History Max Bolus Amount Changed. More...
 
struct  st_ble_idc_idd_status_changed_t
 IDD Status Changed characteristic parameters. More...
 
struct  st_ble_idc_idd_status_t
 IDD Status characteristic parameters. More...
 
struct  st_ble_idc_idd_annunciation_status_t
 IDD Annunciation Status characteristic parameters. More...
 
struct  st_ble_idc_idd_features_t
 IDD Features characteristic parameters. More...
 
struct  st_ble_idc_idd_status_reader_control_point_t
 IDD Status Reader Control Point characteristic parameters. More...
 
struct  st_ble_idc_idd_command_control_point_t
 IDD Command Control Point characteristic parameters. More...
 
struct  st_ble_idc_idd_command_data_t
 IDD Command Data characteristic parameters. More...
 
struct  st_ble_idc_idd_record_access_control_point_t
 IDD Record Access Control Point characteristic parameters. More...
 
struct  st_ble_idc_idd_history_data_t
 IDD History Data characteristic parameters. More...
 

Macros

#define BLE_IDC_IDD_STATUS_CHANGED_LEN   (5)
 IDD Status Changed characteristic value length. More...
 
#define BLE_IDC_IDD_STATUS_LEN   (8)
 IDD Status characteristic value length. More...
 
#define BLE_IDC_IDD_ANNUNCIATION_STATUS_LEN   (19)
 IDD Annunciation Status characteristic value length. More...
 
#define BLE_IDC_IDD_FEATURES_LEN   (8)
 IDD Features characteristic value length. More...
 
#define BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_LEN   (20)
 IDD Status Reader Control Point characteristic value length. More...
 
#define BLE_IDC_IDD_COMMAND_CONTROL_POINT_LEN   (20)
 IDD Command Control Point characteristic value length. More...
 
#define BLE_IDC_IDD_COMMAND_DATA_LEN   (20)
 IDD Command Data characteristic value length. More...
 
#define BLE_IDC_IDD_RECORD_ACCESS_CONTROL_POINT_LEN   (20)
 IDD Record Access Control Point characteristic value length. More...
 
#define BLE_IDC_IDD_HISTORY_DATA_LEN   (20)
 IDD History Data characteristic value length. More...
 
#define BLE_IDS_PROCEDURE_ALREADY_IN_PROGRESS   (BLE_ERR_GROUP_GATT | 0xFE)
 Procedure Already in Progress error code. More...
 
#define BLE_IDS_INVALID_CRC   (BLE_ERR_GROUP_GATT | 0x81)
 Invalid CRC error code. More...
 
#define BLE_IDS_COUNTER_ERROR   (BLE_ERR_GROUP_GATT | 0x82)
 Counter Error error code. More...
 
#define BLE_IDS_DISCRIPTOR_IMPROPERLY_CONFIGURED   (BLE_ERR_GROUP_GATT | 0xFD)
 Discriptor Improperly Configured error code. More...
 
#define BLE_IDC_RACP_OPERAND_LENGTH   (15)
 racp operand length More...
 

Typedefs

typedef void(* ble_idc_app_cb_t) (uint16_t type, ble_status_t result, st_ble_idc_evt_data_t *p_data)
 Insulin Delivery Service Client event callback. More...
 

Enumerations

enum  e_ble_idc_opcode_racp_t {
  BLE_IDC_OPCODE_RACP_RESPONSE_CODE = 0x0F,
  BLE_IDC_OPCODE_RACP_REPORT_STORED_RECORDS = 0x33,
  BLE_IDC_OPCODE_RACP_DELETE_STORED_RECORDS = 0x3C,
  BLE_IDC_OPCODE_RACP_ABORT_OPERATION = 0x55,
  BLE_IDC_OPCODE_RACP_REPORT_NUMBER_OF_STORED_RECORDS = 0x5A,
  BLE_IDC_OPCODE_RACP_RESPONSE_NUMBER_OF_STORED_RECORDS = 0x66
}
 Op Code enumeration. More...
 
enum  e_ble_idc_operator_racp_t {
  BLE_IDC_OPERATOR_RACP_NULL = 0x0F,
  BLE_IDC_OPERATOR_RACP_ALL_RECORDS = 0x33,
  BLE_IDC_OPERATOR_RACP_LESS_THAN_OR_EQUAL_TO = 0x3C,
  BLE_IDC_OPERATOR_RACP_GREATER_THAN_OR_EQUAL_TO = 0x55,
  BLE_IDC_OPERATOR_RACP_WITHIN_RANGE_OF_INCLUSIVE = 0x5A,
  BLE_IDC_OPERATOR_RACP_MOST_RECENT_RECORD = 0x66,
  BLE_IDC_OPERATOR_RACP_OLDEST_RECORD = 0x69
}
 Operator enumeration. More...
 
enum  e_ble_idc_filter_type_racp_t {
  BLE_IDC_FILTER_TYPE_RACP_SEQUENCE_NUMBER = 0x0F,
  BLE_IDC_FILTER_TYPE_RACP_SEQ_NUM_FILTER_BY_REFERENECE_TIME_EVENT = 0x33,
  BLE_IDC_FILTER_TYPE_RACP_SEQ_NUM_FILTER_BY_NON_REFERENCE_TIME_EVENT = 0x3C
}
 Filter Type enumeration. More...
 
enum  e_ble_idc_response_code_racp_t {
  BLE_IDC_RESPONSE_CODE_RACP_OPCODE_NOT_SUPPORTED = 0x02,
  BLE_IDC_RESPONSE_CODE_RACP_INVALID_OPERATOR = 0x03,
  BLE_IDC_RESPONSE_CODE_RACP_OPERATOR_NOT_SUPPORTED = 0x04,
  BLE_IDC_RESPONSE_CODE_RACP_INVALID_OPERAND = 0x05,
  BLE_IDC_RESPONSE_CODE_RACP_NO_RECORDS_FOUND = 0x06,
  BLE_IDC_RESPONSE_CODE_RACP_ABORT_UNSUCCESSFUL = 0x07,
  BLE_IDC_RESPONSE_CODE_RACP_OPERAND_NOT_SUPPORTED = 0x09,
  BLE_IDC_RESPONSE_CODE_RACP_PROCEDURE_NOT_APPLICABLE = 0x0A,
  BLE_IDC_RESPONSE_CODE_RACP_SUCCESS = 0xF0
}
 Response Code enumeration. More...
 
enum  e_ble_idc_event_t {
  BLE_IDC_EVENT_IDD_STATUS_CHANGED_HDL_VAL_IND,
  BLE_IDC_EVENT_IDD_STATUS_CHANGED_READ_RSP,
  BLE_IDC_EVENT_IDD_STATUS_HDL_VAL_IND,
  BLE_IDC_EVENT_IDD_STATUS_READ_RSP,
  BLE_IDC_EVENT_IDD_ANNUNCIATION_STATUS_HDL_VAL_IND,
  BLE_IDC_EVENT_IDD_ANNUNCIATION_STATUS_READ_RSP,
  BLE_IDC_EVENT_IDD_FEATURES_READ_RSP,
  BLE_IDC_EVENT_IDD_STATUS_READER_CONTROL_POINT_HDL_VAL_IND,
  BLE_IDC_EVENT_IDD_STATUS_READER_CONTROL_POINT_WRITE_RSP,
  BLE_IDC_EVENT_IDD_COMMAND_CONTROL_POINT_HDL_VAL_IND,
  BLE_IDC_EVENT_IDD_COMMAND_CONTROL_POINT_WRITE_RSP,
  BLE_IDC_EVENT_IDD_COMMAND_DATA_HDL_VAL_NTF,
  BLE_IDC_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_HDL_VAL_IND,
  BLE_IDC_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_WRITE_RSP,
  BLE_IDC_EVENT_IDD_HISTORY_DATA_HDL_VAL_NTF,
  BLE_IDC_EVENT_CLI_CNFG_WRITE_RSP,
  BLE_IDC_EVENT_ERROR_RSP
}
 Insulin Delivery Service Client event type. More...
 
enum  e_ble_idc_idd_status_therapy_control_state_t {
  BLE_IDC_IDD_STATUS_THERAPY_CONTROL_STATE_STOP = 0x33,
  BLE_IDC_IDD_STATUS_THERAPY_CONTROL_STATE_PAUSE = 0x3c,
  BLE_IDC_IDD_STATUS_THERAPY_CONTROL_STATE_RUN = 0x55,
  BLE_IDC_IDD_STATUS_THERAPY_CONTROL_STATE_UNDETERMINED = 0x0F
}
 Therapy Control State enumeration. More...
 
enum  e_ble_idc_idd_status_t {
  BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_OFF = 0x33,
  BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_STANDBY = 0x3c,
  BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_PREPARING = 0x55,
  BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_PRIMING = 0x5A,
  BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_WAITING = 0x66,
  BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_READY = 0x96,
  BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_UNDETERMINED = 0x0F
}
 Operational State enumeration. More...
 
enum  e_ble_idc_idd_annunciation_status_type_t {
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_SYSTEM_ISSUE = 0x000F,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_MECHANICAL_ISSUE = 0x0033,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_OCCLUSION_DETECTED = 0x003C,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_ISSUE = 0x0055,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_EMPTY = 0x005A,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_LOW = 0x0066,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_PRIMING_ISSUE = 0x0069,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_INFUSION_SET_INCOMPLETE = 0x0096,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_INFUSION_SET_DETACHED = 0x0099,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_POWER_SOURCE_INSUFFICIENT = 0x00A5,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_EMPTY = 0x00AA,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_LOW = 0x00C3,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_MEDIUM = 0x00CC,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_FULL = 0x00F0,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TEMPERATURE_OUT_OF_RANGE = 0x00FF,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_AIR_PRESSURE_OUT_OF_RANGE = 0x0303,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BOLUS_CANCELED = 0x030C,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TBR_OVER = 0x0330,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TBR_CANCELED = 0x033F,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_MAX_DELIVERY = 0x0356,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_DATE_TIME_ISSUE = 0x0359,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TEMPERATURE = 0x0365
}
 Annunciation Type enumeration. More...
 
enum  e_ble_idc_idd_annunciation_status_status_t {
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_PENDING = 0x33,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_SNOOZED = 0x3c,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_CONFIRMED = 0x55,
  BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_UNDETERMINED = 0x0F
}
 Annunciation Status enumeration. More...
 
enum  e_ble_idc_idd_status_reader_control_point_t {
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_RESPONSE_CODE = 0x0303,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_RESET_STATUS = 0x030C,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_IDC = 0x0330,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_IDC_RESPONSE = 0x033F,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_DELIVERY = 0x0356,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_DELIVERY_RESPONSE = 0x0359,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BASAL_RATE_DELIVERY = 0x0365,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BASAL_RATE_DELIVERY_RESPONSE = 0x036A,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_TOTAL_DAILY_INSULIN_STATUS = 0x0395,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_TOTAL_DAILY_INSULIN_STATUS_RESPONSE = 0x039A,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_COUNTER = 0x03A6,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_COUNTER_RESPONSE = 0x03A9,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_DELIVERED_INSULIN = 0x03C0,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_DELIVERED_INSULIN_RESPONSE = 0x03CF,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_INSULIN_ON_BOARD = 0x03F3,
  BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_INSULIN_ON_BOARD_RESPONSE = 0x03FC
}
 Op Code enumeration. More...
 
enum  e_ble_idc_response_code_srcp_t {
  BLE_IDC_RESPONSE_CODE_SRCP_SUCCESS = 0xF0,
  BLE_IDC_RESPONSE_CODE_SRCP_OPCODE_NOT_SUPPORTED = 0x70,
  BLE_IDC_RESPONSE_CODE_SRCP_INVALID_OPERAND = 0x71,
  BLE_IDC_RESPONSE_CODE_SRCP_PROCEDURE_NOT_COMPLETED = 0x72,
  BLE_IDC_RESPONSE_CODE_SRCP_PARAMETER_OUT_OF_RANGE = 0x73,
  BLE_IDC_RESPONSE_CODE_SRCP_PROCEDURE_NOT_APPLICABLE = 0x74
}
 The Response Code Values associated with the IDD Status Reader CP. More...
 
enum  e_ble_idc_idd_command_control_point_t {
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESPONSE_CODE = 0x0F55,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_THERAPY_CONTROL_STATE = 0x0F5A,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_FLIGHT_MODE = 0x0F66,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SNOOZE_ANNUNCIATION = 0x0F69,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SNOOZE_ANNUNCIATION_RESPONSE = 0x0F96,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_CONFIRM_ANNUNCIATION = 0x0F99,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_CONFIRM_ANNUNCIATION_RESPONSE = 0x0FA5,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE = 0x0FAA,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE = 0x0FC3,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE = 0x0FCC,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE = 0x0FF0,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_ADJUSTMENT = 0x0FFF,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_TBR_ADJUSTMENT = 0x1111,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TBR_TEMPLATE = 0x111E,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TBR_TEMPLATE_RESPONSE = 0x1122,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_TEMPLATE = 0x112D,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_TEMPLATE_RESPONSE = 0x1144,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS = 0x114B,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_RESPONSE = 0x1177,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_BOLUS = 0x1178,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_BOLUS_RESPONSE = 0x1187,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_AVAILABLE_BOLUSES = 0x1188,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_AVAILABLE_BOLUSES_RESPONSE = 0x11B4,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_BOLUS_TEMPLATE = 0x11BB,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_BOLUS_TEMPLATE_RESPONSE = 0x11D2,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_TEMPLATE = 0x11DD,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_TEMPLATE_RESPONSE = 0x11E1,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS = 0x11EE,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS_RESPONSE = 0x1212,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_TEMPLATE_STATUS = 0x121D,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_TEMPLATE_STATUS_RESPONSE = 0x1221,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_ACTIVATE_PROFILE_TEMPLATES = 0x122E,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_ACTIVATE_PROFILE_TEMPLATES_RESPONSE = 0x1247,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES = 0x1248,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES_RESPONSE = 0x1274,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_START_PRIMING = 0x127B,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_STOP_PRIMING = 0x1284,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_INITIAL_RESERVOIR_FILL_LEVEL = 0x128B,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_RESERVOIR_INSULIN_OPERATION_TIME = 0x12B7,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_ISF_PROFILE_TEMPLATE = 0x12B8,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_ISF_PROFILE_TEMPLATE_RESPONSE = 0x12D1,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE = 0x12DE,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE_RESPONSE = 0x12E2,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE = 0x12ED,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE = 0x1414,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE = 0x141B,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE = 0x1427,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE = 0x1428,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE = 0x1441,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE = 0x144E,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE = 0x1472,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_MAX_BOLUS_AMOUNT = 0x147D,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_MAX_BOLUS_AMOUNT_RESPONSE = 0x1482,
  BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_MAX_BOLUS_AMOUNT = 0x148D
}
 Op Code enumeration. More...
 
enum  e_ble_idc_response_code_ccp_t {
  BLE_IDC_RESPONSE_CODE_CCP_SUCCESS = 0xF0,
  BLE_IDC_RESPONSE_CODE_CCP_OPCODE_NOT_SUPPORTED = 0x70,
  BLE_IDC_RESPONSE_CODE_CCP_INVALID_OPERAND = 0x71,
  BLE_IDC_RESPONSE_CODE_CCP_PROCEDURE_NOT_COMPLETED = 0x72,
  BLE_IDC_RESPONSE_CODE_CCP_PARAMETER_OUT_OF_RANGE = 0x73,
  BLE_IDC_RESPONSE_CODE_CCP_PROCEDURE_NOT_APPLICABLE = 0x74,
  BLE_IDC_RESPONSE_CODE_CCP_PLAUSIBILITY_CHECK_FAILED = 0x75,
  BLE_IDC_RESPONSE_CODE_CCP_MAXIMUM_BOLUS_NUMBER_REACHED = 0x76
}
 The Response Code Values associated with the IDD Command CP. More...
 
enum  e_ble_idc_idd_command_data_t {
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESPONSE_CODE = 0x0F55,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_THERAPY_CONTROL_STATE = 0x0F5A,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_FLIGHT_MODE = 0x0F66,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SNOOZE_ANNUNCIATION = 0x0F69,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SNOOZE_ANNUNCIATION_RESPONSE = 0x0F96,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CONFIRM_ANNUNCIATION = 0x0F99,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CONFIRM_ANNUNCIATION_RESPONSE = 0x0FA5,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE = 0x0FAA,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE = 0x0FC3,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE = 0x0FCC,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE = 0x0FF0,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_ADJUSTMENT = 0x0FFF,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_TBR_ADJUSTMENT = 0x1111,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TBR_TEMPLATE = 0x111E,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TBR_TEMPLATE_RESPONSE = 0x1122,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_TEMPLATE = 0x112D,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_TEMPLATE_RESPONSE = 0x1144,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS = 0x114B,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_RESPONSE = 0x1177,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_BOLUS = 0x1178,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_BOLUS_RESPONSE = 0x1187,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_AVAILABLE_BOLUSES = 0x1188,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_AVAILABLE_BOLUSES_RESPONSE = 0x11B4,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_BOLUS_TEMPLATE = 0x11BB,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_BOLUS_TEMPLATE_RESPONSE = 0x11D2,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_TEMPLATE = 0x11DD,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_TEMPLATE_RESPONSE = 0x11E1,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS = 0x11EE,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS_RESPONSE = 0x1212,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_TEMPLATE_STATUS = 0x121D,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_TEMPLATE_STATUS_RESPONSE = 0x1221,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_ACTIVATE_PROFILE_TEMPLATES = 0x122E,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_ACTIVATE_PROFILE_TEMPLATES_RESPONSE = 0x1247,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES = 0x1248,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES_RESPONSE = 0x1274,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_START_PRIMING = 0x127B,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_STOP_PRIMING = 0x1284,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_INITIAL_RESERVOIR_FILL_LEVEL = 0x128B,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_RESERVOIR_INSULIN_OPERATION_TIME = 0x12B7,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_ISF_PROFILE_TEMPLATE = 0x12B8,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_ISF_PROFILE_TEMPLATE_RESPONSE = 0x12D1,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE = 0x12DE,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE_RESPONSE = 0x12E2,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE = 0x12ED,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE = 0x1414,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE = 0x141B,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE = 0x1427,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE = 0x1428,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE = 0x1441,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE = 0x144E,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE = 0x1472,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_MAX_BOLUS_AMOUNT = 0x147D,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_MAX_BOLUS_AMOUNT_RESPONSE = 0x1482,
  BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_MAX_BOLUS_AMOUNT = 0x148D
}
 Response Op Code enumeration. More...
 
enum  e_ble_idc_idd_history_data_t {
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_REFERENCE_TIME = 0x000F,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_REFERENCE_TIME_BASE_OFFSET = 0x0033,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_CALCULATED_PART_1_OF_2 = 0x003C,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_CALCULATED_PART_2_OF_2 = 0x0055,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_PROGRAMMED_PART_1_OF_2 = 0x005A,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_PROGRAMMED_PART_2_OF_2 = 0x0066,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_DELIVERED_PART_1_OF_2 = 0x0069,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_DELIVERED_PART_2_OF_2 = 0x0096,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_DELIVERED_BASAL_RATE_CHANGED = 0x0099,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_STARTED = 0x00A5,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_ENDED = 0x00AA,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_CHANGED = 0x00C3,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_PROFILE_TEMPLATE_ACTIVATED = 0x00CC,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BASAL_RATE_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED = 0x00F0,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TOTAL_DAILY_INSULIN_DELIVERY = 0x00FF,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_THERAPY_CONTROL_STATE_CHANGED = 0x0303,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_OPERATIONAL_STATE_CHANGED = 0x030C,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_RESERVOIR_REMAINING_AMOUNT_CHANGED = 0x0330,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_ANNUNCIATION_STATUS_CHANGED_PART_1_OF_2 = 0x033F,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_ANNUNCIATION_STATUS_CHANGED_PART_2_OF_2 = 0x0356,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_ISF_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED = 0x0359,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_I2CHO_RATIO_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED = 0x0365,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED = 0x036A,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_PRIMING_STARTED = 0x0395,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_PRIMING_DONE = 0x039A,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_DATA_CORRUPTION = 0x03A6,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_POINTER_EVENT = 0x03A9,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_TEMPLATE_CHANGED_PART_1_OF_2 = 0x03C0,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_TEMPLATE_CHANGED_PART_2_OF_2 = 0x03CF,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TBR_TEMPLATE_CHANGED = 0x03F3,
  BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_MAX_BOLUS_AMOUNT_CHANGED = 0x03FC
}
 Event Type enumeration. More...
 
enum  e_ble_idc_idd_srcp_operand_bolus_value_sel_t {
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_PROGRAMMED = 0x0F,
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_REMAINING = 0x33,
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_DELIVERED = 0x3C
}
 Bolus Value Selection. More...
 
enum  e_ble_idc_idd_srcp_operand_bolus_type_values_t {
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_TYPE_UNDETERMINED = 0x0F,
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_TYPE_FAST = 0x33,
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_TYPE_EXTENDED = 0x3C,
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_TYPE_MULTIWAVE = 0x55
}
 Bolus Type values. More...
 
enum  e_ble_idc_idd_srcp_operand_bolus_activation_type_t {
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_UNDETERMINED = 0x0F,
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_MANUAL_BOLUS = 0x33,
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_RECOMMENTED_BOLUS = 0x3C,
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_MANUALLY_CHANGED_RECOMMENTED_BOLUS = 0x55,
  BLE_IDC_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_COMMANDED_BOLUS = 0x5A
}
 Bolus Activation Type. More...
 
enum  e_ble_idc_idd_srcp_operand_tbr_type_values_t {
  BLE_IDC_IDD_SRCP_OPRAND_TBR_TYPE_UNDETERMINED = 0x0F,
  BLE_IDC_IDD_SRCP_OPRAND_TBR_TYPE_ABSOLUTE = 0x33,
  BLE_IDC_IDD_SRCP_OPRAND_TBR_TYPE_RELATIVE = 0x3C
}
 TBR Type Values. More...
 
enum  e_ble_idc_idd_srcp_operand_basel_delivery_context_t {
  BLE_IDC_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_UNDETERMINED = 0x0F,
  BLE_IDC_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_DEVICE_BASED = 0x33,
  BLE_IDC_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_REMOTE_CONTROL = 0x3C,
  BLE_IDC_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_AP_CONTROL = 0x55
}
 Basal Delivery Context Values. More...
 
enum  e_ble_idc_idd_srcp_operand_counter_type_values_t {
  BLE_IDC_IDD_SRCP_OPRAND_COUNTER_TYPE_LIFETIME = 0x0F,
  BLE_IDC_IDD_SRCP_OPRAND_COUNTER_TYPE_WARRANTY_TIME = 0x33,
  BLE_IDC_IDD_SRCP_OPRAND_COUNTER_TYPE_LOANER_TIME = 0x3C,
  BLE_IDC_IDD_SRCP_OPRAND_COUNTER_TYPE_INSULIN_OPERATION_TIME = 0x55
}
 Counter Type Values. More...
 
enum  e_ble_idc_idd_srcp_operand_counter_value_sel_t {
  BLE_IDC_IDD_SRCP_OPRAND_COUNTER_VALUE_REMAINING = 0x0F,
  BLE_IDC_IDD_SRCP_OPRAND_COUNTER_VALUE_ELAPSED = 0x33
}
 Counter Value Selection value. More...
 
enum  e_ble_idc_idd_ccp_operand_response_code_t {
  BLE_IDC_IDD_CCP_OPRAND_RESPONSE_CODE_SUCCESS = 0x0F,
  BLE_IDC_IDD_CCP_OPRAND_OP_CODE_NOT_SUPPORTED = 0x70,
  BLE_IDC_IDD_CCP_OPRAND_INVALID_OPERAND = 0x71,
  BLE_IDC_IDD_CCP_OPRAND_PROCEDURE_NOT_COMPLETED = 0x72,
  BLE_IDC_IDD_CCP_OPRAND_PARAMETER_OUT_OF_RANGE = 0x73,
  BLE_IDC_IDD_CCP_OPRAND_PROCEDURE_NOT_APPLICABLE = 0x74,
  BLE_IDC_IDD_CCP_OPRAND_PLAUSIBILITY_CHECK_FAILED = 0x75,
  BLE_IDC_IDD_CCP_OPRAND_MAXIMUM_BOLUS_NUMBER_REACHED = 0x76
}
 IDD Command CP Response Code values. More...
 
enum  e_ble_idc_idd_ccp_operand_bolus_activation_type_t {
  BLE_IDC_IDD_CCP_OPRAND_UNDETERMINED = 0x0F,
  BLE_IDC_IDD_CCP_OPRAND_MANUAL_BOLUS = 0x33,
  BLE_IDC_IDD_CCP_OPRAND_RECOMMENDED_BOLUS = 0x3C,
  BLE_IDC_IDD_CCP_OPRAND_MANUALLY_CHANGED_RECOMMENDED_BOLUS = 0x55,
  BLE_IDC_IDD_CCP_OPRAND_COMMANDED_BOLUS = 0x5A
}
 IDD Command CP Bolus Activation Type values. More...
 

Functions

ble_status_t R_BLE_IDC_Init (const st_ble_idc_init_param_t *p_param)
 Initialize Insulin Delivery Service Client. More...
 
ble_status_t R_BLE_IDC_Connect (uint16_t conn_hdl, const st_ble_idc_connect_param_t *p_param)
 Perform Insulin Delivery Service Client connection settings. More...
 
ble_status_t R_BLE_IDC_Disconnect (uint16_t conn_hdl, st_ble_idc_disconnect_param_t *p_param)
 Retrieve Insulin Delivery Service Client connection specific settings before disconnection. More...
 
ble_status_t R_BLE_IDC_ReadIddStatusChanged (uint16_t conn_hdl)
 Read IDD Status Changed characteristic value from remote GATT database. More...
 
ble_status_t R_BLE_IDC_SetIddStatusChangedCliCnfg (uint16_t conn_hdl, uint16_t cli_cnfg)
 Set IDD Status Changed characteristic cli cnfg. More...
 
ble_status_t R_BLE_IDC_ReadIddStatus (uint16_t conn_hdl)
 Read IDD Status characteristic value from remote GATT database. More...
 
ble_status_t R_BLE_IDC_SetIddStatusCliCnfg (uint16_t conn_hdl, uint16_t cli_cnfg)
 Set IDD Status characteristic cli cnfg. More...
 
ble_status_t R_BLE_IDC_ReadIddAnnunciationStatus (uint16_t conn_hdl)
 Read IDD Annunciation Status characteristic value from remote GATT database. More...
 
ble_status_t R_BLE_IDC_SetIddAnnunciationStatusCliCnfg (uint16_t conn_hdl, uint16_t cli_cnfg)
 Set IDD Annunciation Status characteristic cli cnfg. More...
 
ble_status_t R_BLE_IDC_ReadIddFeatures (uint16_t conn_hdl)
 Read IDD Features characteristic value from remote GATT database. More...
 
ble_status_t R_BLE_IDC_WriteIddStatusReaderControlPoint (uint16_t conn_hdl, const st_ble_idc_idd_status_reader_control_point_t *p_app_value)
 Write IDD Status Reader Control Point characteristic value to remote GATT database. More...
 
ble_status_t R_BLE_IDC_SetIddStatusReaderControlPointCliCnfg (uint16_t conn_hdl, uint16_t cli_cnfg)
 Set IDD Status Reader Control Point characteristic cli cnfg. More...
 
ble_status_t R_BLE_IDC_WriteIddCommandControlPoint (uint16_t conn_hdl, const st_ble_idc_idd_command_control_point_t *p_app_value)
 Write IDD Command Control Point characteristic value to remote GATT database. More...
 
ble_status_t R_BLE_IDC_SetIddCommandControlPointCliCnfg (uint16_t conn_hdl, uint16_t cli_cnfg)
 Set IDD Command Control Point characteristic cli cnfg. More...
 
ble_status_t R_BLE_IDC_SetIddCommandDataCliCnfg (uint16_t conn_hdl, uint16_t cli_cnfg)
 Set IDD Command Data characteristic cli cnfg. More...
 
ble_status_t R_BLE_IDC_WriteIddRecordAccessControlPoint (uint16_t conn_hdl, const st_ble_idc_idd_record_access_control_point_t *p_app_value)
 Write IDD Record Access Control Point characteristic value to remote GATT database. More...
 
ble_status_t R_BLE_IDC_SetIddRecordAccessControlPointCliCnfg (uint16_t conn_hdl, uint16_t cli_cnfg)
 Set IDD Record Access Control Point characteristic cli cnfg. More...
 
ble_status_t R_BLE_IDC_SetIddHistoryDataCliCnfg (uint16_t conn_hdl, uint16_t cli_cnfg)
 Set IDD History Data characteristic cli cnfg. More...
 
void R_BLE_IDC_ServDiscCb (uint16_t conn_hdl, uint8_t idx, uint16_t type, void *p_param)
 
uint32_t R_BLE_IDC_GetVersion (void)
 Return version of the IDC service client. More...
 

Variables

const uint8_t BLE_IDC_UUID [BLE_GATT_16_BIT_UUID_SIZE]
 Insulin Delivery Service UUID. More...
 
const uint8_t BLE_IDC_IDD_STATUS_CHANGED_UUID [BLE_GATT_16_BIT_UUID_SIZE]
 IDD Status Changed characteristic UUID. More...
 
const uint8_t BLE_IDC_IDD_STATUS_UUID [BLE_GATT_16_BIT_UUID_SIZE]
 IDD Status characteristic UUID. More...
 
const uint8_t BLE_IDC_IDD_ANNUNCIATION_STATUS_UUID [BLE_GATT_16_BIT_UUID_SIZE]
 IDD Annunciation Status characteristic UUID. More...
 
const uint8_t BLE_IDC_IDD_FEATURES_UUID [BLE_GATT_16_BIT_UUID_SIZE]
 IDD Features characteristic UUID. More...
 
const uint8_t BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_UUID [BLE_GATT_16_BIT_UUID_SIZE]
 IDD Status Reader Control Point characteristic UUID. More...
 
const uint8_t BLE_IDC_IDD_COMMAND_CONTROL_POINT_UUID [BLE_GATT_16_BIT_UUID_SIZE]
 IDD Command Control Point characteristic UUID. More...
 
const uint8_t BLE_IDC_IDD_COMMAND_DATA_UUID [BLE_GATT_16_BIT_UUID_SIZE]
 IDD Command Data characteristic UUID. More...
 
const uint8_t BLE_IDC_IDD_RECORD_ACCESS_CONTROL_POINT_UUID [BLE_GATT_16_BIT_UUID_SIZE]
 IDD Record Access Control Point characteristic UUID. More...
 
const uint8_t BLE_IDC_IDD_HISTORY_DATA_UUID [BLE_GATT_16_BIT_UUID_SIZE]
 IDD History Data characteristic UUID. More...
 

Macro Definition Documentation

◆ BLE_IDC_IDD_STATUS_CHANGED_LEN

#define BLE_IDC_IDD_STATUS_CHANGED_LEN   (5)

IDD Status Changed characteristic value length.

◆ BLE_IDC_IDD_STATUS_LEN

#define BLE_IDC_IDD_STATUS_LEN   (8)

IDD Status characteristic value length.

◆ BLE_IDC_IDD_ANNUNCIATION_STATUS_LEN

#define BLE_IDC_IDD_ANNUNCIATION_STATUS_LEN   (19)

IDD Annunciation Status characteristic value length.

◆ BLE_IDC_IDD_FEATURES_LEN

#define BLE_IDC_IDD_FEATURES_LEN   (8)

IDD Features characteristic value length.

◆ BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_LEN

#define BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_LEN   (20)

IDD Status Reader Control Point characteristic value length.

◆ BLE_IDC_IDD_COMMAND_CONTROL_POINT_LEN

#define BLE_IDC_IDD_COMMAND_CONTROL_POINT_LEN   (20)

IDD Command Control Point characteristic value length.

◆ BLE_IDC_IDD_COMMAND_DATA_LEN

#define BLE_IDC_IDD_COMMAND_DATA_LEN   (20)

IDD Command Data characteristic value length.

◆ BLE_IDC_IDD_RECORD_ACCESS_CONTROL_POINT_LEN

#define BLE_IDC_IDD_RECORD_ACCESS_CONTROL_POINT_LEN   (20)

IDD Record Access Control Point characteristic value length.

◆ BLE_IDC_IDD_HISTORY_DATA_LEN

#define BLE_IDC_IDD_HISTORY_DATA_LEN   (20)

IDD History Data characteristic value length.

◆ BLE_IDS_PROCEDURE_ALREADY_IN_PROGRESS

#define BLE_IDS_PROCEDURE_ALREADY_IN_PROGRESS   (BLE_ERR_GROUP_GATT | 0xFE)

Procedure Already in Progress error code.

◆ BLE_IDS_INVALID_CRC

#define BLE_IDS_INVALID_CRC   (BLE_ERR_GROUP_GATT | 0x81)

Invalid CRC error code.

◆ BLE_IDS_COUNTER_ERROR

#define BLE_IDS_COUNTER_ERROR   (BLE_ERR_GROUP_GATT | 0x82)

Counter Error error code.

◆ BLE_IDS_DISCRIPTOR_IMPROPERLY_CONFIGURED

#define BLE_IDS_DISCRIPTOR_IMPROPERLY_CONFIGURED   (BLE_ERR_GROUP_GATT | 0xFD)

Discriptor Improperly Configured error code.

◆ BLE_IDC_RACP_OPERAND_LENGTH

#define BLE_IDC_RACP_OPERAND_LENGTH   (15)

racp operand length

Typedef Documentation

◆ ble_idc_app_cb_t

typedef void(* ble_idc_app_cb_t) (uint16_t type, ble_status_t result, st_ble_idc_evt_data_t *p_data)

Insulin Delivery Service Client event callback.

Enumeration Type Documentation

◆ e_ble_idc_opcode_racp_t

Op Code enumeration.

Enumerator
BLE_IDC_OPCODE_RACP_RESPONSE_CODE 

Response to corresponding Op Code.

BLE_IDC_OPCODE_RACP_REPORT_STORED_RECORDS 

Gets the selected set of stored history records

based on the filter criteria specified in the Operator and Operand.

BLE_IDC_OPCODE_RACP_DELETE_STORED_RECORDS 

Deletes the specified history records based on Operator and Operand values.

BLE_IDC_OPCODE_RACP_ABORT_OPERATION 

Stops any IDD RACP procedures currently in progress.

BLE_IDC_OPCODE_RACP_REPORT_NUMBER_OF_STORED_RECORDS 

Calculates and responds with a history record count based on filter criteria and Operator and Operand values.

BLE_IDC_OPCODE_RACP_RESPONSE_NUMBER_OF_STORED_RECORDS 

This is the normal response to Report Number Of Stored Records.

◆ e_ble_idc_operator_racp_t

Operator enumeration.

Enumerator
BLE_IDC_OPERATOR_RACP_NULL 

Value used for Op Codes that do not have an Operator.

BLE_IDC_OPERATOR_RACP_ALL_RECORDS 

All stored history records.

BLE_IDC_OPERATOR_RACP_LESS_THAN_OR_EQUAL_TO 

History records less than or equal to specified Operand

BLE_IDC_OPERATOR_RACP_GREATER_THAN_OR_EQUAL_TO 

History records greater than or equal to specified Operand.

BLE_IDC_OPERATOR_RACP_WITHIN_RANGE_OF_INCLUSIVE 

Inclusive range of history records specified by Operand.

BLE_IDC_OPERATOR_RACP_MOST_RECENT_RECORD 

Most recent history record.

BLE_IDC_OPERATOR_RACP_OLDEST_RECORD 

Oldest history record.

◆ e_ble_idc_filter_type_racp_t

Filter Type enumeration.

Enumerator
BLE_IDC_FILTER_TYPE_RACP_SEQUENCE_NUMBER 

Sequence Number

BLE_IDC_FILTER_TYPE_RACP_SEQ_NUM_FILTER_BY_REFERENECE_TIME_EVENT 

The history records are filtered based on their Sequence Number and on both Event Types Reference Time Event and Reference Time Base Offset Event

BLE_IDC_FILTER_TYPE_RACP_SEQ_NUM_FILTER_BY_NON_REFERENCE_TIME_EVENT 

The history records are filtered based on their Sequence Number and on both Event Types Reference Time Event and Reference Time Base Offset Event

◆ e_ble_idc_response_code_racp_t

Response Code enumeration.

Enumerator
BLE_IDC_RESPONSE_CODE_RACP_OPCODE_NOT_SUPPORTED 

Normal response if unsupported Op Code is received.

BLE_IDC_RESPONSE_CODE_RACP_INVALID_OPERATOR 

Normal response if Operator received does not meet the requirements of the service.

BLE_IDC_RESPONSE_CODE_RACP_OPERATOR_NOT_SUPPORTED 

Normal response if unsupported Operator is received.

BLE_IDC_RESPONSE_CODE_RACP_INVALID_OPERAND 

Normal response if Operand received does not meet the requirements of the service.

BLE_IDC_RESPONSE_CODE_RACP_NO_RECORDS_FOUND 

Normal response if request to report stored records or request to delete stored records resulted in no records meeting criteria.

BLE_IDC_RESPONSE_CODE_RACP_ABORT_UNSUCCESSFUL 

Normal response if request for Abort cannot be completed.

BLE_IDC_RESPONSE_CODE_RACP_OPERAND_NOT_SUPPORTED 

Normal response if unsupported Operand is received.

BLE_IDC_RESPONSE_CODE_RACP_PROCEDURE_NOT_APPLICABLE 

Normal response if unable to complete a procedurefor any reason.

BLE_IDC_RESPONSE_CODE_RACP_SUCCESS 

Normal response for successful operation.

◆ e_ble_idc_event_t

Insulin Delivery Service Client event type.

Enumerator
BLE_IDC_EVENT_IDD_STATUS_CHANGED_HDL_VAL_IND 

IDD Status Changed characteristic handle value indication event

BLE_IDC_EVENT_IDD_STATUS_CHANGED_READ_RSP 

IDD Status Changed characteristic read response event

BLE_IDC_EVENT_IDD_STATUS_HDL_VAL_IND 

IDD Status characteristic handle value indication event

BLE_IDC_EVENT_IDD_STATUS_READ_RSP 

IDD Status characteristic read response event

BLE_IDC_EVENT_IDD_ANNUNCIATION_STATUS_HDL_VAL_IND 

IDD Annunciation Status characteristic handle value indication event

BLE_IDC_EVENT_IDD_ANNUNCIATION_STATUS_READ_RSP 

IDD Annunciation Status characteristic read response event

BLE_IDC_EVENT_IDD_FEATURES_READ_RSP 

IDD Features characteristic read response event

BLE_IDC_EVENT_IDD_STATUS_READER_CONTROL_POINT_HDL_VAL_IND 

IDD Status Reader Control Point characteristic handle value indication event

BLE_IDC_EVENT_IDD_STATUS_READER_CONTROL_POINT_WRITE_RSP 

IDD Status Reader Control Point characteristic write response event

BLE_IDC_EVENT_IDD_COMMAND_CONTROL_POINT_HDL_VAL_IND 

IDD Command Control Point characteristic handle value indication event

BLE_IDC_EVENT_IDD_COMMAND_CONTROL_POINT_WRITE_RSP 

IDD Command Control Point characteristic write response event

BLE_IDC_EVENT_IDD_COMMAND_DATA_HDL_VAL_NTF 

IDD Command Data characteristic handle value notification event

BLE_IDC_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_HDL_VAL_IND 

IDD Record Access Control Point characteristic handle value indication event

BLE_IDC_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_WRITE_RSP 

IDD Record Access Control Point characteristic write response event

BLE_IDC_EVENT_IDD_HISTORY_DATA_HDL_VAL_NTF 

IDD History Data characteristic handle value notification event

BLE_IDC_EVENT_CLI_CNFG_WRITE_RSP 

Cli Cnfig write response

BLE_IDC_EVENT_ERROR_RSP 

error response

◆ e_ble_idc_idd_status_therapy_control_state_t

Therapy Control State enumeration.

Enumerator
BLE_IDC_IDD_STATUS_THERAPY_CONTROL_STATE_STOP 

The insulin infusion therapy is stopped but the Insulin Delivery Device can still be configured (e.g., priming).

BLE_IDC_IDD_STATUS_THERAPY_CONTROL_STATE_PAUSE 

The insulin infusion therapy is paused.Typically the Pause state is limited to several minutes and can be used, for example, to bridge the time during a reservoir change.

BLE_IDC_IDD_STATUS_THERAPY_CONTROL_STATE_RUN 

The insulin infusion therapy is running (i.e., the device delivers insulin related to the therapy). The Insulin Delivery Device cannot be configured in the Run state (e.g., priming).

BLE_IDC_IDD_STATUS_THERAPY_CONTROL_STATE_UNDETERMINED 

The operational state is undetermined

◆ e_ble_idc_idd_status_t

Operational State enumeration.

Enumerator
BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_OFF 

The Insulin Delivery Device is switched off and no functionality is available (i.e., no delivery and no configuration is possible).

BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_STANDBY 

No insulin is delivered and resuming from this state is faster than from state Off (e.g., the device is being set to a state to save energy).

BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_PREPARING 

The Insulin Delivery Device prepares the insulin infusion therapy

BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_PRIMING 

The Insulin Delivery Device fills the fluidic path from the reservoir to the body with insulin

BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_WAITING 

The Insulin Delivery Device waits for an interaction

BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_READY 

The Insulin Delivery Device is ready for the insulin infusion therapy.

BLE_IDC_IDD_STATUS_OPERATIONAL_STATE_UNDETERMINED 

The operational state is undetermined.

◆ e_ble_idc_idd_annunciation_status_type_t

Annunciation Type enumeration.

Enumerator
BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_SYSTEM_ISSUE 

A general device fault or system error occurred (e.g., electronical or software error).

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_MECHANICAL_ISSUE 

A mechanical error occurred

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_OCCLUSION_DETECTED 

An occlusion occurred (e.g., clogging of infusion set)

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_ISSUE 

An error related to the replacement or functioning of the reservoir occurred.

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_EMPTY 

The reservoir is empty

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_LOW 

The reservoir fill level reached a defined low threshold

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_PRIMING_ISSUE 

There is a priming issue after replacement of reservoir and/or infusion set

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_INFUSION_SET_INCOMPLETE 

The physical connection between infusion set (including tubing and/or cannula) and the Insulin Delivery Device is incomplete

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_INFUSION_SET_DETACHED 

The infusion set (including tubing and/or cannula) is not attached to the body.

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_POWER_SOURCE_INSUFFICIENT 

The Insulin Delivery Device has insufficient power to charge the device (i.e., the device cannot properly function)

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_EMPTY 

The Insulin Delivery Device has no operational runtime left. The user shall be informed

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_LOW 

The Insulin Delivery Device has a low operational runtime

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_MEDIUM 

The Insulin Delivery Device has a medium operational runtime. This annunciation should be reported at half of the operational runtime.

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_FULL 

The Insulin Delivery Device has a full operational runtime. This annunciation should be reported at full operational runtime.

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TEMPERATURE_OUT_OF_RANGE 

The temperature is outside of the normal operating range.

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_AIR_PRESSURE_OUT_OF_RANGE 

The air pressure is outside of the normal operating range (e.g., altitude)

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BOLUS_CANCELED 

A running bolus was canceled (e.g., Insulin Delivery Device changed from run to standby mode)

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TBR_OVER 

The temporary basal rate expired (i.e., the programmed duration is over)

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TBR_CANCELED 

The temporary basal rate canceled (e.g., device changed from run to standby mode).

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_MAX_DELIVERY 

The delivery reached a defined high threshold based on maximum bolus and maximum basal rates.

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_DATE_TIME_ISSUE 

The date time of the device was never set or has been lost (e.g., due to a battery replacement).

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TEMPERATURE 

The Insulin Delivery Device reports a temperature measurement.

◆ e_ble_idc_idd_annunciation_status_status_t

Annunciation Status enumeration.

Enumerator
BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_PENDING 

The status of the annunciation is undetermined

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_SNOOZED 

The annunciation is currently pending and requires a user action for snoozing or confirmation.

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_CONFIRMED 

The annunciation was noticed by the user and is set to pop up again at a short time later

BLE_IDC_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_UNDETERMINED 

The annunciation was confirmed by the user

◆ e_ble_idc_idd_status_reader_control_point_t

Op Code enumeration.

Enumerator
BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_RESPONSE_CODE 

Response Code

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_RESET_STATUS 

Resets the status exposed by the IDD Status Changed characteristic. The response to this control point is Response Code

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_IDC 

Gets the IDC of all Active Boluses

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_IDC_RESPONSE 

This is the normal response to Get Active Bolus IDC

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_DELIVERY 

Gets information about an Active Bolus identified by the given ID

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_DELIVERY_RESPONSE 

This is the normal response to Get Active Bolus Delivery

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BASAL_RATE_DELIVERY 

Gets the current active basal rate setting, including the TBR

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BASAL_RATE_DELIVERY_RESPONSE 

This is the normal response to Get Active Basal Rate Delivery.

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_TOTAL_DAILY_INSULIN_STATUS 

Gets the total daily delivered bolus and basal insulin from midnight until now.

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_TOTAL_DAILY_INSULIN_STATUS_RESPONSE 

This is the normal response to Get Total Daily Insulin Status

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_COUNTER 

Gets the value about an internal counter of the Insulin Delivery Device

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_COUNTER_RESPONSE 

This is the normal response to procedure Get Counter

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_DELIVERED_INSULIN 

Gets the delivered amount of bolus and basal insulin since the last rollover of these amounts.

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_DELIVERED_INSULIN_RESPONSE 

This is the normal response to procedure Get Delivered Insulin

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_INSULIN_ON_BOARD 

Gets the insulin on board, which has been delivered by the Insulin Delivery Device. The normal response to this control point is Get Insulin On Board Response

BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_INSULIN_ON_BOARD_RESPONSE 

This is the normal response to procedure Get Insulin On Board.

◆ e_ble_idc_response_code_srcp_t

The Response Code Values associated with the IDD Status Reader CP.

Enumerator
BLE_IDC_RESPONSE_CODE_SRCP_SUCCESS 

Normal response for successful procedure.

BLE_IDC_RESPONSE_CODE_SRCP_OPCODE_NOT_SUPPORTED 

Normal response if unsupported Op Code is received.

BLE_IDC_RESPONSE_CODE_SRCP_INVALID_OPERAND 

Normal response if Operand received does not meet the requirements of the service.

BLE_IDC_RESPONSE_CODE_SRCP_PROCEDURE_NOT_COMPLETED 

Normal response if unable to complete a procedure for any reason.

BLE_IDC_RESPONSE_CODE_SRCP_PARAMETER_OUT_OF_RANGE 

Normal response if Operand received does not meet the range requirements of the service..

BLE_IDC_RESPONSE_CODE_SRCP_PROCEDURE_NOT_APPLICABLE 

Normal response if the procedure cannot be executed because it is not applicable in the current Server Application context.

◆ e_ble_idc_idd_command_control_point_t

Op Code enumeration.

Enumerator
BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESPONSE_CODE 

Response Code

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_THERAPY_CONTROL_STATE 

Set the therapy control state of the Insulin Delivery Device

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_FLIGHT_MODE 

Activates the flight mode of the Insulin Delivery Device.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SNOOZE_ANNUNCIATION 

Snoozes an annunciation for a limited amount of time.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SNOOZE_ANNUNCIATION_RESPONSE 

This is the normal response to Snooze Annunciation.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_CONFIRM_ANNUNCIATION 

Confirms an annunciation on the Server Application and removes this specific annunciation from the list of currently active annunciations on the Server Application.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_CONFIRM_ANNUNCIATION_RESPONSE 

This is the normal response to Confirm Annunciation.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE 

Reads a specific Basal Rate Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE 

This response is used to report one or more time blocks of a Basal Rate Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE 

Writes a specific Basal Rate Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE 

This is the normal response to Write Basal Rate Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_ADJUSTMENT 

Sets a new or changes a currently active TBR. The response to this control point is Response Code.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_TBR_ADJUSTMENT 

Cancels a currently active TBR. The response to this control point is Response Code.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TBR_TEMPLATE 

Gets the parameters of a specific TBR template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TBR_TEMPLATE_RESPONSE 

This is the normal response to Get TBR Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_TEMPLATE 

Sets the parameters of a specific TBR template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_TEMPLATE_RESPONSE 

This is the normal response to Set TBR Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS 

Sets a bolus with the specified parameters. The normal response to this control point is Set Bolus Response.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_RESPONSE 

This is the normal response to Set Bolus.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_BOLUS 

Cancels a bolus with the specified Bolus ID. The normal response to this control point is Cancel Bolus Response.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_BOLUS_RESPONSE 

This is the normal response to Cancel Bolus.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_AVAILABLE_BOLUSES 

Gets the currently available bolus types. The normal response to this control point is Get Available Boluses Response.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_AVAILABLE_BOLUSES_RESPONSE 

This is the normal response to Get Available Boluses.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_BOLUS_TEMPLATE 

Gets the parameters of a specific bolus template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_BOLUS_TEMPLATE_RESPONSE 

This is the normal response to Get Bolus Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_TEMPLATE 

Sets the parameters of a specific bolus template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_TEMPLATE_RESPONSE 

This is the normal response to Set Bolus Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS 

Gets the status and details of all the supported template types

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS_RESPONSE 

This is the normal response to Get Template Status and Details

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_TEMPLATE_STATUS 

Resets the status of one or many templates by marking them as Not Configured.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_TEMPLATE_STATUS_RESPONSE 

This is the normal response to Reset Template Status.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_ACTIVATE_PROFILE_TEMPLATES 

The normal response to this control point is Activate Profile Templates Response.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_ACTIVATE_PROFILE_TEMPLATES_RESPONSE 

This is the normal response to Activate Profile Templates.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES 

Gets all the currently activated profile templates

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES_RESPONSE 

This is the normal response to Get Activated Profile Templates.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_START_PRIMING 

Starts the priming of the fluidic path of the Insulin Delivery Device with the provided amount of insulin.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_STOP_PRIMING 

Stops the priming of the fluidic path of the Insulin Delivery Device immediately.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_INITIAL_RESERVOIR_FILL_LEVEL 

Sets the initial fill level of the reservoir after refill or replacement.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_RESERVOIR_INSULIN_OPERATION_TIME 

Resets the counter Reservoir Insulin Operation Time

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_ISF_PROFILE_TEMPLATE 

The response to this control point is Response Code.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_ISF_PROFILE_TEMPLATE_RESPONSE 

This response is used to report one or more time blocks of an ISF Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE 

The normal response to this control point is Write ISF Profile Template Response.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE_RESPONSE 

This is the normal response to Write ISF Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE 

The response to this control point is Response Code.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE 

This response is used to report one or more time blocks of an I:CHO Ratio Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE 

The normal response to this control point is Write I2CHO Ratio Profile Template Response.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE 

This is the normal response to Write I2CHO Ratio Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE 

Reads a specific Target Glucose Range Profile Template. The response to this control point is Response Code.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE 

This response is used to report one or more time blocks of a Target Glucose Range Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE 

Writes a specific Target Glucose Range Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE 

This is the normal response to Write Target Glucose Range Profile Template.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_MAX_BOLUS_AMOUNT 

Gets the maximum bolus amount that can be delivered in a single bolus.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_MAX_BOLUS_AMOUNT_RESPONSE 

This is the normal response to Get Max Bolus Amount.

BLE_IDC_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_MAX_BOLUS_AMOUNT 

Sets the maximum bolus amount that can be delivered in a single bolus

◆ e_ble_idc_response_code_ccp_t

The Response Code Values associated with the IDD Command CP.

Enumerator
BLE_IDC_RESPONSE_CODE_CCP_SUCCESS 

Normal response for successful procedure.

BLE_IDC_RESPONSE_CODE_CCP_OPCODE_NOT_SUPPORTED 

Normal response if unsupported Op Code is received.

BLE_IDC_RESPONSE_CODE_CCP_INVALID_OPERAND 

Normal response if Operand received does not meet the requirements of the service.

BLE_IDC_RESPONSE_CODE_CCP_PROCEDURE_NOT_COMPLETED 

Normal response if unable to complete a procedure for any reason.

BLE_IDC_RESPONSE_CODE_CCP_PARAMETER_OUT_OF_RANGE 

Normal response if Operand received does not meet the range requirements of the service..

BLE_IDC_RESPONSE_CODE_CCP_PROCEDURE_NOT_APPLICABLE 

Normal response if the procedure cannot be executed because it is not applicable in the current Server Application context.

BLE_IDC_RESPONSE_CODE_CCP_PLAUSIBILITY_CHECK_FAILED 

Normal response if a transaction consisting of several procedures was not completed by the Server because the parameters provided by the Client to perform this transaction has been invalid or inconsistent.

BLE_IDC_RESPONSE_CODE_CCP_MAXIMUM_BOLUS_NUMBER_REACHED 

Normal response if the maximum number of boluses of a specific type is reached when executing the Set Bolus procedure.

◆ e_ble_idc_idd_command_data_t

Response Op Code enumeration.

Enumerator
BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESPONSE_CODE 

Response Code

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_THERAPY_CONTROL_STATE 

Set the therapy control state of the Insulin Delivery Device

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_FLIGHT_MODE 

Activates the flight mode of the Insulin Delivery Device.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SNOOZE_ANNUNCIATION 

Snoozes an annunciation for a limited amount of time.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SNOOZE_ANNUNCIATION_RESPONSE 

This is the normal response to Snooze Annunciation.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CONFIRM_ANNUNCIATION 

Confirms an annunciation on the Server Application and removes this specific annunciation from the list of currently active annunciations on the Server Application.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CONFIRM_ANNUNCIATION_RESPONSE 

This is the normal response to Confirm Annunciation.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE 

Reads a specific Basal Rate Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE 

This response is used to report one or more time blocks of a Basal Rate Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE 

Writes a specific Basal Rate Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE 

This is the normal response to Write Basal Rate Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_ADJUSTMENT 

Sets a new or changes a currently active TBR. The response to this control point is Response Code.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_TBR_ADJUSTMENT 

Cancels a currently active TBR. The response to this control point is Response Code.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TBR_TEMPLATE 

Gets the parameters of a specific TBR template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TBR_TEMPLATE_RESPONSE 

This is the normal response to Get Bolus Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_TEMPLATE 

Sets the parameters of a specific TBR template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_TEMPLATE_RESPONSE 

This is the normal response to Set TBR Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS 

Sets a bolus with the specified parameters. The normal response to this control point is Set Bolus Response.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_RESPONSE 

This is the normal response to Set Bolus.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_BOLUS 

Cancels a bolus with the specified Bolus ID. The normal response to this control point is Cancel Bolus Response.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_BOLUS_RESPONSE 

This is the normal response to Cancel Bolus.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_AVAILABLE_BOLUSES 

Gets the currently available bolus types. The normal response to this control point is Get Available Boluses Response.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_AVAILABLE_BOLUSES_RESPONSE 

This is the normal response to Get Available Boluses.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_BOLUS_TEMPLATE 

Gets the parameters of a specific bolus template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_BOLUS_TEMPLATE_RESPONSE 

This is the normal response to Get Bolus Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_TEMPLATE 

Sets the parameters of a specific bolus template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_TEMPLATE_RESPONSE 

This is the normal response to Set Bolus Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS 

Gets the status and details of all the supported template types

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS_RESPONSE 

This is the normal response to Get Template Status and Details

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_TEMPLATE_STATUS 

Resets the status of one or many templates by marking them as Not Configured.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_TEMPLATE_STATUS_RESPONSE 

This is the normal response to Reset Template Status.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_ACTIVATE_PROFILE_TEMPLATES 

The normal response to this control point is Activate Profile Templates Response.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_ACTIVATE_PROFILE_TEMPLATES_RESPONSE 

This is the normal response to Activate Profile Templates.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES 

Gets all the currently activated profile templates

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES_RESPONSE 

This is the normal response to Get Activated Profile Templates.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_START_PRIMING 

Starts the priming of the fluidic path of the Insulin Delivery Device with the provided amount of insulin.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_STOP_PRIMING 

Stops the priming of the fluidic path of the Insulin Delivery Device immediately.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_INITIAL_RESERVOIR_FILL_LEVEL 

Sets the initial fill level of the reservoir after refill or replacement.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_RESERVOIR_INSULIN_OPERATION_TIME 

Resets the counter Reservoir Insulin Operation Time

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_ISF_PROFILE_TEMPLATE 

The response to this control point is Response Code.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_ISF_PROFILE_TEMPLATE_RESPONSE 

This response is used to report one or more time blocks of an ISF Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE 

The normal response to this control point is Write ISF Profile Template Response.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE_RESPONSE 

This is the normal response to Write ISF Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE 

The response to this control point is Response Code.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE 

This response is used to report one or more time blocks of an I:CHO Ratio Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE 

The normal response to this control point is Write I2CHO Ratio Profile Template Response.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE 

This is the normal response to Write I2CHO Ratio Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE 

Reads a specific Target Glucose Range Profile Template. The response to this control point is Response Code.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE 

This response is used to report one or more time blocks of a Target Glucose Range Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE 

Writes a specific Target Glucose Range Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE 

This is the normal response to Write Target Glucose Range Profile Template.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_MAX_BOLUS_AMOUNT 

Gets the maximum bolus amount that can be delivered in a single bolus.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_MAX_BOLUS_AMOUNT_RESPONSE 

This is the normal response to Get Max Bolus Amount.

BLE_IDC_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_MAX_BOLUS_AMOUNT 

Sets the maximum bolus amount that can be delivered in a single bolus

◆ e_ble_idc_idd_history_data_t

Event Type enumeration.

Enumerator
BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_REFERENCE_TIME 

Reference Time

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_REFERENCE_TIME_BASE_OFFSET 

Reference Time Base Offset

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_CALCULATED_PART_1_OF_2 

Bolus Calculated Part 1 of 2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_CALCULATED_PART_2_OF_2 

Bolus Calculated Part 2 of 2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_PROGRAMMED_PART_1_OF_2 

Bolus Programmed Part 1 of 2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_PROGRAMMED_PART_2_OF_2 

Bolus Programmed Part 2 of 2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_DELIVERED_PART_1_OF_2 

Bolus Delivered Part 1 of 2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_DELIVERED_PART_2_OF_2 

Bolus Delivered Part 2 of 2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_DELIVERED_BASAL_RATE_CHANGED 

Delivered Basal Rate Changed

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_STARTED 

TBR Adjustment Started

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_ENDED 

TBR Adjustment Ended

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_CHANGED 

TBR Adjustment Changed2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_PROFILE_TEMPLATE_ACTIVATED 

Profile Template Activated

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BASAL_RATE_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED 

Basal Rate Profile Template Time Block Changed

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TOTAL_DAILY_INSULIN_DELIVERY 

Total Daily Insulin Delivery

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_THERAPY_CONTROL_STATE_CHANGED 

Therapy Control State Changed

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_OPERATIONAL_STATE_CHANGED 

Operational State Changed

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_RESERVOIR_REMAINING_AMOUNT_CHANGED 

Reservoir R emaining Amount Changed

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_ANNUNCIATION_STATUS_CHANGED_PART_1_OF_2 

Annunciation Status Changed Part 1 of 2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_ANNUNCIATION_STATUS_CHANGED_PART_2_OF_2 

Annunciation Status Changed Part 2 of 2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_ISF_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED 

ISF Profile Template Time Block Changed

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_I2CHO_RATIO_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED 

I2CHO Ratio Profile Template Time Block Changed

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED 

Target Glucose Range Profile Template Time Block Changed

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_PRIMING_STARTED 

Priming Started

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_PRIMING_DONE 

Priming Done

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_DATA_CORRUPTION 

Data Corruption

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_POINTER_EVENT 

Pointer Event

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_TEMPLATE_CHANGED_PART_1_OF_2 

Bolus Template Changed Part 1 of 2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_TEMPLATE_CHANGED_PART_2_OF_2 

Bolus Template Changed Part 2 of 2

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_TBR_TEMPLATE_CHANGED 

TBR Template Changed

BLE_IDC_IDD_HISTORY_DATA_EVENT_TYPE_MAX_BOLUS_AMOUNT_CHANGED 

Max Bolus Amount Changed

◆ e_ble_idc_idd_srcp_operand_bolus_value_sel_t

Bolus Value Selection.

Enumerator
BLE_IDC_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_PROGRAMMED 

programmed

BLE_IDC_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_REMAINING 

remaining

BLE_IDC_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_DELIVERED 

delivered

◆ e_ble_idc_idd_srcp_operand_bolus_type_values_t

Bolus Type values.

Enumerator
BLE_IDC_IDD_SRCP_OPRAND_BOLUS_TYPE_UNDETERMINED 

Undetermined

BLE_IDC_IDD_SRCP_OPRAND_BOLUS_TYPE_FAST 

Fast

BLE_IDC_IDD_SRCP_OPRAND_BOLUS_TYPE_EXTENDED 

Extended

BLE_IDC_IDD_SRCP_OPRAND_BOLUS_TYPE_MULTIWAVE 

Multiwave

◆ e_ble_idc_idd_srcp_operand_bolus_activation_type_t

Bolus Activation Type.

Enumerator
BLE_IDC_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_UNDETERMINED 

The activation type is undetermined.

BLE_IDC_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_MANUAL_BOLUS 

The bolus was defined by the user.

BLE_IDC_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_RECOMMENTED_BOLUS 

The bolus was recommended by a calculation algorithm

BLE_IDC_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_MANUALLY_CHANGED_RECOMMENTED_BOLUS 

The user changed a recommended bolus.

BLE_IDC_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_COMMANDED_BOLUS 

The bolus was activated without user interaction

◆ e_ble_idc_idd_srcp_operand_tbr_type_values_t

TBR Type Values.

Enumerator
BLE_IDC_IDD_SRCP_OPRAND_TBR_TYPE_UNDETERMINED 

The TBR type is undetermined.

BLE_IDC_IDD_SRCP_OPRAND_TBR_TYPE_ABSOLUTE 

The TBR type is absolute.

BLE_IDC_IDD_SRCP_OPRAND_TBR_TYPE_RELATIVE 

The TBR type is relative

◆ e_ble_idc_idd_srcp_operand_basel_delivery_context_t

Basal Delivery Context Values.

Enumerator
BLE_IDC_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_UNDETERMINED 

The Basal Delivery Context is undetermined.

BLE_IDC_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_DEVICE_BASED 

The current basal rate was set directly on the Insulin Delivery Device.

BLE_IDC_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_REMOTE_CONTROL 

The current basal rate was set via a remote control

BLE_IDC_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_AP_CONTROL 

The Basal Delivery Context is Artificial Pancreas (AP) Controller

◆ e_ble_idc_idd_srcp_operand_counter_type_values_t

Counter Type Values.

Enumerator
BLE_IDC_IDD_SRCP_OPRAND_COUNTER_TYPE_LIFETIME 

This counter provides the lifetime of the Insulin Delivery Device.

BLE_IDC_IDD_SRCP_OPRAND_COUNTER_TYPE_WARRANTY_TIME 

This counter provides the warranty time of the Insulin Delivery Device.

BLE_IDC_IDD_SRCP_OPRAND_COUNTER_TYPE_LOANER_TIME 

This counter provides the loaner time of the Insulin Delivery Device.

BLE_IDC_IDD_SRCP_OPRAND_COUNTER_TYPE_INSULIN_OPERATION_TIME 

This counter provides the operation time of the insulin in the reservoir.

◆ e_ble_idc_idd_srcp_operand_counter_value_sel_t

Counter Value Selection value.

Enumerator
BLE_IDC_IDD_SRCP_OPRAND_COUNTER_VALUE_REMAINING 

Remaining.

BLE_IDC_IDD_SRCP_OPRAND_COUNTER_VALUE_ELAPSED 

Elapsed.

◆ e_ble_idc_idd_ccp_operand_response_code_t

IDD Command CP Response Code values.

Enumerator
BLE_IDC_IDD_CCP_OPRAND_RESPONSE_CODE_SUCCESS 

Normal response for successful procedure.

BLE_IDC_IDD_CCP_OPRAND_OP_CODE_NOT_SUPPORTED 

Normal response if unsupported Op Code is received.

BLE_IDC_IDD_CCP_OPRAND_INVALID_OPERAND 

Normal response if Operand received does not meet the requirements of the service.

BLE_IDC_IDD_CCP_OPRAND_PROCEDURE_NOT_COMPLETED 

Normal response if unable to complete a procedure for any reason.

BLE_IDC_IDD_CCP_OPRAND_PARAMETER_OUT_OF_RANGE 

Normal response if Operand received does not meet the range requirements of the service.

BLE_IDC_IDD_CCP_OPRAND_PROCEDURE_NOT_APPLICABLE 

Normal response if the procedure cannot be executed because it is not applicable in the current Server Application context.

BLE_IDC_IDD_CCP_OPRAND_PLAUSIBILITY_CHECK_FAILED 

Normal response if a transaction consisting of several procedures was not completed by the Server because the parameters provided by the Client to perform this transaction has been invalid or inconsistent.

BLE_IDC_IDD_CCP_OPRAND_MAXIMUM_BOLUS_NUMBER_REACHED 

Normal response if the maximum number of boluses of a specific type is reached when executing the Set Bolus procedure.

◆ e_ble_idc_idd_ccp_operand_bolus_activation_type_t

IDD Command CP Bolus Activation Type values.

Enumerator
BLE_IDC_IDD_CCP_OPRAND_UNDETERMINED 

The activation type is undetermined.

BLE_IDC_IDD_CCP_OPRAND_MANUAL_BOLUS 

The bolus was defined by the user.

BLE_IDC_IDD_CCP_OPRAND_RECOMMENDED_BOLUS 

The bolus was recommended by a calculation algorithm (e.g., a bolus calculator) and confirmed by the user.

BLE_IDC_IDD_CCP_OPRAND_MANUALLY_CHANGED_RECOMMENDED_BOLUS 

The user changed a recommended bolus.

BLE_IDC_IDD_CCP_OPRAND_COMMANDED_BOLUS 

The bolus was activated without user interaction

Function Documentation

◆ R_BLE_IDC_Init()

ble_status_t R_BLE_IDC_Init ( const st_ble_idc_init_param_t p_param)

Initialize Insulin Delivery Service Client.

This function shall be called once at startup.

Parameters
[in]p_paramPointer to Insulin Delivery Service Client initialization parameters.
Returns
ble_status_t

◆ R_BLE_IDC_Connect()

ble_status_t R_BLE_IDC_Connect ( uint16_t  conn_hdl,
const st_ble_idc_connect_param_t p_param 
)

Perform Insulin Delivery Service Client connection settings.

This function shall be called on each connection establishment.

Parameters
[in]conn_hdlConnection handle.
[in]p_paramPointer to Connection parameters.
Returns
ble_status_t

◆ R_BLE_IDC_Disconnect()

ble_status_t R_BLE_IDC_Disconnect ( uint16_t  conn_hdl,
st_ble_idc_disconnect_param_t p_param 
)

Retrieve Insulin Delivery Service Client connection specific settings before disconnection.

This function shall be called on each disconnection.

Parameters
[in]conn_hdlConnection handle.
[in]p_paramPointer to Disconnection parameters.
Returns
ble_status_t

◆ R_BLE_IDC_ReadIddStatusChanged()

ble_status_t R_BLE_IDC_ReadIddStatusChanged ( uint16_t  conn_hdl)

Read IDD Status Changed characteristic value from remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_IDC_SetIddStatusChangedCliCnfg()

ble_status_t R_BLE_IDC_SetIddStatusChangedCliCnfg ( uint16_t  conn_hdl,
uint16_t  cli_cnfg 
)

Set IDD Status Changed characteristic cli cnfg.

Parameters
[in]conn_hdlConnection handle.
[in]cli_cnfgIDD Status Changed characteristic cli cnfg to set.
Returns
ble_status_t

◆ R_BLE_IDC_ReadIddStatus()

ble_status_t R_BLE_IDC_ReadIddStatus ( uint16_t  conn_hdl)

Read IDD Status characteristic value from remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_IDC_SetIddStatusCliCnfg()

ble_status_t R_BLE_IDC_SetIddStatusCliCnfg ( uint16_t  conn_hdl,
uint16_t  cli_cnfg 
)

Set IDD Status characteristic cli cnfg.

Parameters
[in]conn_hdlConnection handle.
[in]cli_cnfgIDD Status characteristic cli cnfg to set.
Returns
ble_status_t

◆ R_BLE_IDC_ReadIddAnnunciationStatus()

ble_status_t R_BLE_IDC_ReadIddAnnunciationStatus ( uint16_t  conn_hdl)

Read IDD Annunciation Status characteristic value from remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_IDC_SetIddAnnunciationStatusCliCnfg()

ble_status_t R_BLE_IDC_SetIddAnnunciationStatusCliCnfg ( uint16_t  conn_hdl,
uint16_t  cli_cnfg 
)

Set IDD Annunciation Status characteristic cli cnfg.

Parameters
[in]conn_hdlConnection handle.
[in]cli_cnfgIDD Annunciation Status characteristic cli cnfg to set.
Returns
ble_status_t

◆ R_BLE_IDC_ReadIddFeatures()

ble_status_t R_BLE_IDC_ReadIddFeatures ( uint16_t  conn_hdl)

Read IDD Features characteristic value from remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_IDC_WriteIddStatusReaderControlPoint()

ble_status_t R_BLE_IDC_WriteIddStatusReaderControlPoint ( uint16_t  conn_hdl,
const st_ble_idc_idd_status_reader_control_point_t p_app_value 
)

Write IDD Status Reader Control Point characteristic value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_app_valuePointer to IDD Status Reader Control Point characteristic value to write.
Returns
ble_status_t

◆ R_BLE_IDC_SetIddStatusReaderControlPointCliCnfg()

ble_status_t R_BLE_IDC_SetIddStatusReaderControlPointCliCnfg ( uint16_t  conn_hdl,
uint16_t  cli_cnfg 
)

Set IDD Status Reader Control Point characteristic cli cnfg.

Parameters
[in]conn_hdlConnection handle.
[in]cli_cnfgIDD Status Reader Control Point characteristic cli cnfg to set.
Returns
ble_status_t

◆ R_BLE_IDC_WriteIddCommandControlPoint()

ble_status_t R_BLE_IDC_WriteIddCommandControlPoint ( uint16_t  conn_hdl,
const st_ble_idc_idd_command_control_point_t p_app_value 
)

Write IDD Command Control Point characteristic value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_app_valuePointer to IDD Command Control Point characteristic value to write.
Returns
ble_status_t

◆ R_BLE_IDC_SetIddCommandControlPointCliCnfg()

ble_status_t R_BLE_IDC_SetIddCommandControlPointCliCnfg ( uint16_t  conn_hdl,
uint16_t  cli_cnfg 
)

Set IDD Command Control Point characteristic cli cnfg.

Parameters
[in]conn_hdlConnection handle.
[in]cli_cnfgIDD Command Control Point characteristic cli cnfg to set.
Returns
ble_status_t

◆ R_BLE_IDC_SetIddCommandDataCliCnfg()

ble_status_t R_BLE_IDC_SetIddCommandDataCliCnfg ( uint16_t  conn_hdl,
uint16_t  cli_cnfg 
)

Set IDD Command Data characteristic cli cnfg.

Parameters
[in]conn_hdlConnection handle.
[in]cli_cnfgIDD Command Data characteristic cli cnfg to set.
Returns
ble_status_t

◆ R_BLE_IDC_WriteIddRecordAccessControlPoint()

ble_status_t R_BLE_IDC_WriteIddRecordAccessControlPoint ( uint16_t  conn_hdl,
const st_ble_idc_idd_record_access_control_point_t p_app_value 
)

Write IDD Record Access Control Point characteristic value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_app_valuePointer to IDD Record Access Control Point characteristic value to write.
Returns
ble_status_t

◆ R_BLE_IDC_SetIddRecordAccessControlPointCliCnfg()

ble_status_t R_BLE_IDC_SetIddRecordAccessControlPointCliCnfg ( uint16_t  conn_hdl,
uint16_t  cli_cnfg 
)

Set IDD Record Access Control Point characteristic cli cnfg.

Parameters
[in]conn_hdlConnection handle.
[in]cli_cnfgIDD Record Access Control Point characteristic cli cnfg to set.
Returns
ble_status_t

◆ R_BLE_IDC_SetIddHistoryDataCliCnfg()

ble_status_t R_BLE_IDC_SetIddHistoryDataCliCnfg ( uint16_t  conn_hdl,
uint16_t  cli_cnfg 
)

Set IDD History Data characteristic cli cnfg.

Parameters
[in]conn_hdlConnection handle.
[in]cli_cnfgIDD History Data characteristic cli cnfg to set.
Returns
ble_status_t

◆ R_BLE_IDC_GetVersion()

uint32_t R_BLE_IDC_GetVersion ( void  )

Return version of the IDC service client.

Returns
version

Variable Documentation

◆ BLE_IDC_UUID

const uint8_t BLE_IDC_UUID[BLE_GATT_16_BIT_UUID_SIZE]

Insulin Delivery Service UUID.

◆ BLE_IDC_IDD_STATUS_CHANGED_UUID

const uint8_t BLE_IDC_IDD_STATUS_CHANGED_UUID[BLE_GATT_16_BIT_UUID_SIZE]

IDD Status Changed characteristic UUID.

◆ BLE_IDC_IDD_STATUS_UUID

const uint8_t BLE_IDC_IDD_STATUS_UUID[BLE_GATT_16_BIT_UUID_SIZE]

IDD Status characteristic UUID.

◆ BLE_IDC_IDD_ANNUNCIATION_STATUS_UUID

const uint8_t BLE_IDC_IDD_ANNUNCIATION_STATUS_UUID[BLE_GATT_16_BIT_UUID_SIZE]

IDD Annunciation Status characteristic UUID.

◆ BLE_IDC_IDD_FEATURES_UUID

const uint8_t BLE_IDC_IDD_FEATURES_UUID[BLE_GATT_16_BIT_UUID_SIZE]

IDD Features characteristic UUID.

◆ BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_UUID

const uint8_t BLE_IDC_IDD_STATUS_READER_CONTROL_POINT_UUID[BLE_GATT_16_BIT_UUID_SIZE]

IDD Status Reader Control Point characteristic UUID.

◆ BLE_IDC_IDD_COMMAND_CONTROL_POINT_UUID

const uint8_t BLE_IDC_IDD_COMMAND_CONTROL_POINT_UUID[BLE_GATT_16_BIT_UUID_SIZE]

IDD Command Control Point characteristic UUID.

◆ BLE_IDC_IDD_COMMAND_DATA_UUID

const uint8_t BLE_IDC_IDD_COMMAND_DATA_UUID[BLE_GATT_16_BIT_UUID_SIZE]

IDD Command Data characteristic UUID.

◆ BLE_IDC_IDD_RECORD_ACCESS_CONTROL_POINT_UUID

const uint8_t BLE_IDC_IDD_RECORD_ACCESS_CONTROL_POINT_UUID[BLE_GATT_16_BIT_UUID_SIZE]

IDD Record Access Control Point characteristic UUID.

◆ BLE_IDC_IDD_HISTORY_DATA_UUID

const uint8_t BLE_IDC_IDD_HISTORY_DATA_UUID[BLE_GATT_16_BIT_UUID_SIZE]

IDD History Data characteristic UUID.