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
相关推荐
张较瘦_11 分钟前
[论文阅读] 人工智能 + 软件工程 | 大模型破局跨平台测试!LLMRR让iOS/安卓/鸿蒙脚本无缝迁移
论文阅读·人工智能·ios
m0_6410310510 小时前
在选择iOS代签服务前,你必须了解的三大安全风险
ios
开开心心loky11 小时前
[iOS] push 和 present Controller 的区别
ui·ios·objective-c·cocoa
点灯小铭11 小时前
基于STM32单片机的智能粮仓温湿度检测蓝牙手机APP设计
stm32·单片机·智能手机·毕业设计·课程设计
双翌视觉11 小时前
机器视觉的手机柔性屏贴合应用
智能手机·自动化·视觉检测·机器视觉
chinesegf11 小时前
手机能看、投屏 / 车机不能看与反向链接验证类似吗?
智能手机
wanhengidc13 小时前
云手机运行流畅,秒开不卡顿
运维·网络·科技·游戏·智能手机
白玉cfc16 小时前
【iOS】push,pop和present,dismiss
macos·ios·cocoa
低调小一17 小时前
iOS 开发入门指南-HelloWorld
ios
2501_9159184117 小时前
iOS 开发全流程实战 基于 uni-app 的 iOS 应用开发、打包、测试与上架流程详解
android·ios·小程序·https·uni-app·iphone·webview