iOS手机查看蓝牙底层日志

文章目录

参考文档:A New Way to Debug iOS Bluetooth Applications

一、需要的环境

  • iOS 13 device and cable
  • Mac computer/laptop
  • Apple Developer Program account

二、在iOS设备上安装Profiles文件

在手机浏览器打开链接
https://developer.apple.com/bug-reporting/profiles-and-logs/?name=bluetooth

在浏览器中点击Profile,下载文件

点击运行下载

在设置中找到描述文件,点击安装

三、安装Xcode

在App Store下载Xcode

四、安装packetLogger

通过链接,下载安装 Additional Tools ,点击Hardware,点击packetLogger应用

五、启动蓝牙数据包分析

连接设备,点击File-》New iOS Trace,打开一个新窗口

packketlogger将开始跟踪此配置文件安装的iOS设备上的所有蓝牙活动。在这个iOS设备屏幕的左上角,将显示一个脉冲图标(见下图)。这意味着跟踪正在进行中。

According to this session of WWDC 2019, the packetLogger can:

  • Work as a Bluetooth packet analysis application
  • Decode all protocols defined by the Bluetooth Special Interest Group * (SIG) and Apple
  • Perform rich filtering options
  • Search by text regex
  • Comment and flag packets
  • Export raw data for analysis
相关推荐
songgeb2 天前
启发式 UI 自动化:从线性剧本到每步读屏决策
ios·测试
壹方秘境5 天前
我用Go语言开发了一个跨平台的HTTPS抓包和调试工具
前端·后端·ios
wulechun10 天前
打造你的专属机器宠物:Py-Apple低成本四足机器人开源项目深度解析与全流程DIY实战指南
智能手机
2601_9547064910 天前
云手机技术详解+Python实战调用|2026高稳云手机平台推荐
开发语言·python·智能手机
初级代码游戏11 天前
easy Photo Clean公测版:快速清理iPhone照片 邀请公测
ios·iphone
百度搜知知学社11 天前
贝格手机罗盘2.8版:精准导航与功能升级全解析
智能手机·功能升级·手机罗盘·导航应用·版本解析
库奇噜啦呼11 天前
【iOS】RunLoop学习
学习·ios
xsc-xyc11 天前
用 Tailscale + Syncthing 实现手机、电脑与 NAS 的跨网络文件同步
linux·网络·网络安全·智能手机·电脑
黑科技iOS上架11 天前
iOS应用周末提交什么情况算卡审
经验分享·ios
wulechun11 天前
打造全栈人工智能知识图谱:深入解析Ai-Learn开源学习路线与实战资源导航指南
智能手机