Chinaunix首页 | 论坛 | 博客
  • 博客访问: 829601
  • 博文数量: 168
  • 博客积分: 5431
  • 博客等级: 大校
  • 技术积分: 1560
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-22 11:56
文章存档

2015年(2)

2014年(1)

2013年(12)

2012年(12)

2011年(15)

2010年(5)

2009年(16)

2008年(41)

2007年(64)

分类: LINUX

2007-11-06 11:03:20

Bluetooth under Linux


介绍一下Linux下配置bluetooth的方法.

工具:
   
    hciconfig用于配置bluetooth设备(类似于ifconfig以及iwconfig的作用)。
   
    hcitool用于配置bluetooth连接相关的内容(类似于iwlist等等的作用);具体的使用方法可以查看manoage。

    hciattach连接串口设备(通过UART连接到bluez stack)

    l2ping相当于ping的作用。
配置文件:
    /etc/bluetooth/hci.conf

bluetooth的daemon进程:
    hcid(刷新配置的方法是hcid -f /etc/bluetooth/hci.conf)   
   
bluetooth相关的核心driver module:
    bluetooth
    rfcomm
    l2cap

基于bluez协议栈的资源:
   

     
阅读(909) | 评论(0) | 转发(0) |
0

上一篇:Linux touchpad related

下一篇:Linux pthread 编程

给主人留下些什么吧!~~