openbt

所属分类:嵌入式Linux
开发工具:C/C++
文件大小:452KB
下载次数:169
上传日期:2005-09-15 21:16:25
上 传 者ymzhou
说明:  linux系统下的关于蓝牙模块的源代码!十分的经典的程序!
(A very classical source code of Bluetooth module under Linux system.)

文件列表:
openbt\Makefile (954, 2001-03-01)
openbt\init_env (302, 2001-10-21)
openbt\ChangeLog (242149, 2001-10-21)
openbt\linux\include\linux\bluetooth\bcsp_debug.h (2658, 2001-08-16)
openbt\linux\include\linux\bluetooth\bcsp.h (5544, 2001-09-18)
openbt\linux\include\linux\bluetooth\bluetooth.h (3770, 2001-09-18)
openbt\linux\include\linux\bluetooth\bt_errno.h (3617, 2001-10-17)
openbt\linux\include\linux\bluetooth\bt_proc.h (2135, 2001-02-16)
openbt\linux\include\linux\bluetooth\btcommon.h (17624, 2001-10-16)
openbt\linux\include\linux\bluetooth\btconfig.h (4524, 2001-08-01)
openbt\linux\include\linux\bluetooth\btdebug.h (6007, 2001-09-19)
openbt\linux\include\linux\bluetooth\btmem.h (3832, 2001-09-18)
openbt\linux\include\linux\bluetooth\hci.h (7137, 2001-10-05)
openbt\linux\include\linux\bluetooth\hci_internal.h (11116, 2001-10-02)
openbt\linux\include\linux\bluetooth\l2cap.h (12556, 2001-09-12)
openbt\linux\include\linux\bluetooth\l2cap_con.h (4281, 2001-04-27)
openbt\linux\include\linux\bluetooth\l2cap_internal.h (3036, 2001-02-16)
openbt\linux\include\linux\bluetooth\l2cap_sec.h (2614, 2001-02-16)
openbt\linux\include\linux\bluetooth\local.h (3485, 2001-08-01)
openbt\linux\include\linux\bluetooth\rfcomm.h (6638, 2001-10-10)
openbt\linux\include\linux\bluetooth\rfcomm_internal.h (2537, 2001-02-16)
openbt\linux\include\linux\bluetooth\rfcomm_sec.h (2709, 2001-02-16)
openbt\linux\include\linux\bluetooth\sdp.h (3974, 2001-10-10)
openbt\linux\include\linux\bluetooth\sec_client.h (3102, 2001-04-26)
openbt\linux\include\linux\bluetooth\sysdep-2.1.h (6656, 2001-09-19)
openbt\linux\include\linux\bluetooth\tcs.h (3438, 2001-02-16)
openbt\linux\include\linux\bluetooth\test.h (3063, 2001-10-17)
openbt\linux\include\linux\bluetooth\unplug_test.h (1909, 2001-10-17)
openbt\linux\include\linux\bluetooth (0, 2005-08-17)
openbt\linux\include\linux (0, 2005-08-17)
openbt\linux\include (0, 2005-08-17)
openbt\linux\drivers\char\bluetooth\Config.in (2201, 2001-07-31)
openbt\linux\drivers\char\bluetooth\LICENSE (18009, 2001-02-15)
openbt\linux\drivers\char\bluetooth\Makefile (2365, 2001-08-01)
openbt\linux\drivers\char\bluetooth\bcsp.c (7548, 2001-09-18)
openbt\linux\drivers\char\bluetooth\bcsp_datagram.c (4744, 2001-09-18)
openbt\linux\drivers\char\bluetooth\bcsp_integrity.c (6825, 2001-09-18)
openbt\linux\drivers\char\bluetooth\bcsp_mux.c (3896, 2001-09-18)
openbt\linux\drivers\char\bluetooth\bcsp_sequence.c (8444, 2001-09-21)
... ...

* sdp_server is used for searching the sdp database stored in the XML file sdp.xml. * How the data is stored in the XML file will be described bellow. * sdp_server needs the xml parser Expat to parse the XML file. HOW THE COMMUNICATION WITH THE BLUETOOTH STACK WORKS. ----------------------------------------------------- The communication with the bluetooth stack is done through read- and write operations on a proc-file. The format of the data sent and received through the proc-file is described in the .h-file sdp_proc_protocol.h in /include/linux/bluetooth/ HOW THE SDP DATA IS STORED IN THE XML FILE. ------------------------------------------- The XML-file is divided into three different sections. These sections is separated with the tags bluetoothSDP, SDPBrowsingRegister, SDPTranslationRegister. bluetoothSDP, is where the parameters for the different profile is stored. The profile data is then stored in the following way. LAN Access using PPP SDPBrowsingRegister, is where the names for the incoming hex-values can be found. It consists of three sub classes, Protocols, ServiceClasses, AttributeIdentifierCodes. All values is written as 16 bits UUIDs. SDPTranslationRegister, is where the hex-values for some of the parameters is found. All values are written with its proper data element header.

近期下载者

相关文件


收藏者