Lines Matching full:sync
28 static void sync_cb(struct bt_le_per_adv_sync *sync, struct bt_le_per_adv_sync_synced_info *info) in sync_cb() argument
38 default_sync = sync; in sync_cb()
45 err = bt_le_per_adv_sync_subevent(sync, ¶ms); in sync_cb()
47 printk("Failed to set subevents to sync to (err %d)\n", err); in sync_cb()
49 printk("Changed sync to subevent %d\n", subevents[0]); in sync_cb()
55 static void term_cb(struct bt_le_per_adv_sync *sync, in term_cb() argument
62 printk("Sync terminated (reason %d)\n", info->reason); in term_cb()
91 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() argument
111 err = bt_le_per_adv_set_response_data(sync, &rsp_params, &rsp_buf); in recv_cb()
161 printk("Failed to set subevents to sync to (err %d)\n", err); in write_timing()
163 printk("Changed sync to subevent %d\n", subevents[0]); in write_timing()
241 printk("Waiting for periodic sync...\n"); in main()
249 printk("Periodic sync established.\n"); in main()
258 printk("Periodic sync lost.\n"); in main()