14
  1. Sniff Mode不是每个host端都支持的功能,是否支持通过LMP Features查询;
  2. Sniff Mode是蓝牙连接状态下的一种模式,另外两种是Active  Mode和Hold模式;
  3. 没有蓝牙连接的时候,蓝牙设备处于Standby状态。在建立连接的过程中,有page, page scan, inquiry, inquiry scan, master response, slave response, 和 inquiry response等七个子状态。
  4. 在连接状态下,还有可能进入Park Mode。
  5. Sniff Mode由Master设备通过LMP来发出指令。所以,Role Switch功能必要性可从此看出一斑。

Continue reading »

Tagged with:
12
1. 蓝牙产品分为以下几类(自己回忆用,非正式定义):

注:每个协议至少实现了那些mandatory requirements。

• Bluetooth End Product:至少含有Radio,BB,LM,L2CAP,SDP,GAP协议实现的产品。

• Bluetooth Host Subsystem Product:只实现了HCI以上至少L2CAP,GAP,SDP协议及一些Profile的产品;

• Bluetooth Controller Subsystem Product:只实现了HCI以下的,有可能还包括AMP协议的产品;

• Bluetooth Profile Subsystem Product:实现了至少1种Profile的所有必须要实现的协议条款。

• Bluetooth Component Product:为配合End Product或者Subsystem Product工作,实现了部分协议的产品;

• Bluetooth Development Tool

• Bluetooth Test Equipment

Continue reading »

Tagged with:
05

【注】下面是我参考文章http://tieba.baidu.com/f?kz=568252843所做更新,应该比原来的内容更新一些。有什么不足,请大家补充。

蓝牙技术版本

  1)蓝牙目前暂时共有五个版本 V1.1/1.2/2.0/2.1/3.0。
  2)以通讯距离来在不同版本可再分为 Class A(1)/Class B(2)。

Continue reading »

Tagged with:
13

When I tried to complile BlueZ 4.42 on Fedora 10, I met a error message:

/bin/sh ../libtool –tag=CC   –mode=link gcc -fvisibility=hidden -I../sbc -I../include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../gdbus -Wall -O2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fPIC  -pie -o ipctest ipctest.o libipc.la ../sbc/libsbc.la -lglib-2.0
libtool: link: cannot find the library `../sbc/libsbc.la’ or unhandled argument `../sbc/libsbc.la’

Continue reading »

Tagged with:
08

Good questions and answers on BlueZ BQB.

Continue reading »

Tagged with:
06

1. Execute the following command “hcitool scan” and get the MAC address of the BT device.

2. Create .asoundrc file in the home Directory: vi ~/.asoundrc .

pcm.bluetoothraw {
          type bluetooth
}
pcm.bluetooth{
          type plug
          slave{
                      pcm bluetoothraw
          }
}

3. Restart OS or restart bluetooth; 
4. Use the Following command to make rhythm box  to work

“gconftool -t string -s /system/gstreamer/0.10/default/musicaudiosink “alsasink buffer-time=6000000 latency-time=1000000 device=bluetoothraw” ”
• Cross verify by selecting systempreferencesound
• See the playback option for Music and movies  it should be ALSA(custom)
• Play the song.
• gstreamer extra and gstreamer ffmpeg video plug-ins required for mp3 play. This will be taken care by rhythm box tool.
• For AVRCP, include uinput in /etc/modules and reboot and try again.

Tagged with:
23

    只有Bluetooth SIG的会员才有权将Bluetooth的商标使用在商品和服务上。只有通过Bluetooth资格认证程序确认的有关Bluetooth无线技术的产品和服务,会员才能将商标用在产品和服务上。蓝牙资格认证实验室(BQTF)和蓝牙资格认证专家(BQE)可以协助厂商取得产品的资格认证。

Continue reading »

Tagged with:
16

Environment:

  • Ubuntu 8.10 kernel 2.6.27.10
  • BlueZ 4.40

Symptom:

Use Motorola H710 to connect BlueZ, it will make authority verification 2 times. The reason of failure at the first time is caused by this swapper Not tainted error. This error will report as following error in application level:

bluetoothd[6196]: accept_cb HUP or ERR on socket
bluetoothd[6196]: headset_close_rfcomm g_io_channel_shutdown

Continue reading »

Tagged with:
08

Hcidump tool is provided by BlueZ and is a good tool to help developers to analysis protocol issues of Bluetooth for BlueZ stack.

Currently, the most useful option for me is ’sudo hcidump -XtV’. I used this tool to locate a PAN issue between 2 Ubuntu 8.10 PC. The problem is that it will report ‘Connection refused(111)” when try to use PAN profile.

Continue reading »

Tagged with:
02

Some note on source code of BlueZ kernel module.

Continue reading »

Tagged with:
preload preload preload

京ICP备08000145号