InPlay API
|
BLE DIS service. More...
Data Structures | |
struct | ble_dis_prf_t |
Parameters for the database creation. More... | |
struct | ble_diss_value_cfm_t |
Peer device value of requested attribute. More... | |
Enumerations | |
enum | ble_dis_evt { DISS_EVT_VALUE_REQ_IND = DIS_EVT_CODE +1 } |
Dis event. More... | |
enum | ble_dis_char { BLE_DIS_MANUFACTURER_NAME_CHAR, BLE_DIS_MODEL_NB_STR_CHAR, BLE_DIS_SERIAL_NB_STR_CHAR, BLE_DIS_HARD_REV_STR_CHAR, BLE_DIS_FIRM_REV_STR_CHAR, BLE_DIS_SW_REV_STR_CHAR, BLE_DIS_SYSTEM_ID_CHAR, BLE_DIS_IEEE_CHAR, BLE_DIS_PNP_ID_CHAR } |
DIS char code. More... | |
enum | ble_diss_features { BLE_DISS_MANUFACTURER_NAME_CHAR_SUP = 0x0001, BLE_DISS_MODEL_NB_STR_CHAR_SUP = 0x0002, BLE_DISS_SERIAL_NB_STR_CHAR_SUP = 0x0004, BLE_DISS_HARD_REV_STR_CHAR_SUP = 0x0008, BLE_DISS_FIRM_REV_STR_CHAR_SUP = 0x0010, BLE_DISS_SW_REV_STR_CHAR_SUP = 0x0020, BLE_DISS_SYSTEM_ID_CHAR_SUP = 0x0040, BLE_DISS_IEEE_CHAR_SUP = 0x0080, BLE_DISS_PNP_ID_CHAR_SUP = 0x0100, BLE_DISS_ALL_FEAT_SUP = 0x01FF } |
Database Configuration Flags. More... | |
Functions | |
int | in_ble_disc_add (void *hdl, ble_dis_prf_t *p_prf, comp_cb callback) |
Add DIS client service. More... | |
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. More... | |
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. More... | |
int | in_ble_diss_add (void *hdl, ble_dis_prf_t *p_prf, comp_cb callback) |
Add DIS server service. More... | |
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. More... | |
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. More... | |
BLE DIS service.
enum ble_dis_char |
DIS char code.
enum ble_dis_evt |
enum ble_diss_features |
Database Configuration Flags.
int in_ble_disc_add | ( | void * | hdl, |
ble_dis_prf_t * | p_prf, | ||
comp_cb | callback | ||
) |
Add DIS client service.
[in] | p_prf | Pointer to profile attributes |
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.
[in] | conidx | Connection index |
[in] | con_type | Connnetion type, |
[in,out] | p_dis | Contents of service
|
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.
[in] | conidx | Connection index |
[in] | char_code | Characteristic value code, |
[out] | p_att | Return information |
int in_ble_diss_add | ( | void * | hdl, |
ble_dis_prf_t * | p_prf, | ||
comp_cb | callback | ||
) |
Add DIS server service.
[in] | p_prf | Pointer to profile attributes, |
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.
[in] | conidx | Connection index |
[in] | p_cfm | Pointer to confirmed value |
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.
[in] | conidx | Connection index |
[in] | p_req | Pointer to Connnetion type, |
[in] | p_req | Pointer to the request |