LinuxÍø¹Ü±Ê¼Ç£¨£±£µ£©£ºÓëLinuxÏà¹ØµÄ½Ó¿Ú²âÊÔ
ΪÁËÍ»³ö½²½âµÄ·½±ãÐÔ£¬ÎÒ°ÑÒÔÇ°¹¤×÷ÖÐÕä²ØµÄһЩʵÑé¹ý³Ì¹±Ï׸ø´ó¼Ò¡££¨Î´¾ÔÊÐí£¬ÇëÎðתÔØ£© Ò»£®ÊµÑéÄ¿µÄ 1. Á˽âLinux²Ù×÷ϵͳµÄÆô¶¯ÓëµÇ¼·½·¨ 2. ÕÆÎÕ³£ÓÃRed Hat LinuxÃüÁîµÄʹÓ÷½·¨£¬ÕÆÎÕͼÐÎÓû§½çÃæϵĻù±¾²Ù×÷ 3. Á˽âLinuxÃüÁîÖвÎÊýÑ¡ÏîµÄÓ÷¨ºÍ×÷Óà 4. ÊìϤ²Ù×÷ϵͳµÄÃüÁî½Ó¿Ú¡¢Í¼ÐνӿںͳÌÐò½Ó¿ÚµÄÇø±ðÓëÁªÏµ 5£®Á˽âÃüÁîÐкͼ¯³É»·¾³ÏÂC³ÌÐòµÄ±àд¼°ÔËÐз½·¨ ¶þ£®ÊµÑ鹤¾ßÓëÉ豸 ÒÑ°²×°Linux²Ù×÷ϵͳµÄ¼ÆËã»ú²¢Í¨¹ýÍøÂçÓëLinux·þÎñÆ÷Á¬½Ó¡£ Èý£®ÊµÑéÄÚÈÝ 1£®ÊìϤ¿ª»úºóµÇ¼½øÈëLinuxϵͳºÍÍ˳öϵͳµÄ¹ý³Ì ÒÔÊʵ±µÄÓû§ÃûÔÚ×°ÓÐLinuxϵͳµÄ¼ÆËã»úÖеǼLinuxϵͳ¡£ £¨1£©µÇ¼ ¿ªÆô¼ÆËã»úµçÔ´£¬¼ÆËã»ú½øÐÐÆô¶¯¹ý³Ì£¬Èç¹û°²×°ÁËX Windows£¬ÏµÍ³Æô¶¯Ê±×Ô¶¯Æô¶¯X Windows£¬X WindowsµÄµÇ¼ÔÚͼÐνçÃæϽøÐС£Í¼1-1ËùʾÊÇGNOMEµÄµÇ¼½çÃ棬Ôڲ˵¥ÖÐÑ¡ÔñºÏÊʵÄÓïÑÔ£¨Language£©ºÍ»á»°£¨Session£©£¬·Ö±ðÊäÈëÓû§Õ˺ţ¨Èçroot£©ºÍÓû§ÃÜÂëºó£¬ÏµÍ³½øÈëͼÐÎÓû§½çÃæ¡£ ͼ1-1 GNOMEµÄµÇ¼½çÃæ ÈôûÓа²×°X Windows£¬»òÓÉÓÚÏÔʾ¿¨µÈÔÒò²»ÄÜÆô¶¯X Windowsʱ£¬¿ÉÒÔÔÚ×Ö·û½çÃ棨Ìáʾ·û״̬£©µÇ¼Linux¡£µ±ÏµÍ³Æô¶¯µ½³öÏÖÌáʾLogin£ºÊ±£¬ÊäÈëÓû§Õ˺ţ¬°´»Ø³µ¼ü£¬³öÏÖPasswordʱ£¬ÊäÈëÓû§ÃÜÂ룬°´»Ø³µ¼ü£¬¼´ÒÔ×Ô¼ºµÄÓû§ÃûµÇ¼µ½LinuxϵͳÖÐÁË¡£ ´Ó×Ö·û½çÃæµÇ¼Linuxϵͳºó£¬»¹¿ÉÒÔÓÃÒÔÏÂÃüÁîÆô¶¯X Windows£º [root@localhost /root]# startx ÔÚͼÐÎÓû§½çÃæÏ£¬Ò²¿ÉÒÔ²»Í˳öX WindowsÖ±½Ó½øÈëÌáʾ·û״̬ʹÓÃLinuxÃüÁÔÚ¡°Ö÷²Ëµ¥¡±ÖÐÑ¡Ôñ¡°ÏµÍ³¹¤¾ß¡úÖնˡ±Ñ¡Ïµ¯³öÈçͼ1-2Ëùʾ´°¿Ú£¬Ôڸô°¿ÚÖпÉÒÔʹÓÃ×Ö·ûÃüÁî¡£ £¨2£©¿ªÊ¼²Ù×÷ ÔÚ×ÀÃæË«»÷¡°´ÓÕâÀ↑ʼ¡±Í¼±ê£¬´ò¿ª¡°Nautilus¡±£¨Start Here£©´°¿Ú£¬Èçͼ1-3Ëùʾ¡£¸Ã´°¿ÚÓС°Ó¦ÓóÌÐò¡±¡¢¡°ÏµÍ³ÉèÖá±¼°¡°Ê×Ñ¡Ï3¸öͼ±ê£¬°üº¬ÁËRedhat Linux 9.0ÖÐ×î³£ÓõŦÄÜ¡£ ͼ1-2 GNOMEµÄÖն˷ÂÕæ³ÌÐò£¨Terminal Emulation Program£© ͼ1-3 GNOMEÖеġ°Start Here¡±´°¿Ú £¨3£©´´½¨Óû§Õ˺Šһ°ãÇé¿öϲ»Ó¦Ö±½ÓÓÃrootÕ˺ŽøÐвÙ×÷¡£ÔÚLinuxÖУ¬¿ÉÒÔΪÿһλÓû§´´½¨Ò»¸ö
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ 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 ......
¡¶Unix/LinuxϵÄCurses¿â¿ª·¢Ö¸ÄÏ¡·ÓÚ2003ÄêÓÉÇ廪³ö°æÉç³ö°æ£¬ºÏͬÔÚ2008Äê½áÊø¡£ÕâÊǹúÄÚΨһµÄÒ»±¾¹ØÓÚCurses¿â¿ª·¢Ö¸ÄϵÄͼÊé¡£±¾ÊéÎÞÒâÔٰ棬Òò´ËÌØÒ⹫¿ªÈ«ÊéÄÚÈÝ£¬ËùÓеÄÕ½ڻáÖ𽥷ųö¡£Ï£Íû¶Ô´ó¼ÒÓÐÓᣠ......
ÍøÂç³ÌÐòºÍÆÕͨ³ÌÐò×î´óµÄÇø±ð¾ÍÊÇ,ÍøÂç³ÌÐòÊÇÓÉÁ½²¿·Ö×é³ÉµÄ--server/client.Ò»°ãÇé¿öÏÂ,ÊÇÏÈÔËÐÐserver¶ËÉϵijÌÐò,È»ºóµÈ´ýclient¶ËÉϵijÌÐòÔËÐв¢½¨Á¢Á¬½Ó,server¶ËÉϵijÌÐòÔÚÒ»¸ö¶Ë¿Ú¼àÌý,µÈ´ýclient¶Ë·¢À´µÄÇëÇó.
int socket(int domain,int type,int protocol)
domain:˵Ã÷ͨѶ³ÌÐòËùÔÚÖ÷»úËù²ÉÓõÄͨѶÐÒéÀ ......