Characteristic structure.
#include <at_ble_api.h>
Data Fields | |
at_ble_handle_t | char_val_handle |
Here the stack will store the char. More... | |
at_ble_handle_t | client_config_handle |
at_ble_attr_permissions_t | client_config_permissions |
uint8_t * | init_value |
initial value of this characteristic More... | |
at_ble_char_presentation_t * | presentation_format |
Characteristic presentation format, this value will be stored in the relevant descriptor, if no presentation format is necessary set to NULL. More... | |
at_ble_char_properties_t | properties |
Characteristic properties, values for Client Characteristic Configuration Descriptor and Server Characteristic Configuration Descriptor will be decided from this value. More... | |
at_ble_handle_t | server_config_handle |
at_ble_attr_permissions_t | server_config_permissions |
uint8_t * | user_desc |
a user friendly description, this value will be stored in the relevant descriptor, if no user description is desired set to NULL More... | |
at_ble_handle_t | user_desc_handle |
uint16_t | user_desc_len |
the user friendly description length, this value will be stored in the relevant descriptor, if no user description is desired set to 0 More... | |
uint16_t | user_desc_max_len |
Maximum possible length for the user friendly description, this value will be stored in the relevant descriptor, if no user description is desired set to 0. More... | |
at_ble_attr_permissions_t | user_desc_permissions |
at_ble_uuid_t | uuid |
Characteristic UUID. More... | |
uint16_t | value_init_len |
initial value length More... | |
uint16_t | value_max_len |
maximum possible length of the char. More... | |
at_ble_attr_permissions_t | value_permissions |
Value permissions. More... | |
at_ble_handle_t at_ble_characteristic_t::char_val_handle |
Here the stack will store the char.
value handle for future use
Referenced by at_ble_service_define(), bat_init_service(), bat_update_char_value(), csc_serv_send_data(), heart_rate_init_service(), heart_rate_update_char_value(), ias_set_alert_value(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), lls_set_alert_value(), pxp_reporter_connected_state_handler(), trans_service_init(), trans_update_ctrl_char_value(), trans_update_tx_char_value(), wificon_char_change_apparam(), wificon_connect_noti(), wifiscan_char_change_scanmode(), wifiscan_print_char(), wifiscan_scanlist_receive(), and wifiscan_update_scanmode_char_value().
at_ble_handle_t at_ble_characteristic_t::client_config_handle |
Referenced by bat_init_service(), client_conf_define(), csc_serv_send_data(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), trans_service_init(), and wificon_char_change_state_client_cfg().
at_ble_attr_permissions_t at_ble_characteristic_t::client_config_permissions |
uint8_t* at_ble_characteristic_t::init_value |
initial value of this characteristic
Referenced by at_ble_service_define(), bat_init_service(), csc_serv_init(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), and trans_service_init().
at_ble_char_presentation_t* at_ble_characteristic_t::presentation_format |
Characteristic presentation format, this value will be stored in the relevant descriptor, if no presentation format is necessary set to NULL.
Referenced by bat_init_service(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), is_presentation_format_defined(), presentation_format_define(), and trans_service_init().
at_ble_char_properties_t at_ble_characteristic_t::properties |
Characteristic properties, values for Client Characteristic Configuration Descriptor and Server Characteristic Configuration Descriptor will be decided from this value.
Referenced by bat_init_service(), char_permissions(), char_properties(), csc_serv_init(), extended_properties_define(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), is_client_conf_defined(), is_extended_properties_defined(), is_server_conf_defined(), trans_service_init(), and user_description_define().
at_ble_handle_t at_ble_characteristic_t::server_config_handle |
at_ble_attr_permissions_t at_ble_characteristic_t::server_config_permissions |
uint8_t* at_ble_characteristic_t::user_desc |
a user friendly description, this value will be stored in the relevant descriptor, if no user description is desired set to NULL
Referenced by bat_init_service(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), trans_service_init(), and user_description_define().
at_ble_handle_t at_ble_characteristic_t::user_desc_handle |
uint16_t at_ble_characteristic_t::user_desc_len |
the user friendly description length, this value will be stored in the relevant descriptor, if no user description is desired set to 0
Referenced by at_ble_service_define(), bat_init_service(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), is_user_desc_defined(), trans_service_init(), and user_description_define().
uint16_t at_ble_characteristic_t::user_desc_max_len |
Maximum possible length for the user friendly description, this value will be stored in the relevant descriptor, if no user description is desired set to 0.
Referenced by bat_init_service(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), and trans_service_init().
at_ble_attr_permissions_t at_ble_characteristic_t::user_desc_permissions |
at_ble_uuid_t at_ble_characteristic_t::uuid |
Characteristic UUID.
Referenced by at_ble_service_define(), bat_init_service(), csc_serv_init(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), and trans_service_init().
uint16_t at_ble_characteristic_t::value_init_len |
initial value length
Referenced by at_ble_service_define(), bat_init_service(), csc_serv_init(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), and trans_service_init().
uint16_t at_ble_characteristic_t::value_max_len |
maximum possible length of the char.
value
Referenced by at_ble_service_define(), bat_init_service(), csc_serv_init(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), and trans_service_init().
at_ble_attr_permissions_t at_ble_characteristic_t::value_permissions |
Value permissions.
Referenced by bat_init_service(), char_permissions(), csc_serv_init(), heart_rate_init_service(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), init_wifi_con_service(), init_wifi_scan_service(), and trans_service_init().