Lines Matching refs:description
232 &inst->srv.description, strlen(inst->srv.description)); in notify_work_handler()
376 if (len >= sizeof(inst->srv.description)) { in write_description()
378 sizeof(inst->srv.description) - 1); in write_description()
380 len = (uint16_t)sizeof(inst->srv.description) - 1; in write_description()
383 if (memcmp(buf, inst->srv.description, len)) { in write_description()
384 memcpy(inst->srv.description, buf, len); in write_description()
385 inst->srv.description[len] = '\0'; in write_description()
389 if (inst->srv.cb && inst->srv.cb->description) { in write_description()
390 inst->srv.cb->description(inst, 0, in write_description()
391 inst->srv.description); in write_description()
397 LOG_DBG("%s", inst->srv.description); in write_description()
432 LOG_DBG("%s", inst->srv.description); in read_description()
435 &inst->srv.description, strlen(inst->srv.description)); in read_description()
526 if (param->description) { in bt_aics_register()
527 (void)utf8_lcpy(aics->srv.description, param->description, in bt_aics_register()
528 sizeof(aics->srv.description)); in bt_aics_register()
530 strcmp(aics->srv.description, param->description)) { in bt_aics_register()
531 LOG_DBG("Input desc clipped to %s", aics->srv.description); in bt_aics_register()
884 if (inst->srv.cb && inst->srv.cb->description) { in bt_aics_description_get()
885 inst->srv.cb->description(inst, 0, in bt_aics_description_get()
886 inst->srv.description); in bt_aics_description_get()
896 int bt_aics_description_set(struct bt_aics *inst, const char *description) in bt_aics_description_set() argument
903 CHECKIF(!description) { in bt_aics_description_set()
909 return bt_aics_client_description_set(inst, description); in bt_aics_description_set()
911 return aics_write(inst, write_description, description, strlen(description)); in bt_aics_description_set()