Searched refs:ots_inst (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/samples/bluetooth/central_otc/src/ |
D | main.c | 39 static void on_obj_selected(struct bt_ots_client *ots_inst, struct bt_conn *conn, int err); 41 static void on_obj_metadata_read(struct bt_ots_client *ots_inst, struct bt_conn *conn, int err, 44 static int on_obj_data_read(struct bt_ots_client *ots_inst, struct bt_conn *conn, uint32_t offset, 556 static void on_obj_selected(struct bt_ots_client *ots_inst, struct bt_conn *conn, int err) in on_obj_selected() argument 571 static int on_obj_data_read(struct bt_ots_client *ots_inst, struct bt_conn *conn, uint32_t offset, in on_obj_data_read() argument 597 static void on_obj_metadata_read(struct bt_ots_client *ots_inst, struct bt_conn *conn, int err, in on_obj_metadata_read() argument 601 printk("\tCurrent size\t:%u", ots_inst->cur_object.size.cur); in on_obj_metadata_read() 602 printk("\tAlloc size\t:%u\n", ots_inst->cur_object.size.alloc); in on_obj_metadata_read() 604 if (ots_inst->cur_object.size.cur > OBJ_MAX_SIZE) { in on_obj_metadata_read() 608 bt_ots_metadata_display(&ots_inst->cur_object, 1); in on_obj_metadata_read() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/services/ |
D | ots.h | 860 void (*obj_selected)(struct bt_ots_client *ots_inst, 880 int (*obj_data_read)(struct bt_ots_client *ots_inst, 897 void (*obj_metadata_read)(struct bt_ots_client *ots_inst, 910 void (*obj_data_written)(struct bt_ots_client *ots_inst, 924 void (*obj_checksum_calculated)(struct bt_ots_client *ots_inst, struct bt_conn *conn, 938 int bt_ots_client_register(struct bt_ots_client *ots_inst);
|