Lines Matching refs:att_err
21 uint8_t att_err; member
38 static uint8_t att_read_cb(struct bt_conn *conn, uint8_t att_err, in att_read_cb() argument
47 ctx->att_err = att_err; in att_read_cb()
49 if (!att_err && ctx->result_handle) { in att_read_cb()
54 if (!att_err && ctx->result_size) { in att_read_cb()
69 if (!att_err && ctx->att_mtu) { in att_read_cb()
118 __ASSERT_NO_MSG(ctx->att_err >= 0); in bt_testlib_sync_bt_gatt_read()
119 return ctx->att_err; in bt_testlib_sync_bt_gatt_read()
203 uint8_t att_err; member
218 ctx->att_err = attr ? BT_ATT_ERR_SUCCESS : BT_ATT_ERR_ATTRIBUTE_NOT_FOUND; in gatt_discover_service_cb()
220 if (!ctx->att_err) { in gatt_discover_service_cb()
284 __ASSERT_NO_MSG(ctx->att_err >= 0); in bt_testlib_gatt_discover_primary()
285 return ctx->att_err; in bt_testlib_gatt_discover_primary()
290 uint8_t att_err; member
308 if (ctx->att_err == BT_ATT_ERR_ATTRIBUTE_NOT_FOUND) { in gatt_discover_char_cb()
313 ctx->att_err = BT_ATT_ERR_SUCCESS; in gatt_discover_char_cb()
355 .att_err = BT_ATT_ERR_ATTRIBUTE_NOT_FOUND, in bt_testlib_gatt_discover_characteristic()
391 __ASSERT_NO_MSG(ctx->att_err >= 0); in bt_testlib_gatt_discover_characteristic()
392 return ctx->att_err; in bt_testlib_gatt_discover_characteristic()