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 D | bt_gatts_adapter.c | 34 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 D | bt_gatts_adapter.c | 26 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 D | bt_gatts_adapter.c | 34 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 D | gatt.h | 226 } 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 D | bas.c | 23 static gatt_attr_t bas_attrs[BAS_IDX_MAX] = {
|
A D | hrs.c | 32 static gatt_attr_t hrs_attrs[HRS_IDX_MAX] = {
|
A D | uart_server.c | 36 gatt_attr_t uart_attrs[YOC_UART_IDX_MAX] = {
|
A D | hids.c | 95 gatt_attr_t hids_attrs[] = {
|
A D | dis.c | 56 static gatt_attr_t dis_attrs[DIS_IDX_MAX] = {
|
A D | ota_server.c | 98 static gatt_attr_t uart_attrs[YOC_OTA_IDX_MAX] = {
|
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/ |
A D | gatt.c | 579 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 D | blecfg_stack.c | 37 static gatt_attr_t g_BLE_netCfg_gatt_attrs[] = {
|
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/test/ |
A D | gatt.c | 678 static gatt_attr_t test_attrs[] = { 723 static gatt_attr_t test2_attrs[] = {
|
/AliOS-Things-master/components/ble_host/ |
A D | README.md | 217 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 D | ble.c | 705 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