Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/host/gatt/authorization/src/
Dgatt_server_test.c150 static struct test_chrc_ctx authorized_chrc_ctx; variable
156 return read_test_chrc(&authorized_chrc_ctx, conn, attr, buf, len, offset); in read_test_authorized_chrc()
166 return write_test_chrc(&authorized_chrc_ctx, buf, len, offset, flags); in write_test_authorized_chrc()
177 if (memcmp(&authorized_chrc_ctx, &zeroed_chrc_ctx, sizeof(zeroed_chrc_ctx)) != 0) { in unhandled_chrc_operation_validate()
199 if (memcmp(&authorized_chrc_ctx, &zeroed_chrc_ctx, sizeof(zeroed_chrc_ctx)) != 0) { in unauthorized_chrc_operation_validate()
225 if ((authorized_chrc_ctx.read_cnt != 1) && (authorized_chrc_ctx.write_cnt != 1)) { in authorized_chrc_operation_validate()
229 if ((authorized_chrc_ctx.auth_read_cnt != 1) && in authorized_chrc_operation_validate()
230 (authorized_chrc_ctx.auth_write_cnt != 1)) { in authorized_chrc_operation_validate()
269 memset(&authorized_chrc_ctx, 0, sizeof(authorized_chrc_ctx)); in write_cp_chrc()
309 authorized_chrc_ctx.auth_read_cnt++; in gatt_read_authorize()
[all …]