13 #ifndef IN_BLE_PRF_DIS_H 14 #define IN_BLE_PRF_DIS_H 24 #include "ble/in_ble_evt.h" 25 #include "ble/in_ble_prf.h" 108 } evt_value_req_ind_t;
116 } ble_disc_content_t;
144 } ble_diss_set_value_req_t;
196 int in_ble_disc_enable(
void *hdl,
int conidx,
int con_type, ble_disc_content_t *p_dis, comp_cb callback) ;
Serial Number.
Definition: in_ble_prf_dis.h:54
ble_dis_evt
Dis event.
Definition: in_ble_prf_dis.h:41
Indicate if Hardware Revision String Char. supports indications.
Definition: in_ble_prf_dis.h:81
SW Revision Number.
Definition: in_ble_prf_dis.h:60
ble_att_perm
Definition: in_ble_att.h:63
System Identifier Name.
Definition: in_ble_prf_dis.h:62
Peer device request to get profile attribute value,.
Definition: in_ble_prf_dis.h:43
bool multi_instance
If the service is multi-instance.
Definition: in_ble_prf_dis.h:122
Parameters for the database creation.
Definition: in_ble_prf_dis.h:119
All features are supported.
Definition: in_ble_prf_dis.h:94
int in_ble_diss_set_value_req(void *hdl, int conidx, ble_diss_set_value_req_t *p_req, comp_cb callback)
Set the value of an attribute - Request.
Indicate if System ID Char. is writable.
Definition: in_ble_prf_dis.h:87
Indicate if IEEE Char. is writable.
Definition: in_ble_prf_dis.h:89
IEEE Certificate.
Definition: in_ble_prf_dis.h:64
characteristic info
Definition: in_ble_prf.h:195
Manufacturer Name.
Definition: in_ble_prf_dis.h:50
service handles
Definition: in_ble_prf.h:171
FW Revision Number.
Definition: in_ble_prf_dis.h:58
Attribute information.
Definition: in_ble_prf.h:158
Indicate if Serial Number String Char. is supported.
Definition: in_ble_prf_dis.h:79
int in_ble_diss_add(void *hdl, ble_dis_prf_t *p_prf, comp_cb callback)
Add DIS server service.
Indicate if Model Number String Char. is supported.
Definition: in_ble_prf_dis.h:77
Indicate if Software Revision String Char. is writable.
Definition: in_ble_prf_dis.h:85
uint8_t value
Requested value.
Definition: in_ble_prf_dis.h:150
Model Number.
Definition: in_ble_prf_dis.h:52
Plug and Play Identifier.
Definition: in_ble_prf_dis.h:66
int in_ble_disc_enable(void *hdl, int conidx, int con_type, ble_disc_content_t *p_dis, comp_cb callback)
Enable DIS client servie.
ble_diss_features
Database Configuration Flags.
Definition: in_ble_prf_dis.h:72
Indicate if PnP ID Char. is writable.
Definition: in_ble_prf_dis.h:91
bool check_enc_key_size
If let the service check whether encryption key size is 16bytes (more security).
Definition: in_ble_prf_dis.h:127
Peer device value of requested attribute.
Definition: in_ble_prf_dis.h:147
uint16_t features
Database configuration.
Definition: in_ble_prf_dis.h:133
HW Revision Number.
Definition: in_ble_prf_dis.h:56
int in_ble_disc_add(void *hdl, ble_dis_prf_t *p_prf, comp_cb callback)
Add DIS client service.
Indicate if Manufacturer Name String Char. is supported.
Definition: in_ble_prf_dis.h:75
ble_dis_char
DIS char code.
Definition: in_ble_prf_dis.h:47
int in_ble_disc_read_char(void *hdl, int conidx, int char_code, ble_att_info_t *p_att, comp_cb callback)
Enable DIS client servie.
Indicate if Firmware Revision String Char. is writable.
Definition: in_ble_prf_dis.h:83
uint8_t length
Value length.
Definition: in_ble_prf_dis.h:152
int in_ble_diss_set_value_cfm(void *hdl, int conidx, ble_diss_value_cfm_t *p_cfm)
Peer device value of requested attribute confirmed.