Lines Matching full:sync
132 static void sync_cb(struct bt_le_per_adv_sync *sync, in sync_cb() argument
141 bt_le_per_adv_sync_get_index(sync), le_addr, in sync_cb()
147 static void term_cb(struct bt_le_per_adv_sync *sync, in term_cb() argument
154 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s sync terminated\n", in term_cb()
155 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb()
161 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() argument
173 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in recv_cb()
177 static void biginfo_cb(struct bt_le_per_adv_sync *sync, in biginfo_cb() argument
189 bt_le_per_adv_sync_get_index(sync), le_addr, biginfo->sid, in biginfo_cb()
296 struct bt_le_per_adv_sync *sync; in main() local
376 printk("Creating Periodic Advertising Sync..."); in main()
385 err = bt_le_per_adv_sync_create(&sync_create_param, &sync); in main()
392 printk("Waiting for periodic sync...\n"); in main()
397 printk("Deleting Periodic Advertising Sync..."); in main()
398 err = bt_le_per_adv_sync_delete(sync); in main()
405 printk("Periodic sync established.\n"); in main()
416 printk("Deleting Periodic Advertising Sync..."); in main()
417 err = bt_le_per_adv_sync_delete(sync); in main()
424 printk("Periodic sync established.\n"); in main()
427 printk("Create BIG Sync...\n"); in main()
428 err = bt_iso_big_sync(sync, &big_sync_param, &big); in main()
436 printk("Waiting for BIG sync chan %u...\n", chan); in main()
441 printk("BIG sync chan %u successful.\n", chan); in main()
446 printk("BIG Sync Terminate..."); in main()
456 printk("BIG sync established.\n"); in main()
472 printk("Waiting for BIG sync lost chan %u...\n", chan); in main()
478 printk("BIG sync lost chan %u.\n", chan); in main()
480 printk("BIG sync lost.\n"); in main()
483 printk("Check for periodic sync lost...\n"); in main()
486 /* Periodic Sync active, go back to creating BIG Sync */ in main()
489 printk("Periodic sync lost.\n"); in main()