Searched refs:gatt_handles (Results 1 – 2 of 2) sorted by relevance
34 static uint16_t gatt_handles[NUM_HANDLES] = {0}; variable62 subscribe_params.ccc_handle = gatt_handles[CCC]; in subscribe()63 subscribe_params.value_handle = gatt_handles[SC]; in subscribe()79 for (size_t i = 0U; i < ARRAY_SIZE(gatt_handles); i++) { in discover_func()80 LOG_DBG("handle[%d] = 0x%x", i, gatt_handles[i]); in discover_func()81 BSIM_ASSERT(gatt_handles[i] != 0, "did not find all handles\n"); in discover_func()98 gatt_handles[SC] = chrc->value_handle; in discover_func()113 gatt_handles[CCC] = attr->handle; in discover_func()138 LOG_DBG("sc handle: %d", gatt_handles[SC]); in gatt_discover()139 LOG_DBG("ccc handle: %d", gatt_handles[CCC]); in gatt_discover()
121 uint16_t gatt_handles[NUM_HANDLES] = {0}; variable129 for (int i = 0; i < ARRAY_SIZE(gatt_handles); i++) { in discover_func()130 printk("handle[%d] = 0x%x\n", i, gatt_handles[i]); in discover_func()132 if (gatt_handles[i] == 0) { in discover_func()149 gatt_handles[CLIENT_FEATURES] = chrc->value_handle; in discover_func()153 gatt_handles[SERVICE_CHANGED] = chrc->value_handle; in discover_func()157 gatt_handles[TEST_CHAR] = chrc->value_handle; in discover_func()204 subscribe_params.value_handle = gatt_handles[SERVICE_CHANGED]; in gatt_subscribe_to_service_changed()281 write_params.handle = gatt_handles[CLIENT_FEATURES]; in activate_robust_caching()347 read_char(gatt_handles[TEST_CHAR], expect_success); in read_test_char()