Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ubuntu Linux 8.04À¶ÑÀÉ豸Á¬½Ó¹ÜÀí·½·¨

1.Æô¶¯À¶ÑÀÉ豸
sudo /etc/init.d/bluetooth restart
»òÕß
sudo /etc/init.d/bluez-utils restart
 
2.ʹÓÃhcitool dev²é¿´¼ÆËã»úÉϵÄÀ¶ÑÀÉ豸
teapot@teapot:~$ hcitool dev
Devices:
hci0 00:16:CF:DB:B4:BF
teapot@teapot:~$
 
3.°²×°É豸
²éѯÉ豸µØÖ·
teapot@teapot:~$ sudo hidd --search
Searching ...
No devices in range or visible
Èç¹ûsudo hidd --searchûÓÐËÑË÷µ½£¬»»hcitool scanËÑË÷
ÎÒµÄT60 ʹÓÃhcitool scanËÑË÷µ½ÊÖ»úµÄÀ¶ÑÀ
teapot@teapot:~$ hcitool scan
Scanning ...
00:1D:E9:30:CE:55 PZF # ÕâÊÇÎÒµÄÊÖ»ú
 
teapot@teapot:~$ sudo hidd --connect 00:1D:E9:30:CE:55
teapot@teapot:~$ sudo hidd --show
teapot@teapot:~$
ûÓдíÎóÌáʾ£¬Ò²Ã»ÓÐÁ¬½Ó£¬²»ÖªµÀÔõô»ØÊÂÁË!
 
teapot@teapot:~$ sudo hcitool cc 00:1D:E9:30:CE:55
teapot@teapot:~$ sudo hcitool con
Connections:
teapot@teapot:~$
 
# ÕâʱÔÚÀ¶ÑÀ¹ÜÀíÆ÷µÄä¯ÀÀÉ豸Öз¢ÏÖÁËPZF
# ½¨Á¢Åä¶Ô
# Ôٲ鿴Á¬½Ó
 
teapot@teapot:~$ sudo hcitool con
Connections:
< ACL 00:1D:E9:30:CE:55 handle 11 state 1 lm MASTER ENCRYPT


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

linux ϸ÷ÖÖѹËõ¸ñʽµÄ½âѹºÍѹËõ

 £¨ËùÓеÄ#²»ÊÇÒªÊäÈëµÄÃüÁÊǶÔĿ¼µÄÊ¡ÂÔ£¬Îļþ¼ÐÒªºÍ¶ÔÓ¦µÄĿ¼Ïàͬ Èç ÄãµÄÎļþ¼Ð·ÅÔÚÁËdowload Ï£¬¾ÍÒª»Øµ½dowloadĿ¼Ï£¬Ò»°ãÎļþ¼ÐµÄÃüÃû²»ÒªÓúºÓ
¶ÔÓÚ¸Õ¸Õ½Ó´¥LinuxµÄÈËÀ´Ëµ£¬Ò»¶¨»á¸øLinuxÏÂÒ»´ó¶Ñ¸÷ʽ¸÷ÑùµÄÎļþÃû¸ø¸ãÔΡ£±ð
¸ö²»Ëµ£¬µ¥µ¥¾ÍѹËõÎļþΪÀý£¬ÎÒÃÇÖªµÀÔÚWindowsÏÂ×î³£¼ûµÄѹËõÎļþ¾ÍÖ ......

LINUXµÄÈȲå°Î»úÖÆ£¨¾­µäÎÄÕ£©

 linuxµÄÈȲå°ÎÊÇGreg Kroah-Hartmanά»¤£¬ËùÒÔÕâÊÇÆª¾­µäÎÄÕ¡£Èç¹ûÄãÓÐUSB»òÕßPCIÉ豸Çý¶¯¿ª·¢»ù´¡£¬Ò»¶Á¾Í¿ÉÒÔÀí½â¡£
Hot-pluggable devices have been created to solve a number of user needs. On laptop computers, PCMCIA devices were designed to allow the user to swap cards while the computer was sti ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ