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

This service exposes the control capability, the status of an Insulin Delivery Device (IDD) running an insulin infusion therapy, and historical therapy data to be used in the personal and professional healthcare industry. More...

Detailed Description

This service exposes the control capability, the status of an Insulin Delivery Device (IDD) running an insulin infusion therapy, and historical therapy data to be used in the personal and professional healthcare industry.

This file provides APIs to interface Insulin Delivery Service Records.

Data Structures

struct  st_ble_ids_evt_data_t
 Insulin Delivery Service event data. More...
 
struct  st_ble_ids_init_param_t
 Insulin Delivery Service initialization parameters. More...
 
struct  st_ble_ids_connect_param_t
 Insulin Delivery Service connection parameters. More...
 
struct  st_ble_ids_disconnect_param_t
 Insulin Delivery Service disconnection parameters. More...
 
struct  st_ble_ids_idd_srcp_response_code_operand_t
 IDD Status Reader Control Point Response code operand. More...
 
struct  st_ble_ids_idd_srcp_reset_status_operand_t
 IDD Status Reader Control Point Reset status operand. More...
 
struct  st_ble_ids_idd_srcp_get_active_bolusids_response_operand_t
 IDD Status Reader Control Point Get Active Blus ID Response. More...
 
struct  st_ble_ids_idd_srcp_get_active_bolus_delivery_operand_t
 IDD Status Reader Control Point Get Active Blus Delivery. More...
 
struct  st_ble_ids_idd_srcp_get_active_bolus_delivery_response_operand_t
 IDD Status Reader Control Point Get Active Blus Delivery.Response. More...
 
struct  st_ble_ids_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_ids_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_ids_idd_srcp_get_counter_operand_t
 IDD Status Reader Control Point Get Counter. More...
 
struct  st_ble_ids_idd_srcp_get_counter_response_operand_t
 IDD Status Reader Control Point Get Counter Response. More...
 
struct  st_ble_ids_idd_srcp_get_delivered_insulin_response_operand_t
 IDD Status Reader Control Point Get Delivered Insulin Response. More...
 
struct  st_ble_ids_idd_srcp_get_insulin_onbord_response_operand_t
 IDD Status Reader Control Point Get Insulin On Board Response Response. More...
 
struct  st_ble_ids_idd_ccp_response_code_operand_t
 IDD Command CP Response Code Operand. More...
 
struct  st_ble_ids_idd_ccp_write_brp_template_operand_t
 IDD Command CP Write Basal Rate Profile Template Operand. More...
 
struct  st_ble_ids_idd_ccp_write_brp_template_response_operand_t
 IDD Command CP Write Basal Rate Profile Template Response Operand. More...
 
struct  st_ble_ids_idd_ccp_set_tbr_adjustment_operand_t
 DD Command CP Set TBR Adjustment Operand. More...
 
struct  st_ble_ids_idd_ccp_get_tbr_template_response_operand_t
 IDD Command CP Get TBR Template Response Operand. More...
 
struct  st_ble_ids_idd_ccp_set_tbr_template_operand_t
 IDD Command CP Set TBR Template Operand. More...
 
struct  st_ble_ids_idd_ccp_set_bolus_operand_t
 IDD Command CP Set Bolus Operand. More...
 
struct  st_ble_ids_idd_ccp_get_available_boluses_res_t
 IDD Command CP get available boluses. More...
 
struct  st_ble_ids_idd_ccp_get_bolus_template_response_operand_t
 IDD Command CP Get Bolus Template Response Operand. More...
 
struct  st_ble_ids_idd_ccp_reset_template_status_operand_t
 IDD Command CP Reset Template Status Operand. More...
 
struct  st_ble_ids_idd_ccp_active_prof_template_operand_t
 IDD Command CP Reset Template Status Response Operand. More...
 
struct  st_ble_ids_idd_ccp_write_ipt_operand_t
 IDD Command CP write isf profile template. More...
 
struct  st_ble_ids_idd_ccp_write_ipt_res_operand_t
 IDD Command CP Write ISF Profile Template Response. More...
 
struct  st_ble_ids_idd_ccp_write_irpt_operand_t
 IDD Command CP Write I2CHO Ratio Profile Template. More...
 
struct  st_ble_ids_idd_ccp_write_irpt_res_operand_t
 IDD Command CP Write I2CHO Ratio Profile Template Response. More...
 
struct  st_ble_ids_idd_ccp_write_trgp_operand_t
 IDD Command CP Write Target Glucose Range Profile Template. More...
 
struct  st_ble_ids_idd_ccp_write_trgp_res_operand_t
 IDD Command CP Write Target Glucose Range Profile Template. More...
 
struct  st_ble_ids_idd_cd_read_brpt_response_operand_t
 IDD Command Data Read Basal Rate Profile Template Response Operand. More...
 
struct  st_ble_ids_idd_cd_get_temstatus_details_response_t
 IDD Command Data Get Supported Template Details and Status Response Operand. More...
 
struct  st_ble_ids_idd_cd_read_isfpt_response_t
 IDD Command Data Operand of Read ISF Profile Template Response. More...
 
struct  st_ble_ids_idd_cd_i2chorpt_response_t
 IDD Command Data Operand of Read I2CHO Ratio Profile Template Response. More...
 
struct  st_ble_ids_idd_cd_tg_range_response_t
 IDD Command Data Operand of Read Target Glucose Range Profile Template Response. More...
 
struct  st_ble_ids_idd_history_data_ref_time_event_t
 IDD History Data Reference Time Event. More...
 
struct  st_ble_ids_idd_history_data_ref_time_baseoffset_event_t
 IDD History Data Reference Time Base Offset Event. More...
 
struct  st_ble_ids_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_ids_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_ids_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_ids_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_ids_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_ids_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_ids_idd_history_delivered_basal_rate_changed_event_t
 IDD History Data Bolus Delivered Basal Rate Changed Event. More...
 
struct  st_ble_ids_idd_history_tbr_adjustment_started_event_t
 IDD History Data TBR Adjustment Started Event. More...
 
struct  st_ble_ids_idd_history_tbr_adjustment_ended_event_t
 IDD History Data TBR Adjustment ended Event. More...
 
struct  st_ble_ids_idd_history_tbr_adjustment_changed_event_t
 IDD History Data TBR Adjustment Changed Event. More...
 
struct  st_ble_ids_idd_history_pro_template_activated_event_t
 IDD History Profile Template Activated. More...
 
struct  st_ble_ids_idd_history_brpt_time_block_changed_event_t
 IDD History Basal Rate Profile Template Time Block Changed. More...
 
struct  st_ble_ids_idd_history_total_daily_insulin_delivery_event_t
 IDD History Total Daily Insulin Delivery. More...
 
struct  st_ble_ids_idd_history_therapy_control_state_event_t
 IDD History Therapy Control State Changed. More...
 
struct  st_ble_ids_idd_history_operational_state_changed_event_t
 IDD History Therapy Control State Changed. More...
 
struct  st_ble_ids_idd_history_annunciation_status_changed_part_1_of_2_event_t
 IDD History Annunciation Status Changed Part 1 of 2. More...
 
struct  st_ble_ids_idd_history_annunciation_status_changed_part_2_of_2_event_t
 IDD History Annunciation Status Changed Part 2 of 2. More...
 
struct  st_ble_ids_idd_history_isfpt_time_block_changed_event_t
 IDD History ISF Profile Template Time Block Changed. More...
 
struct  st_ble_ids_idd_history_i2chorpt_time_block_changed_event_t
 IDD History I2CHO Ratio Profile Template Time Block Changed. More...
 
struct  st_ble_ids_idd_history_tgrpt_time_block_changed_event_t
 IDD History Target Glucose Range Profile Template Time Block Changed. More...
 
struct  st_ble_ids_idd_history_priming_done_event_t
 IDD History Priming Done. More...
 
struct  st_ble_ids_idd_history_bolus_template_changed_part_1_of_2_event_t
 IDD History Bolus Template Changed Part 1 of 2. More...
 
struct  st_ble_ids_idd_history_bolus_template_changed_part_2_of_2_event_t
 IDD History Bolus Template Changed Part 2 of 2. More...
 
struct  st_ble_ids_idd_history_tbr_template_changed_event_t
 IDD History TBR Template Changed. More...
 
struct  st_ble_ids_idd_history_max_bolus_amount_changed_event_t
 IDD History Max Bolus Amount Changed. More...
 
struct  st_ble_ids_idd_status_changed_t
 IDD Status Changed characteristic parameters. More...
 
struct  st_ble_ids_idd_status_t
 IDD Status characteristic parameters. More...
 
struct  st_ble_ids_idd_annunciation_status_t
 IDD Annunciation Status characteristic parameters. More...
 
struct  st_ble_ids_idd_features_t
 IDD Features characteristic parameters. More...
 
struct  st_ble_ids_idd_status_reader_control_point_t
 IDD Status Reader Control Point characteristic parameters. More...
 
struct  st_ble_ids_idd_command_control_point_t
 IDD Command Control Point characteristic parameters. More...
 
struct  st_ble_ids_idd_command_data_t
 IDD Command Data characteristic parameters. More...
 
struct  st_ble_ids_idd_record_access_control_point_t
 IDD Record Access Control Point characteristic parameters. More...
 
struct  st_ble_ids_idd_history_data_t
 IDD History Data characteristic parameters. More...
 
struct  st_ble_ids_record_t
 

Macros

#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_IDS_RACP_OPERAND_LENGTH   (15)
 racp operand length More...
 
#define BLE_IDS_DB_MAX_NUM_OF_RECORDS   (10)
 
#define BLE_IDS_DB_INVALID_INDEX   (0xFFFF)
 

Typedefs

typedef void(* ble_ids_app_cb_t) (uint16_t type, ble_status_t result, st_ble_ids_evt_data_t *data)
 Insulin Delivery Service event callback. More...
 

Enumerations

enum  e_ble_ids_opcode_racp_t {
  BLE_IDS_OPCODE_RACP_RESPONSE_CODE = 0x0F,
  BLE_IDS_OPCODE_RACP_REPORT_STORED_RECORDS = 0x33,
  BLE_IDS_OPCODE_RACP_DELETE_STORED_RECORDS = 0x3C,
  BLE_IDS_OPCODE_RACP_ABORT_OPERATION = 0x55,
  BLE_IDS_OPCODE_RACP_REPORT_NUMBER_OF_STORED_RECORDS = 0x5A,
  BLE_IDS_OPCODE_RACP_RESPONSE_NUMBER_OF_STORED_RECORDS = 0x66
}
 Op Code enumeration. More...
 
enum  e_ble_ids_operator_racp_t {
  BLE_IDS_OPERATOR_RACP_NULL = 0x0F,
  BLE_IDS_OPERATOR_RACP_ALL_RECORDS = 0x33,
  BLE_IDS_OPERATOR_RACP_LESS_THAN_OR_EQUAL_TO = 0x3C,
  BLE_IDS_OPERATOR_RACP_GREATER_THAN_OR_EQUAL_TO = 0x55,
  BLE_IDS_OPERATOR_RACP_WITHIN_RANGE_OF_INCLUSIVE = 0x5A,
  BLE_IDS_OPERATOR_RACP_OLDEST_RECORD = 0x66,
  BLE_IDS_OPERATOR_RACP_MOST_RECENT_RECORD = 0x69
}
 Operator enumeration. More...
 
enum  e_ble_ids_filter_type_racp_t {
  BLE_IDS_FILTER_TYPE_RACP_SEQUENCE_NUMBER = 0x0F,
  BLE_IDS_FILTER_TYPE_RACP_SEQ_NUM_FILTER_BY_REFERENECE_TIME_EVENT = 0x33,
  BLE_IDS_FILTER_TYPE_RACP_SEQ_NUM_FILTER_BY_NON_REFERENCE_TIME_EVENT = 0x3C
}
 Filter Type enumeration. More...
 
enum  e_ble_ids_response_code_racp_t {
  BLE_IDS_RESPONSE_CODE_RACP_OPCODE_NOT_SUPPORTED = 0x02,
  BLE_IDS_RESPONSE_CODE_RACP_INVALID_OPERATOR = 0x03,
  BLE_IDS_RESPONSE_CODE_RACP_OPERATOR_NOT_SUPPORTED = 0x04,
  BLE_IDS_RESPONSE_CODE_RACP_INVALID_OPERAND = 0x05,
  BLE_IDS_RESPONSE_CODE_RACP_NO_RECORDS_FOUND = 0x06,
  BLE_IDS_RESPONSE_CODE_RACP_ABORT_UNSUCCESSFUL = 0x07,
  BLE_IDS_RESPONSE_CODE_RACP_OPERAND_NOT_SUPPORTED = 0x09,
  BLE_IDS_RESPONSE_CODE_RACP_PROCEDURE_NOT_APPLICABLE = 0x0A,
  BLE_IDS_RESPONSE_CODE_RACP_SUCCESS = 0xF0
}
 Response Code enumeration. More...
 
enum  e_ble_ids_event_t {
  BLE_IDS_EVENT_IDD_STATUS_CHANGED_CLI_CNFG_ENABLED,
  BLE_IDS_EVENT_IDD_STATUS_CHANGED_CLI_CNFG_DISABLED,
  BLE_IDS_EVENT_IDD_STATUS_CHANGED_HDL_VAL_CNF,
  BLE_IDS_EVENT_IDD_STATUS_CLI_CNFG_ENABLED,
  BLE_IDS_EVENT_IDD_STATUS_CLI_CNFG_DISABLED,
  BLE_IDS_EVENT_IDD_STATUS_HDL_VAL_CNF,
  BLE_IDS_EVENT_IDD_ANNUNCIATION_STATUS_CLI_CNFG_ENABLED,
  BLE_IDS_EVENT_IDD_ANNUNCIATION_STATUS_CLI_CNFG_DISABLED,
  BLE_IDS_EVENT_IDD_ANNUNCIATION_STATUS_HDL_VAL_CNF,
  BLE_IDS_EVENT_IDD_STATUS_READER_CONTROL_POINT_CLI_CNFG_ENABLED,
  BLE_IDS_EVENT_IDD_STATUS_READER_CONTROL_POINT_CLI_CNFG_DISABLED,
  BLE_IDS_EVENT_IDD_STATUS_READER_CONTROL_POINT_HDL_VAL_CNF,
  BLE_IDS_EVENT_IDD_COMMAND_CONTROL_POINT_CLI_CNFG_ENABLED,
  BLE_IDS_EVENT_IDD_COMMAND_CONTROL_POINT_CLI_CNFG_DISABLED,
  BLE_IDS_EVENT_IDD_COMMAND_CONTROL_POINT_HDL_VAL_CNF,
  BLE_IDS_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_CLI_CNFG_ENABLED,
  BLE_IDS_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_CLI_CNFG_DISABLED,
  BLE_IDS_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_HDL_VAL_CNF,
  BLE_IDS_EVENT_IDD_COMMAND_DATA_CLI_CNFG_ENABLED,
  BLE_IDS_EVENT_IDD_COMMAND_DATA_CLI_CNFG_DISABLED,
  BLE_IDS_EVENT_IDD_HISTORY_DATA_CLI_CNFG_ENABLED,
  BLE_IDS_EVENT_IDD_HISTORY_DATA_CLI_CNFG_DISABLED,
  BLE_IDS_EVENT_IDD_STATUS_READER_CONTROL_POINT_WRITE_REQ,
  BLE_IDS_EVENT_IDD_COMMAND_CONTROL_POINT_WRITE_REQ,
  BLE_IDS_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_WRITE_REQ,
  BLE_IDS_EVENT_IDD_STATUS_CHANGED_READ_REQ,
  BLE_IDS_EVENT_IDD_STATUS_READ_REQ,
  BLE_IDS_EVENT_IDD_ANNUNCIATION_STATUS_READ_REQ,
  BLE_IDS_EVENT_IDD_FEATURES_READ_REQ
}
 Insulin Delivery Service event type. More...
 
enum  e_ble_ids_idd_status_therapy_control_state_t {
  BLE_IDS_IDD_STATUS_THERAPY_CONTROL_STATE_STOP = 0x33,
  BLE_IDS_IDD_STATUS_THERAPY_CONTROL_STATE_PAUSE = 0x3c,
  BLE_IDS_IDD_STATUS_THERAPY_CONTROL_STATE_RUN = 0x55,
  BLE_IDS_IDD_STATUS_THERAPY_CONTROL_STATE_UNDETERMINED = 0x0F
}
 Therapy Control State enumeration. More...
 
enum  e_ble_ids_idd_status_operational_state_t {
  BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_OFF = 0x33,
  BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_STANDBY = 0x3c,
  BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_PREPARING = 0x55,
  BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_PRIMING = 0x5A,
  BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_WAITING = 0x66,
  BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_READY = 0x96,
  BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_UNDETERMINED = 0x0F
}
 Operational State enumeration. More...
 
enum  e_ble_ids_idd_annunciation_status_type_t {
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_SYSTEM_ISSUE = 0x000F,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_MECHANICAL_ISSUE = 0x0033,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_OCCLUSION_DETECTED = 0x003C,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_ISSUE = 0x0055,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_EMPTY = 0x005A,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_LOW = 0x0066,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_PRIMING_ISSUE = 0x0069,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_INFUSION_SET_INCOMPLETE = 0x0096,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_INFUSION_SET_DETACHED = 0x0099,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_POWER_SOURCE_INSUFFICIENT = 0x00A5,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_EMPTY = 0x00AA,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_LOW = 0x00C3,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_MEDIUM = 0x00CC,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_FULL = 0x00F0,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TEMPERATURE_OUT_OF_RANGE = 0x00FF,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_AIR_PRESSURE_OUT_OF_RANGE = 0x0303,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BOLUS_CANCELED = 0x030C,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TBR_OVER = 0x0330,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TBR_CANCELED = 0x033F,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_MAX_DELIVERY = 0x0356,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_DATE_TIME_ISSUE = 0x0359,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TEMPERATURE = 0x0365
}
 Annunciation Type enumeration. More...
 
enum  e_ble_ids_idd_annunciation_status_status_t {
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_PENDING = 0x33,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_SNOOZED = 0x3c,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_CONFIRMED = 0x55,
  BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_UNDETERMINED = 0x0F
}
 Annunciation Status enumeration. More...
 
enum  e_ble_ids_idd_status_reader_control_point_t {
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_RESPONSE_CODE = 0x0303,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_RESET_STATUS = 0x030C,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_IDS = 0x0330,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_IDS_RESPONSE = 0x033F,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_DELIVERY = 0x0356,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_DELIVERY_RESPONSE = 0x0359,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BASAL_RATE_DELIVERY = 0x0365,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BASAL_RATE_DELIVERY_RESPONSE = 0x036A,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_TOTAL_DAILY_INSULIN_STATUS = 0x0395,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_TOTAL_DAILY_INSULIN_STATUS_RESPONSE = 0x039A,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_COUNTER = 0x03A6,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_COUNTER_RESPONSE = 0x03A9,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_DELIVERED_INSULIN = 0x03C0,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_DELIVERED_INSULIN_RESPONSE = 0x03CF,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_INSULIN_ON_BOARD = 0x03F3,
  BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_INSULIN_ON_BOARD_RESPONSE = 0x03FC
}
 Op Code enumeration. More...
 
enum  e_ble_ids_response_code_srcp_t {
  BLE_IDS_RESPONSE_CODE_SRCP_SUCCESS = 0x0F,
  BLE_IDS_RESPONSE_CODE_SRCP_OPCODE_NOT_SUPPORTED = 0x70,
  BLE_IDS_RESPONSE_CODE_SRCP_INVALID_OPERAND = 0x71,
  BLE_IDS_RESPONSE_CODE_SRCP_PROCEDURE_NOT_COMPLETED = 0x72,
  BLE_IDS_RESPONSE_CODE_SRCP_PARAMETER_OUT_OF_RANGE = 0x73,
  BLE_IDS_RESPONSE_CODE_SRCP_PROCEDURE_NOT_APPLICABLE = 0x74
}
 The Response Code Values associated with the IDD Status Reader CP. More...
 
enum  e_ble_ids_idd_command_control_point_t {
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESPONSE_CODE = 0x0F55,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_THERAPY_CONTROL_STATE = 0x0F5A,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_FLIGHT_MODE = 0x0F66,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SNOOZE_ANNUNCIATION = 0x0F69,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SNOOZE_ANNUNCIATION_RESPONSE = 0x0F96,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_CONFIRM_ANNUNCIATION = 0x0F99,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_CONFIRM_ANNUNCIATION_RESPONSE = 0x0FA5,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE = 0x0FAA,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE = 0x0FC3,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE = 0x0FCC,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE = 0x0FF0,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_ADJUSTMENT = 0x0FFF,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_TBR_ADJUSTMENT = 0x1111,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TBR_TEMPLATE = 0x111E,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TBR_TEMPLATE_RESPONSE = 0x1122,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_TEMPLATE = 0x112D,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_TEMPLATE_RESPONSE = 0x1144,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS = 0x114B,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_RESPONSE = 0x1177,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_BOLUS = 0x1178,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_BOLUS_RESPONSE = 0x1187,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_AVAILABLE_BOLUSES = 0x1188,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_AVAILABLE_BOLUSES_RESPONSE = 0x11B4,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_BOLUS_TEMPLATE = 0x11BB,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_BOLUS_TEMPLATE_RESPONSE = 0x11D2,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_TEMPLATE = 0x11DD,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_TEMPLATE_RESPONSE = 0x11E1,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS = 0x11EE,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS_RESPONSE = 0x1212,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_TEMPLATE_STATUS = 0x121D,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_TEMPLATE_STATUS_RESPONSE = 0x1221,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_ACTIVATE_PROFILE_TEMPLATES = 0x122E,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_ACTIVATE_PROFILE_TEMPLATES_RESPONSE = 0x1247,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES = 0x1248,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES_RESPONSE = 0x1274,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_START_PRIMING = 0x127B,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_STOP_PRIMING = 0x1284,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_INITIAL_RESERVOIR_FILL_LEVEL = 0x128B,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_RESERVOIR_INSULIN_OPERATION_TIME = 0x12B7,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_ISF_PROFILE_TEMPLATE = 0x12B8,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_ISF_PROFILE_TEMPLATE_RESPONSE = 0x12D1,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE = 0x12DE,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE_RESPONSE = 0x12E2,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE = 0x12ED,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE = 0x1414,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE = 0x141B,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE = 0x1427,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE = 0x1428,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE = 0x1441,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE = 0x144E,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE = 0x1472,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_MAX_BOLUS_AMOUNT = 0x147D,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_MAX_BOLUS_AMOUNT_RESPONSE = 0x1482,
  BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_MAX_BOLUS_AMOUNT = 0x148D
}
 Op Code enumeration. More...
 
enum  e_ble_ids_response_code_ccp_t {
  BLE_IDS_RESPONSE_CODE_CCP_SUCCESS = 0x0F,
  BLE_IDS_RESPONSE_CODE_CCP_OPCODE_NOT_SUPPORTED = 0x70,
  BLE_IDS_RESPONSE_CODE_CCP_INVALID_OPERAND = 0x71,
  BLE_IDS_RESPONSE_CODE_CCP_PROCEDURE_NOT_COMPLETED = 0x72,
  BLE_IDS_RESPONSE_CODE_CCP_PARAMETER_OUT_OF_RANGE = 0x73,
  BLE_IDS_RESPONSE_CODE_CCP_PROCEDURE_NOT_APPLICABLE = 0x74,
  BLE_IDS_RESPONSE_CODE_CCP_PLAUSIBILITY_CHECK_FAILED = 0x75,
  BLE_IDS_RESPONSE_CODE_CCP_MAXIMUM_BOLUS_NUMBER_REACHED = 0x76
}
 The Response Code Values associated with the IDD Command CP. More...
 
enum  e_ble_ids_idd_command_data_t {
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESPONSE_CODE = 0x0F55,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_THERAPY_CONTROL_STATE = 0x0F5A,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_FLIGHT_MODE = 0x0F66,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SNOOZE_ANNUNCIATION = 0x0F69,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SNOOZE_ANNUNCIATION_RESPONSE = 0x0F96,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CONFIRM_ANNUNCIATION = 0x0F99,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CONFIRM_ANNUNCIATION_RESPONSE = 0x0FA5,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE = 0x0FAA,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE = 0x0FC3,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE = 0x0FCC,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE = 0x0FF0,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_ADJUSTMENT = 0x0FFF,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_TBR_ADJUSTMENT = 0x1111,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TBR_TEMPLATE = 0x111E,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TBR_TEMPLATE_RESPONSE = 0x1122,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_TEMPLATE = 0x112D,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_TEMPLATE_RESPONSE = 0x1144,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS = 0x114B,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_RESPONSE = 0x1177,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_BOLUS = 0x1178,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_BOLUS_RESPONSE = 0x1187,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_AVAILABLE_BOLUSES = 0x1188,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_AVAILABLE_BOLUSES_RESPONSE = 0x11B4,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_BOLUS_TEMPLATE = 0x11BB,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_BOLUS_TEMPLATE_RESPONSE = 0x11D2,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_TEMPLATE = 0x11DD,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_TEMPLATE_RESPONSE = 0x11E1,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS = 0x11EE,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS_RESPONSE = 0x1212,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_TEMPLATE_STATUS = 0x121D,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_TEMPLATE_STATUS_RESPONSE = 0x1221,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_ACTIVATE_PROFILE_TEMPLATES = 0x122E,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_ACTIVATE_PROFILE_TEMPLATES_RESPONSE = 0x1247,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES = 0x1248,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES_RESPONSE = 0x1274,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_START_PRIMING = 0x127B,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_STOP_PRIMING = 0x1284,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_INITIAL_RESERVOIR_FILL_LEVEL = 0x128B,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_RESERVOIR_INSULIN_OPERATION_TIME = 0x12B7,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_ISF_PROFILE_TEMPLATE = 0x12B8,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_ISF_PROFILE_TEMPLATE_RESPONSE = 0x12D1,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE = 0x12DE,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE_RESPONSE = 0x12E2,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE = 0x12ED,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE = 0x1414,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE = 0x141B,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE = 0x1427,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE = 0x1428,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE = 0x1441,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE = 0x144E,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_RESPONSE = 0x1472,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_MAX_BOLUS_AMOUNT = 0x147D,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_MAX_BOLUS_AMOUNT_RESPONSE = 0x1482,
  BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_MAX_BOLUS_AMOUNT = 0x148D
}
 Response Op Code enumeration. More...
 
enum  e_ble_ids_idd_history_data_t {
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_REFERENCE_TIME = 0x000F,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_REFERENCE_TIME_BASE_OFFSET = 0x0033,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_CALCULATED_PART_1_OF_2 = 0x003C,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_CALCULATED_PART_2_OF_2 = 0x0055,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_PROGRAMMED_PART_1_OF_2 = 0x005A,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_PROGRAMMED_PART_2_OF_2 = 0x0066,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_DELIVERED_PART_1_OF_2 = 0x0069,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_DELIVERED_PART_2_OF_2 = 0x0096,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_DELIVERED_BASAL_RATE_CHANGED = 0x0099,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_STARTED = 0x00A5,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_ENDED = 0x00AA,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_CHANGED = 0x00C3,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_PROFILE_TEMPLATE_ACTIVATED = 0x00CC,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BASAL_RATE_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED = 0x00F0,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TOTAL_DAILY_INSULIN_DELIVERY = 0x00FF,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_THERAPY_CONTROL_STATE_CHANGED = 0x0303,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_OPERATIONAL_STATE_CHANGED = 0x030C,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_RESERVOIR_REMAINING_AMOUNT_CHANGED = 0x0330,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_ANNUNCIATION_STATUS_CHANGED_PART_1_OF_2 = 0x033F,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_ANNUNCIATION_STATUS_CHANGED_PART_2_OF_2 = 0x0356,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_ISF_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED = 0x0359,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_I2CHO_RATIO_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED = 0x0365,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED = 0x036A,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_PRIMING_STARTED = 0x0395,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_PRIMING_DONE = 0x039A,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_DATA_CORRUPTION = 0x03A6,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_POINTER_EVENT = 0x03A9,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_TEMPLATE_CHANGED_PART_1_OF_2 = 0x03C0,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_TEMPLATE_CHANGED_PART_2_OF_2 = 0x03CF,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TBR_TEMPLATE_CHANGED = 0x03F3,
  BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_MAX_BOLUS_AMOUNT_CHANGED = 0x03FC
}
 Event Type enumeration. More...
 
enum  e_ble_ids_idd_srcp_operand_bolus_value_sel_t {
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_PROGRAMMED = 0x0F,
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_REMAINING = 0x33,
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_DELIVERED = 0x3C
}
 Bolus Value Selection. More...
 
enum  e_ble_ids_idd_srcp_operand_bolus_type_values_t {
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_TYPE_UNDETERMINED = 0x0F,
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_TYPE_FAST = 0x33,
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_TYPE_EXTENDED = 0x3C,
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_TYPE_MULTIWAVE = 0x55
}
 Bolus Type values. More...
 
enum  e_ble_ids_idd_srcp_operand_bolus_activation_type_t {
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_UNDETERMINED = 0x0F,
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_MANUAL_BOLUS = 0x33,
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_RECOMMENTED_BOLUS = 0x3C,
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_MANUALLY_CHANGED_RECOMMENTED_BOLUS = 0x55,
  BLE_IDS_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_COMMANDED_BOLUS = 0x5A
}
 Bolus Activation Type. More...
 
enum  e_ble_ids_idd_srcp_operand_tbr_type_values_t {
  BLE_IDS_IDD_SRCP_OPRAND_TBR_TYPE_UNDETERMINED = 0x0F,
  BLE_IDS_IDD_SRCP_OPRAND_TBR_TYPE_ABSOLUTE = 0x33,
  BLE_IDS_IDD_SRCP_OPRAND_TBR_TYPE_RELATIVE = 0x3C
}
 TBR Type Values. More...
 
enum  e_ble_ids_idd_srcp_operand_basel_delivery_context_t {
  BLE_IDS_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_UNDETERMINED = 0x0F,
  BLE_IDS_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_DEVICE_BASED = 0x33,
  BLE_IDS_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_REMOTE_CONTROL = 0x3C,
  BLE_IDS_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_AP_CONTROL = 0x55
}
 Basal Delivery Context Values. More...
 
enum  e_ble_ids_idd_srcp_operand_counter_type_values_t {
  BLE_IDS_IDD_SRCP_OPRAND_COUNTER_TYPE_LIFETIME = 0x0F,
  BLE_IDS_IDD_SRCP_OPRAND_COUNTER_TYPE_WARRANTY_TIME = 0x33,
  BLE_IDS_IDD_SRCP_OPRAND_COUNTER_TYPE_LOANER_TIME = 0x3C,
  BLE_IDS_IDD_SRCP_OPRAND_COUNTER_TYPE_INSULIN_OPERATION_TIME = 0x55
}
 Counter Type Values. More...
 
enum  e_ble_ids_idd_srcp_operand_counter_value_sel_t {
  BLE_IDS_IDD_SRCP_OPRAND_COUNTER_VALUE_REMAINING = 0x0F,
  BLE_IDS_IDD_SRCP_OPRAND_COUNTER_VALUE_ELAPSED = 0x33
}
 Counter Value Selection value. More...
 
enum  e_ble_ids_idd_ccp_operand_response_code_t {
  BLE_IDS_IDD_CCP_OPRAND_RESPONSE_CODE_SUCCESS = 0x0F,
  BLE_IDS_IDD_CCP_OPRAND_OP_CODE_NOT_SUPPORTED = 0x70,
  BLE_IDS_IDD_CCP_OPRAND_INVALID_OPERAND = 0x71,
  BLE_IDS_IDD_CCP_OPRAND_PROCEDURE_NOT_COMPLETED = 0x72,
  BLE_IDS_IDD_CCP_OPRAND_PARAMETER_OUT_OF_RANGE = 0x73,
  BLE_IDS_IDD_CCP_OPRAND_PROCEDURE_NOT_APPLICABLE = 0x74,
  BLE_IDS_IDD_CCP_OPRAND_PLAUSIBILITY_CHECK_FAILED = 0x75,
  BLE_IDS_IDD_CCP_OPRAND_MAXIMUM_BOLUS_NUMBER_REACHED = 0x76
}
 IDD Command CP Response Code values. More...
 
enum  e_ble_ids_idd_ccp_operand_bolus_activation_type_t {
  BLE_IDS_IDD_CCP_OPRAND_UNDETERMINED = 0x0F,
  BLE_IDS_IDD_CCP_OPRAND_MANUAL_BOLUS = 0x33,
  BLE_IDS_IDD_CCP_OPRAND_RECOMMENDED_BOLUS = 0x3C,
  BLE_IDS_IDD_CCP_OPRAND_MANUALLY_CHANGED_RECOMMENDED_BOLUS = 0x55,
  BLE_IDS_IDD_CCP_OPRAND_COMMANDED_BOLUS = 0x5A
}
 IDD Command CP Bolus Activation Type values. More...
 
enum  e_ble_ids_idd_ccp_operand_bolus_template_type_t {
  BLE_IDS_IDD_CCP_OPRAND_TEMPLATE_TYPE_UNDETERMINED = 0x0F,
  BLE_IDS_IDD_CCP_OPRAND_BASEL_RATE_PROFILE_TEMPLATE = 0x33,
  BLE_IDS_IDD_CCP_OPRAND_TBR_TEMPLATE = 0x3C,
  BLE_IDS_IDD_CCP_OPRAND_BOLUS_TEMPLATE = 0x55,
  BLE_IDS_IDD_CCP_OPRAND_ISF_PROFILE_TEMPLATE = 0x5A,
  BLE_IDS_IDD_CCP_OPRAND_I2CHO_RATIO_PROFILE_TEMPLATE = 0x66,
  BLE_IDS_IDD_CCP_OPRAND_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE = 0x96
}
 IDD Command CP Template Type values. More...
 
enum  e_ble_ids_cts_dst_offset_t {
  BLE_CTS_LOCAL_TIME_DST_OFFSET_STANDARD_TIME = 0,
  BLE_CTS_LOCAL_TIME_DST_OFFSET_HALF_AN_HOUR_DAYLIGHT_TIME = 2,
  BLE_CTS_LOCAL_TIME_DST_OFFSET_DAYLIGHT_TIME = 4,
  BLE_CTS_LOCAL_TIME_DST_OFFSET_DOUBLE_DAYLIGHT_TIME = 8,
  BLE_CTS_DST_OFFSET_UNKNOWN = 255
}
 .Histary Data Event Dst Offset More...
 

Functions

ble_status_t R_BLE_IDS_Init (const st_ble_ids_init_param_t *p_param)
 Initialize Insulin Delivery Service. More...
 
ble_status_t R_BLE_IDS_Connect (uint16_t conn_hdl, const st_ble_ids_connect_param_t *p_param)
 Perform Insulin Delivery Service connection settings. More...
 
ble_status_t R_BLE_IDS_Disconnect (uint16_t conn_hdl, st_ble_ids_disconnect_param_t *p_param)
 Retrieve Insulin Delivery Service connection specific settings before disconnection. More...
 
ble_status_t R_BLE_IDS_GetIddStatusChanged (st_ble_ids_idd_status_changed_t *p_app_value)
 Get IDD Status Changed characteristic value from local GATT database. More...
 
ble_status_t R_BLE_IDS_SetIddStatusChanged (const st_ble_ids_idd_status_changed_t *p_app_value)
 Set IDD Status Changed characteristic value to local GATT database. More...
 
ble_status_t R_BLE_IDS_IndicateIddStatusChanged (uint16_t conn_hdl, const st_ble_ids_idd_status_changed_t *p_app_value)
 Send IDD Status Changed indication. More...
 
ble_status_t R_BLE_IDS_GetIddStatus (st_ble_ids_idd_status_t *p_app_value)
 Get IDD Status characteristic value from local GATT database. More...
 
ble_status_t R_BLE_IDS_SetIddStatus (const st_ble_ids_idd_status_t *p_app_value)
 Set IDD Status characteristic value to local GATT database. More...
 
ble_status_t R_BLE_IDS_IndicateIddStatus (uint16_t conn_hdl, const st_ble_ids_idd_status_t *p_app_value)
 Send IDD Status indication. More...
 
ble_status_t R_BLE_IDS_GetIddAnnunciationStatus (st_ble_ids_idd_annunciation_status_t *p_app_value)
 Get IDD Annunciation Status characteristic value from local GATT database. More...
 
ble_status_t R_BLE_IDS_SetIddAnnunciationStatus (const st_ble_ids_idd_annunciation_status_t *p_app_value)
 Set IDD Annunciation Status characteristic value to local GATT database. More...
 
ble_status_t R_BLE_IDS_IndicateIddAnnunciationStatus (uint16_t conn_hdl, const st_ble_ids_idd_annunciation_status_t *p_app_value)
 Send IDD Annunciation Status indication. More...
 
ble_status_t R_BLE_IDS_GetIddFeatures (st_ble_ids_idd_features_t *p_app_value)
 Get IDD Features characteristic value from local GATT database. More...
 
ble_status_t R_BLE_IDS_SetIddFeatures (const st_ble_ids_idd_features_t *p_app_value)
 Set IDD Features characteristic value to local GATT database. More...
 
ble_status_t R_BLE_IDS_IndicateIddStatusReaderControlPoint (uint16_t conn_hdl, const st_ble_ids_idd_status_reader_control_point_t *p_app_value)
 Send IDD Status Reader Control Point indication. More...
 
ble_status_t R_BLE_IDS_IndicateIddCommandControlPoint (uint16_t conn_hdl, const st_ble_ids_idd_command_control_point_t *p_app_value)
 Send IDD Command Control Point indication. More...
 
ble_status_t R_BLE_IDS_NotifyIddCommandData (uint16_t conn_hdl, const st_ble_ids_idd_command_data_t *p_app_value)
 Send IDD Command Data notification. More...
 
ble_status_t R_BLE_IDS_NotifyIddHistoryData (uint16_t conn_hdl, st_ble_ids_idd_history_data_t *p_app_value)
 Send IDD History Data notification. More...
 
uint32_t R_BLE_IDS_GetVersion (void)
 Return version of the IDC service server. More...
 
void ids_db_init (void)
 
uint16_t ids_db_get_oldest_index (void)
 
uint16_t ids_db_get_newest_index (void)
 
st_ble_ids_record_tids_db_get_record (uint16_t index)
 
void ids_db_store_record (st_ble_ids_idd_history_data_t *p_history_data)
 
void ids_db_delete_record (uint16_t index)
 

Macro Definition Documentation

◆ 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_IDS_RACP_OPERAND_LENGTH

#define BLE_IDS_RACP_OPERAND_LENGTH   (15)

racp operand length

Typedef Documentation

◆ ble_ids_app_cb_t

typedef void(* ble_ids_app_cb_t) (uint16_t type, ble_status_t result, st_ble_ids_evt_data_t *data)

Insulin Delivery Service event callback.

Enumeration Type Documentation

◆ e_ble_ids_opcode_racp_t

Op Code enumeration.

Enumerator
BLE_IDS_OPCODE_RACP_RESPONSE_CODE 

Response to corresponding Op Code.

BLE_IDS_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_IDS_OPCODE_RACP_DELETE_STORED_RECORDS 

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

BLE_IDS_OPCODE_RACP_ABORT_OPERATION 

Stops any IDD RACP procedures currently in progress.

BLE_IDS_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_IDS_OPCODE_RACP_RESPONSE_NUMBER_OF_STORED_RECORDS 

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

◆ e_ble_ids_operator_racp_t

Operator enumeration.

Enumerator
BLE_IDS_OPERATOR_RACP_NULL 

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

BLE_IDS_OPERATOR_RACP_ALL_RECORDS 

All stored history records.

BLE_IDS_OPERATOR_RACP_LESS_THAN_OR_EQUAL_TO 

History records less than or equal to specified Operand

BLE_IDS_OPERATOR_RACP_GREATER_THAN_OR_EQUAL_TO 

History records greater than or equal to specified Operand.

BLE_IDS_OPERATOR_RACP_WITHIN_RANGE_OF_INCLUSIVE 

Inclusive range of history records specified by Operand.

BLE_IDS_OPERATOR_RACP_OLDEST_RECORD 

Oldest history record.

BLE_IDS_OPERATOR_RACP_MOST_RECENT_RECORD 

Most recent history record.

◆ e_ble_ids_filter_type_racp_t

Filter Type enumeration.

Enumerator
BLE_IDS_FILTER_TYPE_RACP_SEQUENCE_NUMBER 

Sequence Number

BLE_IDS_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_IDS_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_ids_response_code_racp_t

Response Code enumeration.

Enumerator
BLE_IDS_RESPONSE_CODE_RACP_OPCODE_NOT_SUPPORTED 

Normal response if unsupported Op Code is received.

BLE_IDS_RESPONSE_CODE_RACP_INVALID_OPERATOR 

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

BLE_IDS_RESPONSE_CODE_RACP_OPERATOR_NOT_SUPPORTED 

Normal response if unsupported Operator is received.

BLE_IDS_RESPONSE_CODE_RACP_INVALID_OPERAND 

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

BLE_IDS_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_IDS_RESPONSE_CODE_RACP_ABORT_UNSUCCESSFUL 

Normal response if request for Abort cannot be completed.

BLE_IDS_RESPONSE_CODE_RACP_OPERAND_NOT_SUPPORTED 

Normal response if unsupported Operand is received.

BLE_IDS_RESPONSE_CODE_RACP_PROCEDURE_NOT_APPLICABLE 

Normal response if unable to complete a procedurefor any reason.

BLE_IDS_RESPONSE_CODE_RACP_SUCCESS 

Normal response for successful operation.

◆ e_ble_ids_event_t

Insulin Delivery Service event type.

Enumerator
BLE_IDS_EVENT_IDD_STATUS_CHANGED_CLI_CNFG_ENABLED 

IDD Status Changed characteristic cli cnfg enabled event

BLE_IDS_EVENT_IDD_STATUS_CHANGED_CLI_CNFG_DISABLED 

IDD Status Changed characteristic cli cnfg disabled event

BLE_IDS_EVENT_IDD_STATUS_CHANGED_HDL_VAL_CNF 

IDD Status Changed characteristic handle value confiration event

BLE_IDS_EVENT_IDD_STATUS_CLI_CNFG_ENABLED 

IDD Status characteristic cli cnfg enabled event

BLE_IDS_EVENT_IDD_STATUS_CLI_CNFG_DISABLED 

IDD Status characteristic cli cnfg disabled event

BLE_IDS_EVENT_IDD_STATUS_HDL_VAL_CNF 

IDD Status characteristic handle value confiration event

BLE_IDS_EVENT_IDD_ANNUNCIATION_STATUS_CLI_CNFG_ENABLED 

IDD Annunciation Status characteristic cli cnfg enabled event

BLE_IDS_EVENT_IDD_ANNUNCIATION_STATUS_CLI_CNFG_DISABLED 

IDD Annunciation Status characteristic cli cnfg disabled event

BLE_IDS_EVENT_IDD_ANNUNCIATION_STATUS_HDL_VAL_CNF 

IDD Annunciation Status characteristic handle value confiration event

BLE_IDS_EVENT_IDD_STATUS_READER_CONTROL_POINT_CLI_CNFG_ENABLED 

IDD Status Reader Control Point characteristic cli cnfg enabled event

BLE_IDS_EVENT_IDD_STATUS_READER_CONTROL_POINT_CLI_CNFG_DISABLED 

IDD Status Reader Control Point characteristic cli cnfg disabled event

BLE_IDS_EVENT_IDD_STATUS_READER_CONTROL_POINT_HDL_VAL_CNF 

IDD Status Reader Control Point characteristic handle value confiration event

BLE_IDS_EVENT_IDD_COMMAND_CONTROL_POINT_CLI_CNFG_ENABLED 

IDD Command Control Point characteristic cli cnfg enabled event

BLE_IDS_EVENT_IDD_COMMAND_CONTROL_POINT_CLI_CNFG_DISABLED 

IDD Command Control Point characteristic cli cnfg disabled event

BLE_IDS_EVENT_IDD_COMMAND_CONTROL_POINT_HDL_VAL_CNF 

IDD Command Control Point characteristic handle value confiration event

BLE_IDS_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_CLI_CNFG_ENABLED 

IDD Record Access Control Point characteristic cli cnfg enabled event

BLE_IDS_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_CLI_CNFG_DISABLED 

IDD Record Access Control Point characteristic cli cnfg disabled event

BLE_IDS_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_HDL_VAL_CNF 

IDD Record Access Control Point characteristic handle value confiration event

BLE_IDS_EVENT_IDD_COMMAND_DATA_CLI_CNFG_ENABLED 

IDD Command Data characteristic cli cnfg enabled event

BLE_IDS_EVENT_IDD_COMMAND_DATA_CLI_CNFG_DISABLED 

IDD Command Data characteristic cli cnfg disabled event

BLE_IDS_EVENT_IDD_HISTORY_DATA_CLI_CNFG_ENABLED 

IDD History Data characteristic cli cnfg enabled event

BLE_IDS_EVENT_IDD_HISTORY_DATA_CLI_CNFG_DISABLED 

IDD History Data characteristic cli cnfg disabled event

BLE_IDS_EVENT_IDD_STATUS_READER_CONTROL_POINT_WRITE_REQ 

IDD Status Reader Control Point characteristic write request event

BLE_IDS_EVENT_IDD_COMMAND_CONTROL_POINT_WRITE_REQ 

IDD Command Control Point characteristic write request event

BLE_IDS_EVENT_IDD_RECORD_ACCESS_CONTROL_POINT_WRITE_REQ 

IDD Record Access Control Point characteristic write request event

BLE_IDS_EVENT_IDD_STATUS_CHANGED_READ_REQ 

IDD Status Changed characteristic read request event

BLE_IDS_EVENT_IDD_STATUS_READ_REQ 

IDD Status characteristic read request event

BLE_IDS_EVENT_IDD_ANNUNCIATION_STATUS_READ_REQ 

IDD Annunciation Status characteristic read request event

BLE_IDS_EVENT_IDD_FEATURES_READ_REQ 

IDD Features characteristic read request event

◆ e_ble_ids_idd_status_therapy_control_state_t

Therapy Control State enumeration.

Enumerator
BLE_IDS_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_IDS_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_IDS_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_IDS_IDD_STATUS_THERAPY_CONTROL_STATE_UNDETERMINED 

The operational state is undetermined

◆ e_ble_ids_idd_status_operational_state_t

Operational State enumeration.

Enumerator
BLE_IDS_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_IDS_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_IDS_IDD_STATUS_OPERATIONAL_STATE_PREPARING 

The Insulin Delivery Device prepares the insulin infusion therapy

BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_PRIMING 

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

BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_WAITING 

The Insulin Delivery Device waits for an interaction

BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_READY 

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

BLE_IDS_IDD_STATUS_OPERATIONAL_STATE_UNDETERMINED 

The operational state is undetermined.

◆ e_ble_ids_idd_annunciation_status_type_t

Annunciation Type enumeration.

Enumerator
BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_SYSTEM_ISSUE 

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

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_MECHANICAL_ISSUE 

A mechanical error occurred

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_OCCLUSION_DETECTED 

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

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_ISSUE 

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

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_EMPTY 

The reservoir is empty

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_RESERVOIR_LOW 

The reservoir fill level reached a defined low threshold

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_PRIMING_ISSUE 

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

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_INFUSION_SET_INCOMPLETE 

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

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_INFUSION_SET_DETACHED 

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

BLE_IDS_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_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_EMPTY 

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

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BATTERY_LOW 

The Insulin Delivery Device has a low operational runtime

BLE_IDS_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_IDS_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_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TEMPERATURE_OUT_OF_RANGE 

The temperature is outside of the normal operating range.

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_AIR_PRESSURE_OUT_OF_RANGE 

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

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_BOLUS_CANCELED 

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

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TBR_OVER 

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

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TBR_CANCELED 

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

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_MAX_DELIVERY 

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

BLE_IDS_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_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_TYPE_TEMPERATURE 

The Insulin Delivery Device reports a temperature measurement.

◆ e_ble_ids_idd_annunciation_status_status_t

Annunciation Status enumeration.

Enumerator
BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_PENDING 

The status of the annunciation is undetermined.

BLE_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_SNOOZED 

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

BLE_IDS_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_IDS_IDD_ANNUNCIATION_STATUS_ANNUNCIATION_STATUS_UNDETERMINED 

The annunciation was confirmed by the user

◆ e_ble_ids_idd_status_reader_control_point_t

Op Code enumeration.

Enumerator
BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_RESPONSE_CODE 

Response Code

BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_RESET_STATUS 

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

BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_IDS 

Gets the IDs of all Active Boluses

BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_IDS_RESPONSE 

This is the normal response to Get Active Bolus IDs

BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_DELIVERY 

Gets information about an Active Bolus identified by the given ID

BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BOLUS_DELIVERY_RESPONSE 

This is the normal response to Get Active Bolus Delivery

BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_ACTIVE_BASAL_RATE_DELIVERY 

Gets the current active basal rate setting, including the TBR

BLE_IDS_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_IDS_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_IDS_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_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_COUNTER 

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

BLE_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_COUNTER_RESPONSE 

This is the normal response to procedure Get Counter

BLE_IDS_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_IDS_IDD_STATUS_READER_CONTROL_POINT_OP_CODE_GET_DELIVERED_INSULIN_RESPONSE 

This is the normal response to procedure Get Delivered Insulin

BLE_IDS_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_IDS_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_ids_response_code_srcp_t

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

Enumerator
BLE_IDS_RESPONSE_CODE_SRCP_SUCCESS 

Normal response for successful procedure.

BLE_IDS_RESPONSE_CODE_SRCP_OPCODE_NOT_SUPPORTED 

Normal response if unsupported Op Code is received.

BLE_IDS_RESPONSE_CODE_SRCP_INVALID_OPERAND 

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

BLE_IDS_RESPONSE_CODE_SRCP_PROCEDURE_NOT_COMPLETED 

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

BLE_IDS_RESPONSE_CODE_SRCP_PARAMETER_OUT_OF_RANGE 

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

BLE_IDS_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_ids_idd_command_control_point_t

Op Code enumeration.

Enumerator
BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESPONSE_CODE 

Response Code

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_THERAPY_CONTROL_STATE 

Set the therapy control state of the Insulin Delivery Device

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_FLIGHT_MODE 

Activates the flight mode of the Insulin Delivery Device.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SNOOZE_ANNUNCIATION 

Snoozes an annunciation for a limited amount of time.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SNOOZE_ANNUNCIATION_RESPONSE 

This is the normal response to Snooze Annunciation.

BLE_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_CONFIRM_ANNUNCIATION_RESPONSE 

This is the normal response to Confirm Annunciation.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE 

Reads a specific Basal Rate Profile Template.

BLE_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE 

Writes a specific Basal Rate Profile Template.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE 

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

BLE_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_TBR_ADJUSTMENT 

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

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TBR_TEMPLATE 

Gets the parameters of a specific TBR template.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TBR_TEMPLATE_RESPONSE 

This is the normal response to Get TBR Template.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_TEMPLATE 

Sets the parameters of a specific TBR template.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_TBR_TEMPLATE_RESPONSE 

This is the normal response to Set TBR Template.

BLE_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_RESPONSE 

This is the normal response to Set Bolus.

BLE_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_CANCEL_BOLUS_RESPONSE 

This is the normal response to Cancel Bolus.

BLE_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_AVAILABLE_BOLUSES_RESPONSE 

This is the normal response to Get Available Boluses.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_BOLUS_TEMPLATE 

Gets the parameters of a specific bolus template.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_BOLUS_TEMPLATE_RESPONSE 

This is the normal response to Get Bolus Template.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_TEMPLATE 

Sets the parameters of a specific bolus template.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_BOLUS_TEMPLATE_RESPONSE 

This is the normal response to Set Bolus Template.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS 

Gets the status and details of all the supported template types

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS_RESPONSE 

This is the normal response to Get Template Status and Details

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_TEMPLATE_STATUS 

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

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_TEMPLATE_STATUS_RESPONSE 

This is the normal response to Reset Template Status.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_ACTIVATE_PROFILE_TEMPLATES 

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

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_ACTIVATE_PROFILE_TEMPLATES_RESPONSE 

This is the normal response to Activate Profile Templates.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES 

Gets all the currently activated profile templates

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES_RESPONSE 

This is the normal response to Get Activated Profile Templates.

BLE_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_STOP_PRIMING 

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

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_SET_INITIAL_RESERVOIR_FILL_LEVEL 

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

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_RESET_RESERVOIR_INSULIN_OPERATION_TIME 

Resets the counter Reservoir Insulin Operation Time

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_ISF_PROFILE_TEMPLATE 

The response to this control point is Response Code.

BLE_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE 

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

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE_RESPONSE 

This is the normal response to Write ISF Profile Template.

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE 

The response to this control point is Response Code.

BLE_IDS_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_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE 

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

BLE_IDS_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_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE 

Writes a specific Target Glucose Range Profile Template.

BLE_IDS_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_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_MAX_BOLUS_AMOUNT 

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

BLE_IDS_IDD_COMMAND_CONTROL_POINT_OP_CODE_GET_MAX_BOLUS_AMOUNT_RESPONSE 

This is the normal response to Get Max Bolus Amount.

BLE_IDS_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_ids_response_code_ccp_t

The Response Code Values associated with the IDD Command CP.

Enumerator
BLE_IDS_RESPONSE_CODE_CCP_SUCCESS 

Normal response for successful procedure.

BLE_IDS_RESPONSE_CODE_CCP_OPCODE_NOT_SUPPORTED 

Normal response if unsupported Op Code is received.

BLE_IDS_RESPONSE_CODE_CCP_INVALID_OPERAND 

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

BLE_IDS_RESPONSE_CODE_CCP_PROCEDURE_NOT_COMPLETED 

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

BLE_IDS_RESPONSE_CODE_CCP_PARAMETER_OUT_OF_RANGE 

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

BLE_IDS_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_IDS_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_IDS_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_ids_idd_command_data_t

Response Op Code enumeration.

Enumerator
BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESPONSE_CODE 

Response Code

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_THERAPY_CONTROL_STATE 

Set the therapy control state of the Insulin Delivery Device

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_FLIGHT_MODE 

Activates the flight mode of the Insulin Delivery Device.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SNOOZE_ANNUNCIATION 

Snoozes an annunciation for a limited amount of time.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SNOOZE_ANNUNCIATION_RESPONSE 

This is the normal response to Snooze Annunciation.

BLE_IDS_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_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CONFIRM_ANNUNCIATION_RESPONSE 

This is the normal response to Confirm Annunciation.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_BASAL_RATE_PROFILE_TEMPLATE 

Reads a specific Basal Rate Profile Template.

BLE_IDS_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_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE 

Writes a specific Basal Rate Profile Template.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_BASAL_RATE_PROFILE_TEMPLATE_RESPONSE 

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

BLE_IDS_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_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_TBR_ADJUSTMENT 

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

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TBR_TEMPLATE 

Gets the parameters of a specific TBR template.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TBR_TEMPLATE_RESPONSE 

This is the normal response to Get Bolus Template.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_TEMPLATE 

Sets the parameters of a specific TBR template.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_TBR_TEMPLATE_RESPONSE 

This is the normal response to Set TBR Template.

BLE_IDS_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_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_RESPONSE 

This is the normal response to Set Bolus.

BLE_IDS_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_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_CANCEL_BOLUS_RESPONSE 

This is the normal response to Cancel Bolus.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_AVAILABLE_BOLUSES 

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

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_AVAILABLE_BOLUSES_RESPONSE 

This is the normal response to Get Available Boluses.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_BOLUS_TEMPLATE 

Gets the parameters of a specific bolus template.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_BOLUS_TEMPLATE_RESPONSE 

This is the normal response to Get Bolus Template.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_TEMPLATE 

Sets the parameters of a specific bolus template.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_BOLUS_TEMPLATE_RESPONSE 

This is the normal response to Set Bolus Template.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS 

Gets the status and details of all the supported template types

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_TEMPLATE_STATUS_AND_DETAILS_RESPONSE 

This is the normal response to Get Template Status and Details

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_TEMPLATE_STATUS 

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

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_TEMPLATE_STATUS_RESPONSE 

This is the normal response to Reset Template Status.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_ACTIVATE_PROFILE_TEMPLATES 

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

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_ACTIVATE_PROFILE_TEMPLATES_RESPONSE 

This is the normal response to Activate Profile Templates.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES 

Gets all the currently activated profile templates

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_ACTIVATED_PROFILE_TEMPLATES_RESPONSE 

This is the normal response to Get Activated Profile Templates.

BLE_IDS_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_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_STOP_PRIMING 

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

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_SET_INITIAL_RESERVOIR_FILL_LEVEL 

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

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_RESET_RESERVOIR_INSULIN_OPERATION_TIME 

Resets the counter Reservoir Insulin Operation Time

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_ISF_PROFILE_TEMPLATE 

The response to this control point is Response Code.

BLE_IDS_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_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE 

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

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_ISF_PROFILE_TEMPLATE_RESPONSE 

This is the normal response to Write ISF Profile Template.

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_READ_I2CHO_RATIO_PROFILE_TEMPLATE 

The response to this control point is Response Code.

BLE_IDS_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_IDS_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_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_I2CHO_RATIO_PROFILE_TEMPLATE_RESPONSE 

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

BLE_IDS_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_IDS_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_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_WRITE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE 

Writes a specific Target Glucose Range Profile Template.

BLE_IDS_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_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_MAX_BOLUS_AMOUNT 

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

BLE_IDS_IDD_COMMAND_DATA_RESPONSE_OP_CODE_GET_MAX_BOLUS_AMOUNT_RESPONSE 

This is the normal response to Get Max Bolus Amount.

BLE_IDS_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_ids_idd_history_data_t

Event Type enumeration.

Enumerator
BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_REFERENCE_TIME 

Reference Time

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_REFERENCE_TIME_BASE_OFFSET 

Reference Time Base Offset

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_CALCULATED_PART_1_OF_2 

Bolus Calculated Part 1 of 2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_CALCULATED_PART_2_OF_2 

Bolus Calculated Part 2 of 2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_PROGRAMMED_PART_1_OF_2 

Bolus Programmed Part 1 of 2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_PROGRAMMED_PART_2_OF_2 

Bolus Programmed Part 2 of 2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_DELIVERED_PART_1_OF_2 

Bolus Delivered Part 1 of 2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_DELIVERED_PART_2_OF_2 

Bolus Delivered Part 2 of 2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_DELIVERED_BASAL_RATE_CHANGED 

Delivered Basal Rate Changed

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_STARTED 

TBR Adjustment Started

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_ENDED 

TBR Adjustment Ended

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TBR_ADJUSTMENT_CHANGED 

TBR Adjustment Changed2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_PROFILE_TEMPLATE_ACTIVATED 

Profile Template Activated

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BASAL_RATE_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED 

Basal Rate Profile Template Time Block Changed

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TOTAL_DAILY_INSULIN_DELIVERY 

Total Daily Insulin Delivery

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_THERAPY_CONTROL_STATE_CHANGED 

Therapy Control State Changed

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_OPERATIONAL_STATE_CHANGED 

Operational State Changed

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_RESERVOIR_REMAINING_AMOUNT_CHANGED 

Reservoir Remaining Amount Changed

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_ANNUNCIATION_STATUS_CHANGED_PART_1_OF_2 

Annunciation Status Changed Part 1 of 2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_ANNUNCIATION_STATUS_CHANGED_PART_2_OF_2 

Annunciation Status Changed Part 2 of 2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_ISF_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED 

ISF Profile Template Time Block Changed

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_I2CHO_RATIO_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED 

I2CHO Ratio Profile Template Time Block Changed

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE_TIME_BLOCK_CHANGED 

Target Glucose Range Profile Template Time Block Changed

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_PRIMING_STARTED 

Priming Started

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_PRIMING_DONE 

Priming Done

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_DATA_CORRUPTION 

Data Corruption

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_POINTER_EVENT 

Pointer Event

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_TEMPLATE_CHANGED_PART_1_OF_2 

Bolus Template Changed Part 1 of 2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_BOLUS_TEMPLATE_CHANGED_PART_2_OF_2 

Bolus Template Changed Part 2 of 2

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_TBR_TEMPLATE_CHANGED 

TBR Template Changed

BLE_IDS_IDD_HISTORY_DATA_EVENT_TYPE_MAX_BOLUS_AMOUNT_CHANGED 

Max Bolus Amount Changed

◆ e_ble_ids_idd_srcp_operand_bolus_value_sel_t

Bolus Value Selection.

Enumerator
BLE_IDS_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_PROGRAMMED 

programmed

BLE_IDS_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_REMAINING 

remaining

BLE_IDS_IDD_SRCP_OPRAND_BOLUS_VALUE_SEL_DELIVERED 

delivered

◆ e_ble_ids_idd_srcp_operand_bolus_type_values_t

Bolus Type values.

Enumerator
BLE_IDS_IDD_SRCP_OPRAND_BOLUS_TYPE_UNDETERMINED 

Undetermined

BLE_IDS_IDD_SRCP_OPRAND_BOLUS_TYPE_FAST 

Fast

BLE_IDS_IDD_SRCP_OPRAND_BOLUS_TYPE_EXTENDED 

Extended

BLE_IDS_IDD_SRCP_OPRAND_BOLUS_TYPE_MULTIWAVE 

Multiwave

◆ e_ble_ids_idd_srcp_operand_bolus_activation_type_t

Bolus Activation Type.

Enumerator
BLE_IDS_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_UNDETERMINED 

The activation type is undetermined.

BLE_IDS_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_MANUAL_BOLUS 

The bolus was defined by the user.

BLE_IDS_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_RECOMMENTED_BOLUS 

The bolus was recommended by a calculation algorithm

BLE_IDS_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_TYPE_MANUALLY_CHANGED_RECOMMENTED_BOLUS 

The user changed a recommended bolus.

BLE_IDS_IDD_SRCP_OPRAND_BOLUS_ACTIVATION_COMMANDED_BOLUS 

The bolus was activated without user interaction

◆ e_ble_ids_idd_srcp_operand_tbr_type_values_t

TBR Type Values.

Enumerator
BLE_IDS_IDD_SRCP_OPRAND_TBR_TYPE_UNDETERMINED 

The TBR type is undetermined.

BLE_IDS_IDD_SRCP_OPRAND_TBR_TYPE_ABSOLUTE 

The TBR type is absolute.

BLE_IDS_IDD_SRCP_OPRAND_TBR_TYPE_RELATIVE 

The TBR type is relative

◆ e_ble_ids_idd_srcp_operand_basel_delivery_context_t

Basal Delivery Context Values.

Enumerator
BLE_IDS_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_UNDETERMINED 

The Basal Delivery Context is undetermined.

BLE_IDS_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_DEVICE_BASED 

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

BLE_IDS_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_REMOTE_CONTROL 

The current basal rate was set via a remote control

BLE_IDS_IDD_SRCP_OPRAND_BASAL_DELIVERY_CONTEXT_AP_CONTROL 

The Basal Delivery Context is Artificial Pancreas (AP) Controller

◆ e_ble_ids_idd_srcp_operand_counter_type_values_t

Counter Type Values.

Enumerator
BLE_IDS_IDD_SRCP_OPRAND_COUNTER_TYPE_LIFETIME 

This counter provides the lifetime of the Insulin Delivery Device.

BLE_IDS_IDD_SRCP_OPRAND_COUNTER_TYPE_WARRANTY_TIME 

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

BLE_IDS_IDD_SRCP_OPRAND_COUNTER_TYPE_LOANER_TIME 

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

BLE_IDS_IDD_SRCP_OPRAND_COUNTER_TYPE_INSULIN_OPERATION_TIME 

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

◆ e_ble_ids_idd_srcp_operand_counter_value_sel_t

Counter Value Selection value.

Enumerator
BLE_IDS_IDD_SRCP_OPRAND_COUNTER_VALUE_REMAINING 

Remaining.

BLE_IDS_IDD_SRCP_OPRAND_COUNTER_VALUE_ELAPSED 

Elapsed.

◆ e_ble_ids_idd_ccp_operand_response_code_t

IDD Command CP Response Code values.

Enumerator
BLE_IDS_IDD_CCP_OPRAND_RESPONSE_CODE_SUCCESS 

Normal response for successful procedure.

BLE_IDS_IDD_CCP_OPRAND_OP_CODE_NOT_SUPPORTED 

Normal response if unsupported Op Code is received.

BLE_IDS_IDD_CCP_OPRAND_INVALID_OPERAND 

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

BLE_IDS_IDD_CCP_OPRAND_PROCEDURE_NOT_COMPLETED 

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

BLE_IDS_IDD_CCP_OPRAND_PARAMETER_OUT_OF_RANGE 

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

BLE_IDS_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_IDS_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_IDS_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_ids_idd_ccp_operand_bolus_activation_type_t

IDD Command CP Bolus Activation Type values.

Enumerator
BLE_IDS_IDD_CCP_OPRAND_UNDETERMINED 

The activation type is undetermined.

BLE_IDS_IDD_CCP_OPRAND_MANUAL_BOLUS 

The bolus was defined by the user.

BLE_IDS_IDD_CCP_OPRAND_RECOMMENDED_BOLUS 

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

BLE_IDS_IDD_CCP_OPRAND_MANUALLY_CHANGED_RECOMMENDED_BOLUS 

The user changed a recommended bolus.

BLE_IDS_IDD_CCP_OPRAND_COMMANDED_BOLUS 

The bolus was activated without user interaction

◆ e_ble_ids_idd_ccp_operand_bolus_template_type_t

IDD Command CP Template Type values.

Enumerator
BLE_IDS_IDD_CCP_OPRAND_TEMPLATE_TYPE_UNDETERMINED 

The activation type is undetermined.

BLE_IDS_IDD_CCP_OPRAND_BASEL_RATE_PROFILE_TEMPLATE 

Basal Rate Profile Template.

BLE_IDS_IDD_CCP_OPRAND_TBR_TEMPLATE 

TBR Template

BLE_IDS_IDD_CCP_OPRAND_BOLUS_TEMPLATE 

Bolus Template.

BLE_IDS_IDD_CCP_OPRAND_ISF_PROFILE_TEMPLATE 

ISF Profile Template

BLE_IDS_IDD_CCP_OPRAND_I2CHO_RATIO_PROFILE_TEMPLATE 

I2CHO Ratio Profile Template

BLE_IDS_IDD_CCP_OPRAND_TARGET_GLUCOSE_RANGE_PROFILE_TEMPLATE 

Target Glucose Range Profile Template

◆ e_ble_ids_cts_dst_offset_t

.Histary Data Event Dst Offset

Enumerator
BLE_CTS_LOCAL_TIME_DST_OFFSET_STANDARD_TIME 

Local Time Dst Offset standard time

BLE_CTS_LOCAL_TIME_DST_OFFSET_HALF_AN_HOUR_DAYLIGHT_TIME 

Local Time Dst Offset half an hour daylight time

BLE_CTS_LOCAL_TIME_DST_OFFSET_DAYLIGHT_TIME 

Local Time Dst Offset day light time

BLE_CTS_LOCAL_TIME_DST_OFFSET_DOUBLE_DAYLIGHT_TIME 

Local Time Dst Offset double day light time

BLE_CTS_DST_OFFSET_UNKNOWN 

DTS offset unknown

Function Documentation

◆ R_BLE_IDS_Init()

ble_status_t R_BLE_IDS_Init ( const st_ble_ids_init_param_t p_param)

Initialize Insulin Delivery Service.

This function shall be called once at startup.

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

◆ R_BLE_IDS_Connect()

ble_status_t R_BLE_IDS_Connect ( uint16_t  conn_hdl,
const st_ble_ids_connect_param_t p_param 
)

Perform Insulin Delivery Service 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_IDS_Disconnect()

ble_status_t R_BLE_IDS_Disconnect ( uint16_t  conn_hdl,
st_ble_ids_disconnect_param_t p_param 
)

Retrieve Insulin Delivery Service 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_IDS_GetIddStatusChanged()

ble_status_t R_BLE_IDS_GetIddStatusChanged ( st_ble_ids_idd_status_changed_t p_app_value)

Get IDD Status Changed characteristic value from local GATT database.

Parameters
[out]p_app_valuePointer to Retrieved IDD Status Changed characteristic value.
Returns
ble_status_t

◆ R_BLE_IDS_SetIddStatusChanged()

ble_status_t R_BLE_IDS_SetIddStatusChanged ( const st_ble_ids_idd_status_changed_t p_app_value)

Set IDD Status Changed characteristic value to local GATT database.

Parameters
[in]p_app_valuepointer to IDD Status Changed characteristic value to set.
Returns
ble_status_t

◆ R_BLE_IDS_IndicateIddStatusChanged()

ble_status_t R_BLE_IDS_IndicateIddStatusChanged ( uint16_t  conn_hdl,
const st_ble_ids_idd_status_changed_t p_app_value 
)

Send IDD Status Changed indication.

Parameters
[in]conn_hdlConnection handle.
[in]p_app_valuePointer to IDD Status Changed value to send.
Returns
ble_status_t

◆ R_BLE_IDS_GetIddStatus()

ble_status_t R_BLE_IDS_GetIddStatus ( st_ble_ids_idd_status_t p_app_value)

Get IDD Status characteristic value from local GATT database.

Parameters
[out]p_app_valuepointer to Retrieved IDD Status characteristic value.
Returns
ble_status_t

◆ R_BLE_IDS_SetIddStatus()

ble_status_t R_BLE_IDS_SetIddStatus ( const st_ble_ids_idd_status_t p_app_value)

Set IDD Status characteristic value to local GATT database.

Parameters
[in]p_app_valuePointer to IDD Status characteristic value to set.
Returns
ble_status_t

◆ R_BLE_IDS_IndicateIddStatus()

ble_status_t R_BLE_IDS_IndicateIddStatus ( uint16_t  conn_hdl,
const st_ble_ids_idd_status_t p_app_value 
)

Send IDD Status indication.

Parameters
[in]conn_hdlConnection handle.
[in]p_app_valuePointer to IDD Status value to send.
Returns
ble_status_t

◆ R_BLE_IDS_GetIddAnnunciationStatus()

ble_status_t R_BLE_IDS_GetIddAnnunciationStatus ( st_ble_ids_idd_annunciation_status_t p_app_value)

Get IDD Annunciation Status characteristic value from local GATT database.

Parameters
[out]p_app_valuePointer to Retrieved IDD Annunciation Status characteristic value.
Returns
ble_status_t

◆ R_BLE_IDS_SetIddAnnunciationStatus()

ble_status_t R_BLE_IDS_SetIddAnnunciationStatus ( const st_ble_ids_idd_annunciation_status_t p_app_value)

Set IDD Annunciation Status characteristic value to local GATT database.

Parameters
[in]p_app_valuePointer to IDD Annunciation Status characteristic value to set.
Returns
ble_status_t

◆ R_BLE_IDS_IndicateIddAnnunciationStatus()

ble_status_t R_BLE_IDS_IndicateIddAnnunciationStatus ( uint16_t  conn_hdl,
const st_ble_ids_idd_annunciation_status_t p_app_value 
)

Send IDD Annunciation Status indication.

Parameters
[in]conn_hdlConnection handle.
[in]p_app_valuePointer to IDD Annunciation Status value to send.
Returns
ble_status_t

◆ R_BLE_IDS_GetIddFeatures()

ble_status_t R_BLE_IDS_GetIddFeatures ( st_ble_ids_idd_features_t p_app_value)

Get IDD Features characteristic value from local GATT database.

Parameters
[out]p_app_valuePointer to Retrieved IDD Features characteristic value.
Returns
ble_status_t

◆ R_BLE_IDS_SetIddFeatures()

ble_status_t R_BLE_IDS_SetIddFeatures ( const st_ble_ids_idd_features_t p_app_value)

Set IDD Features characteristic value to local GATT database.

Parameters
[in]p_app_valuePointer to IDD Features characteristic value to set.
Returns
ble_status_t

◆ R_BLE_IDS_IndicateIddStatusReaderControlPoint()

ble_status_t R_BLE_IDS_IndicateIddStatusReaderControlPoint ( uint16_t  conn_hdl,
const st_ble_ids_idd_status_reader_control_point_t p_app_value 
)

Send IDD Status Reader Control Point indication.

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

◆ R_BLE_IDS_IndicateIddCommandControlPoint()

ble_status_t R_BLE_IDS_IndicateIddCommandControlPoint ( uint16_t  conn_hdl,
const st_ble_ids_idd_command_control_point_t p_app_value 
)

Send IDD Command Control Point indication.

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

◆ R_BLE_IDS_NotifyIddCommandData()

ble_status_t R_BLE_IDS_NotifyIddCommandData ( uint16_t  conn_hdl,
const st_ble_ids_idd_command_data_t p_app_value 
)

Send IDD Command Data notification.

Parameters
[in]conn_hdlConnection handle.
[in]p_app_valuePointer to IDD Command Data value to send.
Returns
ble_status_t

◆ R_BLE_IDS_NotifyIddHistoryData()

ble_status_t R_BLE_IDS_NotifyIddHistoryData ( uint16_t  conn_hdl,
st_ble_ids_idd_history_data_t p_app_value 
)

Send IDD History Data notification.

Parameters
[in]conn_hdlConnection handle.
[in]p_app_valuePointer to IDD History Data value to send.
Returns
ble_status_t

◆ R_BLE_IDS_GetVersion()

uint32_t R_BLE_IDS_GetVersion ( void  )

Return version of the IDC service server.

Returns
version