Searched refs:unhandled_chrc_ctx (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/authorization/src/ |
D | gatt_server_test.c | 99 static struct test_chrc_ctx unhandled_chrc_ctx; variable 105 return read_test_chrc(&unhandled_chrc_ctx, conn, attr, buf, len, offset); in read_test_unhandled_chrc() 115 return write_test_chrc(&unhandled_chrc_ctx, buf, len, offset, flags); in write_test_unhandled_chrc() 168 if ((unhandled_chrc_ctx.read_cnt != 1) && (unhandled_chrc_ctx.write_cnt != 1)) { in unhandled_chrc_operation_validate() 172 if ((unhandled_chrc_ctx.auth_read_cnt != 0) && in unhandled_chrc_operation_validate() 173 (unhandled_chrc_ctx.auth_write_cnt != 0)) { in unhandled_chrc_operation_validate() 182 if (memcmp(&unhandled_chrc_ctx, &zeroed_chrc_ctx, sizeof(zeroed_chrc_ctx)) != 0) { in unauthorized_chrc_operation_validate() 204 if (memcmp(&unhandled_chrc_ctx, &zeroed_chrc_ctx, sizeof(zeroed_chrc_ctx)) != 0) { in authorized_chrc_operation_validate() 254 memset(&unhandled_chrc_ctx, 0, sizeof(unhandled_chrc_ctx)); in write_cp_chrc()
|