Lines Matching refs:ots
38 static struct bt_ots *ots; variable
118 err = bt_ots_obj_add(ots, ¶m); in register_object()
147 static int ots_obj_created(struct bt_ots *ots, struct bt_conn *conn, uint64_t id, in ots_obj_created() argument
193 static int ots_obj_deleted(struct bt_ots *ots, struct bt_conn *conn, in ots_obj_deleted() argument
211 static void ots_obj_selected(struct bt_ots *ots, struct bt_conn *conn, in ots_obj_selected() argument
217 static ssize_t ots_obj_read(struct bt_ots *ots, struct bt_conn *conn, in ots_obj_read() argument
238 static ssize_t ots_obj_write(struct bt_ots *ots, struct bt_conn *conn, in ots_obj_write() argument
255 static void ots_obj_name_written(struct bt_ots *ots, struct bt_conn *conn, in ots_obj_name_written() argument
261 static int ots_obj_cal_checksum(struct bt_ots *ots, struct bt_conn *conn, uint64_t id, in ots_obj_cal_checksum() argument
301 err = bt_ots_init(ots, &ots_init); in ots_init()
315 if (!ots) { in tester_init_ots()
316 ots = bt_ots_free_instance_get(); in tester_init_ots()
319 if (!ots) { in tester_init_ots()