Lines Matching refs:att_err

417 static void active_index_subscribe_cb(struct bt_conn *conn, uint8_t att_err,  in active_index_subscribe_cb()  argument
423 LOG_DBG("conn %p att_err 0x%02x params %p", (void *)inst->conn, att_err, params); in active_index_subscribe_cb()
425 if (att_err != BT_ATT_ERR_SUCCESS) { in active_index_subscribe_cb()
429 discover_failed(conn, att_err); in active_index_subscribe_cb()
458 static uint8_t active_index_read_cb(struct bt_conn *conn, uint8_t att_err, in active_index_read_cb() argument
463 int err = att_err; in active_index_read_cb()
465 LOG_DBG("conn %p att_err 0x%02x params %p data %p len %u", (void *)conn, att_err, params, in active_index_read_cb()
468 if (att_err != BT_ATT_ERR_SUCCESS || len == 0) { in active_index_read_cb()
508 static void control_point_subscribe_cb(struct bt_conn *conn, uint8_t att_err, in control_point_subscribe_cb() argument
513 int err = att_err; in control_point_subscribe_cb()
515 LOG_DBG("conn %p att_err 0x%02x", (void *)inst->conn, att_err); in control_point_subscribe_cb()
517 if (att_err != BT_ATT_ERR_SUCCESS) { in control_point_subscribe_cb()
623 static uint8_t features_read_cb(struct bt_conn *conn, uint8_t att_err, in features_read_cb() argument
627 int err = att_err; in features_read_cb()
629 LOG_DBG("conn %p att_err 0x%02x params %p data %p len %u", (void *)conn, att_err, params, in features_read_cb()
632 if (att_err != BT_ATT_ERR_SUCCESS || len == 0) { in features_read_cb()
675 static void features_subscribe_cb(struct bt_conn *conn, uint8_t att_err, in features_subscribe_cb() argument
680 int err = att_err; in features_subscribe_cb()
682 LOG_DBG("conn %p att_err 0x%02x params %p", (void *)conn, att_err, params); in features_subscribe_cb()
684 if (att_err != BT_ATT_ERR_SUCCESS) { in features_subscribe_cb()