Linux³ÌÐòÉè¼Æ ÖÕ¶Ë
¶ÔÖն˽øÐжÁд
ÔÚ±àд³ÌÐòʱ£¬ÎÒÃÇÍùÍùÐèÒª´ÓÖն˶ÁÈëÊý¾Ý¡£Ò»ÖÖÇé¿öÊÇÐèÒªÁ¬ÐøµØ¶ÁÈëÓû§¼üÈëµÄÑ¡ÔñÏÕâÍùÍù³öÏÖÔÚÊý¾Ý¿â³ÌÐòÖС£³ÌÐòÔ±ÍùÍù»áʹÓÃ
getchar
º¯ÊýÀ´¶ÁÈ¡Êý¾Ý£¬¼Ì¶øÅжÏÊäÈëµÄÊý¾ÝÊÇ·ñÓÐЧ£¬´Ó¶ø×ö³ö·´Ó¦¡£ÆäʵÈç´Ë×ö´øÓкܴóµÄ·çÏÕ£¬Ò»¸öʵÀý³ÌÐòÈçÏÂ
#include <stdio.h>
char *menu[] = {
"a - add new record",
"d - delete record",
"q - quit",
NULL
};
int getchoice(char *choices[]){
int chosen = 0;
int selected;
char **option;
do {
option = choices;
while(*option){
printf("%s\n", *option);
option++;
}
selected = getchar();
option = choices;
while(*option){
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
¶ÔÓÚϵͳ¶øÑÔ£¬ÎÒÃÇ¿ÉÒÔÓкܶàÖְ취ȥ±¸·Ý£¨»¹Ô£©ÏµÍ³»òÎļþ£¬Ö®ËùÒÔҪȥ×ö±¸·Ý£¬¾ÍÊÇΪÁËÔÚϵͳ»òÎļþÔâµ½Ëðº¦Ê±£¬Äܼ°Ê±»Ö¸´£¬°ÑËðʧ¼õСµ½×î
С¡£µ±È»£¬¶ÔÓÚÆóÒµ·þÎñÆ÷¶øÑÔ£¬±¸·ÝµÄÖØÒªÐÔÊǾÙ×ãÇáÖØ¡£ÔÛÃǽñÌì¾ÍÏêϸÌÖÂÛÒ»ÏÂLINUXÖÐÈçºÎÓÃdumpºÍrestoreʵÏÖ±¸·ÝºÍ»¹Ô¡£
Ò»£¬dumpµÄÔÀí£¬Óŵ㼰ÏÞÖÆ
dumpºÍrestoreÄ ......
±àÖÃÄں˰üº¬Á½´óÏîÄÚÈÝ£¬¼´ÅäÖÃÄں˺ͱàÒëÄںˡ£ÕâÁ½Ï×÷ÐèÒª¾³£²é¿´Äں˵ÄÎĵµ,ÖÁÉÙÒª²é¿´ReadmeÎļþºÍDocumentationĿ¼ÏµÄChangesÎļþ¡£ËüÃǶÔÄں˽øÐÐÁËÃèÊö£¬±ÈÈçÉý¼¶Äں˿ÉÄܳöÏÖµÄÎÊÌâºÍÄں˶ÔϵͳÖй¤¾ßµÄ°æ±¾ÒªÇóµÈ¡£
1£¬Ê×ÏÈÐèÒª½«ÄÚºËÔ´ÂëÏÂÔØµ½/usr/src/Ŀ¼ÏÂÃæ£¬½âѹºó ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
ÔÚÎÒÃǹúÄÚ£¬²»ÉÙ
Linux
µÄÏÈÐÐÕß¶¼ÒÔʧ°Ü¶ø¸æÖÕ£¬ÏÖÔÚ£¬ËûÃÇÔÚÄÄÀÔõô²»³öÀ´Ëµ»°ÁË£¿µ«ÊÇ£¬ÕâЩÏÈÐÐÕßÏë¸æËßÎÒÃÇÊ²Ã´ÄØ£¿ÄãÏëÖªµÀÂð£¿
¸ã ......