Home
last modified time | relevance | path

Searched refs:gatt_attr_t (Results 1 – 15 of 15) sorted by relevance

/AliOS-Things-master/components/amp/engine/duktape_engine/addons/wireless/bt_host/
A Dbt_gatts_adapter.c34 gatt_attr_t *g_attrs_list = NULL;
97 void bt_gatts_define_gatt_srvc(gatt_attr_t *out, uint16_t uuid) { in bt_gatts_define_gatt_srvc()
106 void bt_gatts_define_gatt_char(gatt_attr_t *out, uint16_t uuid, uint8_t perimt) { in bt_gatts_define_gatt_char()
121 void bt_gatts_define_gatt_char_val(gatt_attr_t *out, uint16_t uuid, uint8_t perimt) { in bt_gatts_define_gatt_char_val()
129 void bt_gatts_define_ccc(gatt_attr_t *out) { in bt_gatts_define_ccc()
144 g_attrs_list = (gatt_attr_t *)aos_malloc(srvc->attr_cnt * sizeof(gatt_attr_t)); in bt_gatts_adapter_add_service()
150 memset(g_attrs_list, 0, srvc->attr_cnt * sizeof(gatt_attr_t)); in bt_gatts_adapter_add_service()
187 gatt_attr_t *ptr = NULL; in bt_gatts_adapter_update_user_data()
/AliOS-Things-master/components/py_engine/modules/ble/
A Dbt_gatts_adapter.c26 gatt_attr_t *g_attrs_list = NULL;
96 void bt_gatts_define_gatt_srvc(gatt_attr_t *out, uint16_t uuid) in bt_gatts_define_gatt_srvc()
106 void bt_gatts_define_gatt_char(gatt_attr_t *out, uint16_t uuid, uint8_t perimt) in bt_gatts_define_gatt_char()
123 void bt_gatts_define_gatt_char_val(gatt_attr_t *out, uint16_t uuid, in bt_gatts_define_gatt_char_val()
133 void bt_gatts_define_ccc(gatt_attr_t *out) in bt_gatts_define_ccc()
153 (gatt_attr_t *)aos_malloc(srvc->attr_cnt * sizeof(gatt_attr_t)); in bt_gatts_adapter_add_service()
159 memset(g_attrs_list, 0, srvc->attr_cnt * sizeof(gatt_attr_t)); in bt_gatts_adapter_add_service()
217 gatt_attr_t *ptr = NULL; in bt_gatts_adapter_update_user_data()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/wireless/bt_host/
A Dbt_gatts_adapter.c34 gatt_attr_t *g_attrs_list = NULL;
97 void bt_gatts_define_gatt_srvc(gatt_attr_t *out, uint16_t uuid) { in bt_gatts_define_gatt_srvc()
106 void bt_gatts_define_gatt_char(gatt_attr_t *out, uint16_t uuid, uint8_t perimt) { in bt_gatts_define_gatt_char()
121 void bt_gatts_define_gatt_char_val(gatt_attr_t *out, uint16_t uuid, uint8_t perimt) { in bt_gatts_define_gatt_char_val()
129 void bt_gatts_define_ccc(gatt_attr_t *out) { in bt_gatts_define_ccc()
144 g_attrs_list = (gatt_attr_t *)aos_malloc(srvc->attr_cnt * sizeof(gatt_attr_t)); in bt_gatts_adapter_add_service()
150 memset(g_attrs_list, 0, srvc->attr_cnt * sizeof(gatt_attr_t)); in bt_gatts_adapter_add_service()
188 gatt_attr_t *ptr = NULL; in bt_gatts_adapter_update_user_data()
/AliOS-Things-master/components/ble_host/bt_host/include/aos/
A Dgatt.h226 } gatt_attr_t; typedef
251 void (*cfg_changed)(const gatt_attr_t *attr, uint16_t value);
252 int (*cfg_write)(void *conn, gatt_attr_t *attr, uint16_t value);
253 int (*cfg_match)(void *conn, gatt_attr_t *attr);
345 int ble_stack_gatt_registe_service(gatt_service *s, gatt_attr_t attrs[], uint16_t attr_num);
/AliOS-Things-master/components/ble_host/ble_profiles/
A Dbas.c23 static gatt_attr_t bas_attrs[BAS_IDX_MAX] = {
A Dhrs.c32 static gatt_attr_t hrs_attrs[HRS_IDX_MAX] = {
A Duart_server.c36 gatt_attr_t uart_attrs[YOC_UART_IDX_MAX] = {
A Dhids.c95 gatt_attr_t hids_attrs[] = {
A Ddis.c56 static gatt_attr_t dis_attrs[DIS_IDX_MAX] = {
A Dota_server.c98 static gatt_attr_t uart_attrs[YOC_OTA_IDX_MAX] = {
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/
A Dgatt.c579 static gatt_attr_t test_attrs[] = {
624 static gatt_attr_t test2_attrs[] = {
695 static gatt_attr_t test3_attrs0[] = {
706 static gatt_attr_t test3_attrs1[] = {
/AliOS-Things-master/components/ble_netconfig/
A Dblecfg_stack.c37 static gatt_attr_t g_BLE_netCfg_gatt_attrs[] = {
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/test/
A Dgatt.c678 static gatt_attr_t test_attrs[] = {
723 static gatt_attr_t test2_attrs[] = {
/AliOS-Things-master/components/ble_host/
A DREADME.md217 int ble_stack_gatt_registe_service(gatt_service *s, gatt_attr_t attrs[], uint16_t attr_num)
/AliOS-Things-master/components/ble_host/bt_host/aos/
A Dble.c705 int ble_stack_gatt_registe_service(gatt_service *s, gatt_attr_t attrs[], uint16_t attr_num) in ble_stack_gatt_registe_service()

Completed in 25 milliseconds