开发者

how can i see raw serial data from a bluetooh connection on a mac?

开发者 https://www.devze.com 2023-01-04 05:40 出处:网络
I want to see the data flow 开发者_JAVA技巧from a connected bluetooth device.I figure I should be able to see the raw data in the terminal somehow, but I cannot seem to find out how to do this.I\'m ru

I want to see the data flow 开发者_JAVA技巧from a connected bluetooth device. I figure I should be able to see the raw data in the terminal somehow, but I cannot seem to find out how to do this. I'm running Snow Leopard on a MacBook

Thanks.


I've only done this on Linux, but it should be possible with a MACBook (It runs BSD AFAIK) but here goes:

If you can get to a shell prompt AND if you have the Bluez utilities

just type

hcidump -X

at a prompt.

0

精彩评论

暂无评论...
验证码 换一张
取 消