When You Need to Capture
Only read this guide when a developer explicitly asks you to capture Bluetooth data. Normally, first connect and test the device in AI Toy Bridge; if control fails, first provide device information according to the Feedback and Adaptation Guide, and the developer will determine whether logs are needed.
What is recorded here is the Bluetooth communication between the device manufacturer's official App and the device. When capturing, operate the device using the official App. You do not need to know programming, analyze protocols, or understand logs, and you will not modify the device firmware.
Choose a solution according to the devices you have on hand:
| What devices you have | Solution to choose | What to submit in the end |
|---|---|---|
| iPhone and Mac | Prefer PacketLogger; logs are more direct and files are usually smaller | The complete .pklg file |
| iPhone only | Install the Bluetooth logging configuration and then generate a system diagnosis | The complete sysdiagnose_….tar.gz file |
For both solutions, complete the preparation below first, then read the procedure corresponding to your solution.
Common Preparation: Install the Bluetooth Logging Configuration
- In Safari on the iPhone, open Apple's official Profiles and Logs page. If prompted to sign in, use your Apple Account.
- Find Bluetooth for iOS/iPadOS and click Profile to download the configuration profile. The Instructions next to the same item are Apple's instructions; you can check them against your current system version.
- Open iPhone Settings → Downloaded Profile, and install it as prompted. If this entry is not on the home page, go to Settings → General → VPN & Device Management, find the Bluetooth profile you just downloaded, and install it.
- After installation is complete, fully restart the iPhone once. Start capturing only after the restart.
Before testing, temporarily disconnect unnecessary Bluetooth devices such as headphones and speakers. If it is inconvenient to disconnect an Apple Watch, it can remain connected. Test only the device to be adapted at a time, and try to keep the actual control process within 1–3 minutes.
Solution 1: Use a Mac and PacketLogger
1. Prepare the tools and connect the iPhone
On the Mac, go to Apple's official Bluetooth Development Tools page, and obtain Additional Tools for Xcode from the PacketLogger download entry; you may need to sign in with an Apple Account. Open the downloaded tools package and find PacketLogger in the Hardware folder.
Connect the iPhone to the Mac using a data cable and unlock the iPhone; if 'Trust This Computer?' appears, select Trust and enter the lock screen passcode when prompted. Keep the data cable connected during the capture.
2. Start recording, then connect the device
- Completely close the device's official app and turn off the device.
- In PacketLogger on the Mac, select File → New iOS Trace, then select your iPhone.
- Confirm that new records keep appearing in the window. You do not need to understand the English or hexadecimal data in them.
- Wait about 5 seconds, then turn on the device and the official app, and use the official app to connect to the device.
- Control the device item by item according to the test operation order, and note the actual operation order.
3. Save the raw log
After testing is complete, stop controlling the device first, then return to PacketLogger and select File → Save As to save the current recording. You will usually get a .pklg file, for example device_test.pklg.
Keep the complete file, and finally send it as described in the 'Submit files and operation records' section of this article.
Option 2: Use only the iPhone
This option generates a sysdiagnose system diagnostic file, which contains Bluetooth logs for analysis and is usually larger than a PacketLogger log.
1. Complete the test with the official app
Confirm that the profile installation and restart described earlier have been completed. Turn on the device and the official app, connect to the device, and confirm that the official app can control it normally. Then operate item by item according to the test operation order, and note the actual order.
2. Trigger the system diagnostic immediately after testing
After the operation ends, press and hold the Volume Up, Volume Down, and Side buttons simultaneously for about 1–1.5 seconds, then release all of them. The Side button is the button normally used to lock or wake the screen. There is usually a short vibration; the exact feedback may vary by system version.
Do not press and hold continuously. If the power-off or SOS screen appears, release immediately and cancel; do not keep holding. For button instructions on different models, refer to the Instructions on Apple's page.
After triggering, wait about 5 minutes for the phone to organize logs. Do not restart during this period, and try not to continue operating Bluetooth devices.
3. Locate and save the file
- Open Settings → Privacy & Security → Analytics & Improvements → Analytics Data.
- Find the latest file whose name starts with
sysdiagnoseand whose timestamp matches the test just performed; it is usually in.tar.gzformat. - Open the file, tap the share button, select Save to "Files", and save it to "On My iPhone" or iCloud Drive.
If you cannot find it yet, wait a few more minutes, exit "Analytics Data", and reopen it. If it is still missing, briefly press the three buttons once as described in the previous section, then wait for the file to be generated.
Keep the complete compressed file; no need to extract it. If the file is too large to send via chat tools, use a private cloud drive or file-sharing link.
Test operation sequence
Both methods use the same sequence. The following example uses a device with vibration levels and preset modes; skip any features the device does not have.
| Operation | Wait after operation |
|---|---|
| Connect device | 5 seconds |
| Turn on lowest level | 5 seconds |
| Switch to medium level | 5 seconds |
| Switch to highest level | 5 seconds |
| Stop | 5 seconds |
| Turn on preset mode 1 | 10 seconds |
| Stop | 5 seconds |
| Turn on preset mode 2 | 10 seconds |
| Stop | End of this test round |
If there are additional functions such as rotation, thrusting, suction, air pressure, heating, lighting, a second motor, or locking, test only one function at a time, and pause at least 3–5 seconds after each operation. Do not switch multiple levels and modes within two or three seconds; otherwise, it is difficult to determine which Bluetooth command corresponds to which button.
For the Mac method, operate after starting the recording and save the log afterward; for the iPhone-only method, trigger sysdiagnose immediately after the operations end.
Submit files and operation records
Please send it privately to the AI Toy Bridge developer:
- Mac method: complete
.pklgfile. - iPhone method: complete
sysdiagnose_….tar.gzfile.
Also include the following details; copy and fill them in. The operational order only needs to be roughly accurate.
- Device model:
- Official app name or download link:
- iPhone model:
- iOS version:
- Test time:
- Actual operation order: for example, connect → lowest level → medium level → highest level → stop → mode 1 → stop.
- Interval between steps: for example, about 5 seconds; about 10 seconds for preset modes.
Please send the original files, do not replace them with screenshots or copied text, and do not convert formats or delete file contents. System diagnostics contain not only Bluetooth data but may also contain other system information, so do not post them in public group chats, forums, or public websites. After the analysis is complete, you can delete the local copies.
If you get stuck or are unsure whether it succeeded, tell the developer your iPhone model, iOS version, and which step you are stuck on, and attach a screenshot of the current page. There is no need to analyze the logs yourself.