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
相关推荐
啦啦9117141 天前
安卓手机/平板/TV版 Rotation强制横屏显示工具!免ROOT可用!再推荐突破手机限制的3款神器
android·智能手机·电脑
ajassi20001 天前
开源 Objective-C IOS 应用开发(十四)传感器--陀螺仪和gps
ios·开源·objective-c
二流小码农1 天前
鸿蒙开发:支持自定义组件的跑马灯
android·ios·harmonyos
2501_915106321 天前
iOS 抓包全流程指南,HTTPS 抓包、TCP 数据流分析与多工具协同的方法论
android·tcp/ip·ios·小程序·https·uni-app·iphone
3***49962 天前
Swift Experience
开发语言·ios·swift
xiaocao_10232 天前
鸿蒙手机上有没有轻便好用的备忘录APP?
华为·智能手机·harmonyos
疯笔码良2 天前
【IOS开发】Objective-C 与 Swift 的对比
ios
阿斌_bingyu7092 天前
uniapp实现android/IOS消息推送
android·ios·uni-app
QuantumLeap丶2 天前
《Flutter全栈开发实战指南:从零到高级》- 15 -本地数据存储
flutter·ios·dart
非专业程序员2 天前
精读GitHub - swift-markdown-ui
ios·swiftui·swift