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 | 112 static struct test_chrc_ctx unhandled_chrc_ctx; variable 118 return read_test_chrc(&unhandled_chrc_ctx, conn, attr, buf, len, offset); in read_test_unhandled_chrc() 128 return write_test_chrc(&unhandled_chrc_ctx, buf, len, offset, flags); in write_test_unhandled_chrc() 181 if ((unhandled_chrc_ctx.read_cnt != 1) && (unhandled_chrc_ctx.write_cnt != 1)) { in unhandled_chrc_operation_validate() 185 if ((unhandled_chrc_ctx.auth_read_cnt != 0) && in unhandled_chrc_operation_validate() 186 (unhandled_chrc_ctx.auth_write_cnt != 0)) { in unhandled_chrc_operation_validate() 195 if (memcmp(&unhandled_chrc_ctx, &zeroed_chrc_ctx, sizeof(zeroed_chrc_ctx)) != 0) { in unauthorized_chrc_operation_validate() 217 if (memcmp(&unhandled_chrc_ctx, &zeroed_chrc_ctx, sizeof(zeroed_chrc_ctx)) != 0) { in authorized_chrc_operation_validate() 267 memset(&unhandled_chrc_ctx, 0, sizeof(unhandled_chrc_ctx)); in write_cp_chrc()
|