Blue-tooth Low Energy address Type.
The characteristic attribute definition, used at ble_service_t.
The characteristic value attribute definition, used at ble_char_t.
The generic descriptor attribute definition, used at ble_char_t.
The characteristic extended properties descriptor attribute definition, used at ble_char_t.
The characteristic presentation format descriptor attribute definition, used at ble_char_t.
The user descriptor attribute definition, used at ble_char_t.
The private descriptor attribute definition.
The public descriptor attribute definition.
The Presentation format descriptor attribute definition.
The Extended property descriptor attribute definition.
The User descriptor attribute definition.
The Client Characteristic Configuration Descriptor attribute definition.
The characteristic value attribute definition.
The characteristic attribute definition.
The service attribute definition.
Discover service, characteristic response event parameters.
BLEDK3 TransparentUART data received event parameters.
BLEDK3 Characteristic value received event parameters.
BLEDK3 Characteristic attribute data parameters used at ble_primary_service_characteristics_discover_event_t.
BLEDK3 Service attribute data parameters used at ble_primary_service_discover_all_event_t.
BLEDK3 Write characteristic value event parameters.
BLEDK3 Command complete event parameters.
BLEDK3 Connection parameter update event parameters.
BLEDK3 Disconnect complete event parameters.
BLEDK3 Advertisement report event parameters.
BLEDK3 Connection complete event parameters.
BLE Connection parameters.
BLEDK3 Set connection parameter command parameters.
BLEDK3 Enable TransparentUART command parameters.
This will be used as part of GATT-Service Create request
#include <multilink_central_app.h>
HCI_DATA_PKT PACKED::acl_data_pkt |
Referenced by BM_PROGRAM_CRC_Get(), BM_PROGRAM_Erase(), BM_PROGRAM_Read(), BM_PROGRAM_Write(), and BM_PROGRAM_Write_Continue().
uint16_t PACKED::additional_desc_count |
generic descriptor list
Referenced by ble_gatt_service_create().
ble_generic_desc_t* PACKED::additional_desc_list |
Referenced by ble_gatt_service_create().
uint8_t PACKED::addr |
48-bit address, LSB format.
Referenced by app_adv_report_cb(), app_connected_cb(), ble_adv_param_set(), ble_create_connection(), ble_mgr_adv_report_cb(), ble_mgr_connected_cb(), BM_APPLICATION_AdvReportEventParser(), and BM_PROGRAM_Connect().
ble_addr_t PACKED::addr |
uint32_t PACKED::address |
Referenced by BM_PROGRAM_CRC_Get(), BM_PROGRAM_Erase(), BM_PROGRAM_Read(), and BM_PROGRAM_Write().
ble_adv_event_type_t PACKED::adv_event_type |
Referenced by app_adv_report_cb(), ble_mgr_adv_report_cb(), and BM_APPLICATION_AdvReportEventParser().
uint8_t PACKED::attrib_data[] |
Referenced by app_char_disc_resp_cb().
ble_handle_t PACKED::cccd_handle |
Referenced by main().
uint16_t PACKED::cccd_value |
Referenced by main().
uint8_t PACKED::ccd_value[2] |
Referenced by ble_gatt_service_create().
ble_handle_t PACKED::char_attr_handle |
Referenced by app_char_disc_resp_cb().
uint16_t PACKED::char_attribute_handle |
uint16_t PACKED::char_count |
Characteristics list.
Referenced by acc_gyro_sensor_service_init(), ble_gatt_service_create(), and ble_gatt_service_read().
ble_handle_t PACKED::char_handle |
< Characteristic handle
Characteristic properties, values for Client Characteristic Configuration Descriptor and Server Characteristic Configuration Descriptor will be decided from this value
Referenced by acc_gyro_sensor_service_init(), ble_gatt_service_create(), and ble_gatt_service_read().
ble_char_t* PACKED::char_list |
uint8_t PACKED::char_property |
ble_uuid_val_t PACKED::char_uuid |
ble_char_val_t PACKED::char_val |
< characteristics value related info
client config descriptor related info
Referenced by acc_gyro_sensor_service_init(), acce_sensor_data_send(), ble_gatt_service_create(), ble_gatt_service_read(), and gyro_sensor_data_send().
uint8_t PACKED::char_value[MAX_CHAR_WRITE_VALUE] |
ble_handle_t PACKED::char_value_attr_handle |
Referenced by app_char_value_received_cb().
uint8_t PACKED::char_value_data[] |
uint16_t PACKED::char_value_handle |
Referenced by BM_APPLICATION_WriteCharValueEventParser().
ble_client_char_config_desc_t PACKED::client_config_desc |
server config descriptor related info
Referenced by acc_gyro_sensor_service_init(), ble_gatt_service_create(), and ble_gatt_service_read().
uint8_t PACKED::client_transparent_mode |
Referenced by ble_transparent_uart_enable().
uint16_t PACKED::cmd_id |
uint8_t PACKED::cmd_id |
uint16_t PACKED::conn_handle |
uint8_t PACKED::conn_handle |
Referenced by app_char_disc_resp_cb(), app_connected_cb(), app_disconnected_cb(), ble_mgr_connected_cb(), ble_mgr_transparent_uart_disable(), ble_mgr_transparent_uart_enable(), ble_transparent_uart_enable(), BM_PROGRAM_CRC_Get(), BM_PROGRAM_Disconnect(), BM_PROGRAM_Erase(), BM_PROGRAM_Read(), BM_PROGRAM_Write(), BM_PROGRAM_Write_Continue(), dfu_status_handle_parser(), and dfu_status_report_parser().
uint16_t PACKED::conn_interval |
uint16_t PACKED::conn_latency |
uint8_t PACKED::conn_num |
Referenced by dfu_status_report_parser().
ble_conn_param_t PACKED::conn_param |
uint32_t PACKED::crc_algo |
Referenced by BM_PROGRAM_CRC_Get().
uint8_t PACKED::data |
uint8_t* PACKED::data |
uint16_t PACKED::data_len |
uint8_t PACKED::data_len |
Referenced by app_adv_report_cb(), ble_mgr_adv_report_cb(), and BM_APPLICATION_AdvReportEventParser().
ble_uuid_t PACKED::desc_uuid |
Descriptor value length.
Referenced by ble_gatt_service_create().
uint16_t PACKED::desc_val_length |
descriptor value
Referenced by ble_gatt_service_create().
uint8_t PACKED::desc_value |
Referenced by ble_gatt_service_create().
uint16_t PACKED::description |
Namespace.
as defined in GATT spec Part G, Section 3.3.3.5.5
Referenced by ble_gatt_service_create().
uint8_t PACKED::dev_role |
uint8_t PACKED::encryption |
ble_handle_t PACKED::end_handle |
Service UUID.
Referenced by ble_gatt_service_create().
bool PACKED::ep_included |
Referenced by ble_gatt_service_create().
uint8_t PACKED::error |
Referenced by dfu_status_report_parser().
uint8_t PACKED::event |
Referenced by dfu_response_report_parser(), dfu_status_handle_parser(), and dfu_status_report_parser().
uint8_t PACKED::exponent |
Unit.
Referenced by ble_gatt_service_create().
int8_t PACKED::exponent |
as defined in GATT spec Part G, Section 3.3.3.5.4
ble_char_ext_properties_t PACKED::ext_properties |
Number of generic descriptors included in list.
Referenced by ble_gatt_service_create().
ble_char_ext_prop_t PACKED::ext_property |
presentation format permissions
Referenced by ble_gatt_service_create().
uint8_t PACKED::extend_property[2] |
Referenced by ble_gatt_service_create().
uint8_t PACKED::format |
Exponent.
Referenced by ble_gatt_service_create().
ble_char_pres_format_t PACKED::format |
value exponent
uint16_t PACKED::group_handle_end |
uint16_t PACKED::group_handle_start |
ble_handle_t PACKED::handle |
Length of the attribute type.
UUID of the Service.
< Descriptor handle
< presentation format handle
< user descriptor handle
the user friendly description length, this value will be stored in the relevant descriptor, if no user description is desired set to 0
value format
The attribute permission
Referenced by acc_gyro_sensor_service_init(), ble_gatt_service_create(), and ble_gatt_service_read().
uint16_t* PACKED::handles_list |
HCI_COMMAND_PKT PACKED::hci_command_pkt |
Referenced by BM_PROGRAM_Connect(), and BM_PROGRAM_Disconnect().
HCI_EVENT_PKT PACKED::hci_event_pkt |
uint8_t PACKED::in_use |
uint8_t* PACKED::init_value |
Referenced by acc_gyro_sensor_service_init(), and ble_gatt_service_create().
uint16_t PACKED::len |
a user friendly description, this value will be stored in the relevant descriptor, if no user description is desired set to NULL
Referenced by acc_gyro_sensor_service_init(), and ble_gatt_service_create().
uint8_t PACKED::len |
maximum possible length of the char.
value
uint16_t PACKED::length |
uint8_t PACKED::length |
< Length of the whole attribute.
Including Header and Value The attribute permission
Referenced by app_char_disc_resp_cb(), ble_gatt_service_create(), BM_PROGRAM_Connect(), BM_PROGRAM_CRC_Get(), BM_PROGRAM_Disconnect(), BM_PROGRAM_Erase(), BM_PROGRAM_Read(), BM_PROGRAM_Write(), and BM_PROGRAM_Write_Continue().
uint16_t PACKED::link_sv_to |
uint8_t PACKED::link_type |
uint16_t PACKED::max_conn_interval |
Referenced by ble_set_connection_params().
uint16_t PACKED::max_len |
initial value of this characteristic
Referenced by acc_gyro_sensor_service_init().
uint16_t PACKED::min_conn_interval |
Referenced by ble_set_connection_params(), and main().
uint8_t PACKED::mode |
Referenced by BM_PROGRAM_Connect().
uint8_t PACKED::name_space |
presentation format permissions
Referenced by ble_gatt_service_create().
uint8_t PACKED::num_of_handles |
Attribute handles list.
uint8_t PACKED::num_of_sensor_chars |
uint16_t PACKED::offset |
Referenced by BM_PROGRAM_Connect().
uint16_t PACKED::opcode |
Referenced by BM_PROGRAM_Connect(), and BM_PROGRAM_Disconnect().
ble_addr_t PACKED::peer_addr |
Referenced by app_connected_cb(), and ble_mgr_connected_cb().
ble_attr_permissions_t PACKED::perm |
Here the stack will store the handle for future use.
Referenced by acc_gyro_sensor_service_init(), and ble_gatt_service_create().
ble_attr_permissions_t PACKED::permission |
Attribute start handle.
Descriptor UUID.
Here the stack will store the handle for future use.
Referenced by ble_gatt_service_create().
ble_attr_permissions_t PACKED::permissions |
set this flag, if user descriptor used.
Characteristic value handle.
set this flag, if extended properties used.
set this flag, if presentation format used.
Reset otherwise.
Referenced by acc_gyro_sensor_service_init(), and ble_gatt_service_create().
bool PACKED::pf_included |
Referenced by ble_gatt_service_create().
uint16_t PACKED::pgm_cmd_id |
Referenced by BM_PROGRAM_CRC_Get(), BM_PROGRAM_Erase(), BM_PROGRAM_Read(), BM_PROGRAM_Write(), and BM_PROGRAM_Write_Continue().
uint16_t PACKED::pgm_data_len |
Referenced by BM_PROGRAM_CRC_Get(), BM_PROGRAM_Erase(), BM_PROGRAM_Read(), BM_PROGRAM_Write(), and BM_PROGRAM_Write_Continue().
uint8_t PACKED::pgm_mem_subtype |
Referenced by BM_PROGRAM_CRC_Get(), BM_PROGRAM_Erase(), BM_PROGRAM_Read(), and BM_PROGRAM_Write().
uint8_t PACKED::pgm_mem_type |
Referenced by BM_PROGRAM_CRC_Get(), BM_PROGRAM_Erase(), BM_PROGRAM_Read(), and BM_PROGRAM_Write().
uint8_t PACKED::pkt_num |
Referenced by dfu_status_report_parser().
uint16_t PACKED::pkt_num |
ble_char_presentation_format_t PACKED::presentation_format |
Characteristic extended properties, if no extended properties is necessary then reset ep_included flag.
Referenced by ble_gatt_service_create().
ble_char_properties_t PACKED::properties |
Attribute value handle.
Value permissions.
Referenced by acc_gyro_sensor_service_init(), ble_gatt_service_create(), and ble_gatt_service_read().
uint8_t PACKED::property |
uint8_t PACKED::reason |
Referenced by app_disconnected_cb(), and BM_PROGRAM_Disconnect().
uint8_t PACKED::role |
Referenced by app_connected_cb(), and BM_PROGRAM_Connect().
int8_t PACKED::rssi |
Referenced by app_adv_report_cb(), ble_mgr_adv_report_cb(), and BM_APPLICATION_AdvReportEventParser().
uint8_t PACKED::rsvd |
sensor_char_t PACKED::sensor_char_list |
Referenced by app_char_disc_resp_cb(), app_char_value_received_cb(), and main().
sensor_char_t* PACKED::sensor_char_list |
sensor_service_t PACKED::sensor_service |
ble_server_char_config_desc_t PACKED::server_config_desc |
user descriptor related info
Referenced by ble_gatt_service_create().
uint8_t PACKED::server_transparent_cntrl |
Referenced by ble_transparent_uart_enable().
ble_uuid_t PACKED::service_uuid |
ble_uuid_t PACKED::service_uuid |
Referenced by main().
uint32_t PACKED::size |
Referenced by BM_PROGRAM_CRC_Get(), BM_PROGRAM_Erase(), BM_PROGRAM_Read(), and BM_PROGRAM_Write().
ble_handle_t PACKED::start_handle |
Length of the attribute type.
Referenced by ble_gatt_service_create().
uint8_t PACKED::state |
uint16_t PACKED::status |
uint8_t PACKED::status |
ble_status_t PACKED::status |
uint16_t PACKED::type |
uint8_t PACKED::type |
See at_ble_addr_type_t.
descriptor value length
Number of attribute handles.
Format.
Extended property descriptor.
User descriptor length.
Client/Server Characteristic Configuration Descriptor.
Characteristic value length.
Characteristic properties.
Referenced by acc_gyro_sensor_service_init(), app_connected_cb(), ble_adv_param_set(), ble_create_connection(), ble_gatt_service_create(), BM_PROGRAM_Connect(), BM_PROGRAM_CRC_Get(), BM_PROGRAM_Disconnect(), BM_PROGRAM_Erase(), BM_PROGRAM_Read(), BM_PROGRAM_Write(), and BM_PROGRAM_Write_Continue().
uint8_t PACKED::type |
Attribute end handle.
descriptor value length
Number of attribute handles.
Format.
Extended property descriptor.
User descriptor length.
Client/Server Characteristic Configuration Descriptor.
Characteristic value length.
Characteristic properties.
ble_service_type_t PACKED::type |
< Service type (PRIMARY or SECONDARY )
Service permissions
uint8_t PACKED::type_length |
The 2 bytes attribute type (UUID)
The 16 bytes attribute type (UUID)
Referenced by ble_gatt_service_create().
bool PACKED::ud_included |
uint8_t PACKED::ud_length |
User descriptor.
Referenced by ble_gatt_service_create().
uint16_t PACKED::unit |
Description.
as defined in GATT spec Part G, Section 3.3.3.5.6
Referenced by ble_gatt_service_create().
uint8_t PACKED::user_desc[BLE_ATT_ATTRIBUTE_VALUE_LEN] |
Referenced by ble_gatt_service_create().
ble_user_desc_t PACKED::user_desc |
Characteristic presentation format, if no presentation format is necessary then reset pf_included flag.
uint8_t* PACKED::user_description |
user descriptor permissions
ble_uuid_t PACKED::uuid |
Characteristics count.
Referenced by acc_gyro_sensor_service_init(), app_char_disc_resp_cb(), ble_gatt_service_create(), ble_gatt_service_read(), and main().
ble_uuid_t PACKED::uuid |
initial value length
Characteristics count.
uint8_t PACKED::value[BLE_ATT_ATTRIBUTE_VALUE_LEN] |
Referenced by ble_gatt_service_create().
ble_handle_t PACKED::value_handle |
Service UUID.
Characteristic UUID.
Referenced by acc_gyro_sensor_service_init(), acce_sensor_data_send(), ble_gatt_service_create(), ble_gatt_service_read(), and gyro_sensor_data_send().
uint8_t PACKED::value_length |
Characteristic value.
Referenced by ble_gatt_service_create().