[英]Enabling Bluez Kernel Logs in Android source code
I am working on Bluetooth application and need to get the native Bluez stack. 我正在开发蓝牙应用程序,需要获取本机Bluez堆栈。
Can any one give any pointers to do so? 任何人都可以提供指示吗? I have complete source code with me so if I need to modify any file and build the code again then that will also help.
我已经有了完整的源代码,因此,如果我需要修改任何文件并再次构建代码,那也将有所帮助。
Thnaks in Advance. 提前致意。
Swapnil 斯瓦普尼尔
Open ADB command prompt and type the following sequence of commands: 打开ADB命令提示符并键入以下命令序列:
Mount debugfs interface adb shell "mount -t debugfs debugfs /sys/kernel/debug" 挂载debugfs接口adb shell“挂载-t debugfs debugfs / sys / kernel / debug”
Enable Debug logs for the module adb shell "echo -n \\"file +p\\" > /sys/kernel/debug/dynamic_debug/control" 为模块adb shell“ echo -n \\” file + p \\“> / sys / kernel / debug / dynamic_debug / control”启用调试日志
Save Kernel Logs adb shell "cat /proc/kmsg > sdcard/myl2cap.log" 保存内核日志adb shell“ cat / proc / kmsg> sdcard / myl2cap.log”
Cheers 干杯
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.