Lines Matching full:sync
18 static void sync_cb(struct bt_le_per_adv_sync *sync, in sync_cb() argument
25 printk("Sync not from PAST\n"); in sync_cb()
35 bt_le_per_adv_sync_get_index(sync), le_addr, info->interval, in sync_cb()
41 static void term_cb(struct bt_le_per_adv_sync *sync, in term_cb() argument
48 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s sync terminated\n", in term_cb()
49 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb()
54 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() argument
65 "data: %s\n", bt_le_per_adv_sync_get_index(sync), le_addr, in recv_cb()
139 printk("Subscribing to periodic advertising sync transfers\n"); in main()
156 printk("Waiting for periodic sync...\n"); in main()
162 printk("Periodic sync established.\n"); in main()
164 printk("Waiting for periodic sync lost...\n"); in main()
170 printk("Periodic sync lost.\n"); in main()