[»Ø¹Ë]Ç廪ÉêÇëÍËѧ²©Ê¿×÷Æ·£ºÍêÈ«ÓÃLinux¹¤×÷
°´: ¾¡¹ÜÎÒÃÇÒѾ²»Ï°¹ß¿´³¤Æª´óÂÛ, µ«ÎÒ»¹ÊÇҪ˵, ÕâÊÇһƪֵµÃÄã´ÓÍ·¶Áµ½Î²µÄ³¤ÆªÎÄÕÂ.
2005Äê9ÔÂ22ÈÕ£¬Ç廪ÔÚ¶Á²©Ê¿ÉúÍõÛóÔÚˮľÉçÇøBLOGÉÏ·¢±íÁË¡¶Ç廪ÃεķÛËé--д¸øÇ廪´óѧµÄÍËѧÉêÇë¡·Ã÷È·ÒªÇóÍËѧ, ÒýÆðÉç»á¸÷½ç¹ã·ºÕùÂÛ. Ëû´´×÷µÄ³¤ÆªÎÄÕ¡¶ÍêÈ«ÓÃLinux¹¤×÷¡·, ÑóÑóÁ½Íò¶à×Ö, ´Ó²»Í¬½Ç¶È¾Ó¸ßÁÙϵIJûÊöÁËËûÑÛÖÐLinuxÍêÈ«ÓÅÔ½ÓÚWindowsµÄ¸÷ÖÖÀíÓÉ, ÕâƪÎÄÕ²¢²»¼òµ¥µÄÊÇһƪÂÛÊö"WindowsÄÜ×öµÄÊÂLinux¶¼ÄÜ×ö"ÕâÑùµÄÎÄÕÂ, ͨƪÑóÒç×ÅÒ»¸ö³¹µ×ÅúÅÐ Windows ƽ̨»ù´¡µÄ¼ÆËã»úÕÜѧ, ¼ÆËã»úÓ¦ÓúͼÆËã»ú½ÌÓýÌåϵµÄÈ˵ÄÍòÕɺÀÇé, ¾¡¹Ü¿ÉÄÜÆ«¼¤, Ò²²»·¦ÏêϸµÄÍÆÀíÂÛÊö. ½ñÌìÎÒÃÇÖØα¾ÎÄ, Ò»·½ÃæÒ²ÊÇÒòΪCBÉÏϲ°®ºÍÍƹãLinuxµÄÈËÊ¿ºÜ¶à, ÓÐʱҲ»á±¬·¢Ð¡¹æÄ£ÂÛÕ½, ÎÒÃÇÏ£ÍûÄÜͨ¹ý¶Ô±¾ÎĵÄÑо¿ÓëÌÖÂÛ, À´¿ú²â¹úÄÚ²¿·ÖLinuxÍƹãÕßµÄÐÄ̬, ͬʱΪ´ó¼ÒÌṩ¸ü¿í¹ãµÄÌÖÂÛ¿Õ¼ä.
ÎÒÒѾ°ëÄêûÓÐʹÓà Windows µÄ·½Ê½¹¤×÷ÁË¡£Linux ¸ßЧµÄÍê³ÉÁËÎÒËùÓеŤ×÷¡£
GNU/Linux ²»ÊÇÿ¸öÈ˶¼ÏëÓõġ£Èç¹ûÄãÖ»ÐèÒª´¦ÀíÒ»°ãµÄÊÂÎñ£¬´òÓÎÏ·£¬ÄÇôÄã²»ÐèÒªÁ˽âÏÂÃæÕâЩÁË¡£
ÎÒ²»ÊÇÒ»¸ö¿ñÈȵÄ×ÔÓÉÈí¼þ·Ý×Ó£¬ËäÈ»ÎÒºÜϲ»¶×ÔÓÉÈí¼þ¡£ÕâƪÎÄÕÂÒ²²»ÊÇÓÃÀ´ÍÆÐÐ×ÔÓÉÈí¼þÔ˶¯µÄ£¬ËäÈ»ÎÒ¾õµÃ×ÔÓÉÈí¼þÔ˶¯ÊǷdz£ºÃµÄ¡£
ÕâƪÎÄÕÂÒ²²»ÊÇÓÃÀ´±È½Ï Linux ºÍ Windows ÄÚºËЧÂÊ£¬Îļþϵͳ£¬ÍøÂç·þÎñµÄ¡£ÎÒÏÖÔÚÊÇ×÷Ϊһ¸öÓû§¶ø²»ÊÇÒ»¸ö¿ª·¢ÕßÀ´Ëµ»°µÄ£¬ÎÒÃǵÄÌÖÂÛÊÇ»ùÓÚ²Ù×÷£¬Ó¦ÓòãÃæµÄ¡£ÊÇΪÁ˸æËß´óѧÀﻹ²»Á˽⣬»òÕß²»Àí½â UNIX µÄ¿Æѧ¹¤×÷ÕߺʹóѧÉú£¬UNIX ±È Windows ¸üÊʺÏÓÃÓÚ¿ÆѧÑо¿¹¤×÷£¬Çë´ó¼ÒÀí½â UNIX µÄ¹¤×÷·½Ê½£¬²»ÒªÓà Windows µÄ±ê×¼À´ÒªÇó Linux£¬¶øÒªÓÃÒ»¸ö¿Æѧ¹¤×÷Õߵıê×¼À´ÒªÇó×Ô¼º£¬ÓÃUNIX µÄ˼ÏëÀ´Îä×°×Ô¼º¡£
ÎÒÏÔÈ»ÊÇ·´¶ÔÔÚ´óѧ£¬ÌرðÊÇÀí¹¤¿ÆרҵÍƹã Windows µÄ¡£ÎÒÒ²·´¶ÔÔÚ¶Ô"ÍÞÍÞ"ÃǵļÆËã»úÆôÃɽÌÓýÖÐʹÓà Windows¡£ÒòΪ Windows ²»ÂÛ´Ó¼¼ÊõÉÏ£¬¾¼ÃÉÏ£¬Ë¼Ïë·ç¸ñÉ϶¼ÊÇÓëÎÒÃÇÅàÑø¸ß¿Æ¼¼È˲ŵÄÄ¿±ê¸ñ¸ñ²»ÈëµÄ¡£Windows µÄÁ÷ÐÐÊôÓÚÀúÊ·ÒÅÁôÎÊÌ⣬үүһ¼¶µÄÈ˵±È»ÒѾ²»¿É¾ÈÒ©£¬µ«ÊÇÎÒÃDz»Ó¦¸ÃÈÃÏÂÒ»´ú¼ÌÐø×ßÉÏÆç;¡£
UNIX ²»ÊǼÆËã»úר¼ÒµÄרÀû
µ±ÎÒ½¨ÒéһЩ·Ç¼ÆËã»úרҵµÄÈËÓà Linux µÄʱºò£¬ºÜ¶àÈË˵£º"UNIX ÊǼÆËã»úϵµÄÈËÓõģ¬ÎÒÃDz»ÄÜÀí½â¡£" "UNIX ÊÇÄк¢Óõģ¬ÎÒÃÇÅ®º¢²»Óá£"
µ«ÊÇÆäʵÊÀ½çÉϵĴó¶àÊý¿Æѧ¼ÒºÍ¹¤³Ìʦ¼¸ºõÓõĶ¼ÊÇ UNIX ×÷ΪËûÃǵĵçÄÔ¹¤¾ß¡£¾ÍÒòΪËü¼òµ¥£¬¿É¿¿£¬Îȶ¨£¬Ç¿´ó£¬ÓÐȤ¡£ÉõÖÁºÜ¶àʱºò UNIX ¾ÍÊÇΨһµÄÑ¡Ôñ¡£
Ä
Ïà¹ØÎĵµ£º
ÓÐÁ½ÖÖÉèÖû·¾³±äÁ¿ PATH µÄ·½·¨¡£µÚÒ»ÖÖÊÊÓÃÓÚΪµ¥Ò»Óû§ÉèÖà PATH£¬µÚ¶þÖÖÊÇΪȫ¾ÖÉèÖà PATH¡£
1.ÔÚÓû§Ö÷Ŀ¼ÏÂÓÐÒ»¸ö .bashrc Îļþ£¬¿ÉÒÔÔÚ´ËÎļþÖмÓÈë PATH µÄÉèÖÃÈçÏ£º
export PATH=”$PATH:/your path1/:/your path2/…..”
×¢Ò⣺ÿһ¸ö path Ö®¼äÒªÓà “:“ ·Ö¸ô¡£
× ......
Õâ¸öÎÊÌâ¸ãÁ˺ܳ¤Ê±¼ä£¬Ò²ÔÚÍøÉϲéÁ˺ܶණÎ÷£¬ÏÖÔÚÂýÂýµÄÀ´ÕûÀíÒ»ÏÂ
vmware°²×°ºÃÒԺ󣬻á×Ô¶¯Ìí¼ÓÁ½ÕÅÍø¿¨£¨vmnet1ºÍvmnet8£©£¬Õû¸ö»úÆ÷µÄ½á¹¹¾Í¿ÉÒÔ³éÏó³É£ºÐéÄâ»úϵͳ£¨ÐéÄâÍø¿¨vmnet0)¨D¨D£¨vmnet1 vmnet8£©¨D¨Dʵ¼Êϵͳ(Íø¿¨)¡£
1.VmwareµÄÍø¿¨ÉèÖÃ
(1)Bridged£¨ÇŽӣ©·½Ê½
&n ......
×ܽ᣺
zhy2111314
À´×Ô£º
LinuxSir.Org
ÕûÀí£º
±±ÄÏÄϱ±
ͻ񻣼
±¾ÎÄÊÇfind ÃüÁîµÄÏêϸ˵Ã÷£¬¿É¹óµÄÊÇÕë¶Ô²ÎÊý¾ÙÁ˺ܶàµÄʵÀý£¬´óÁ¿µÄÀýÖ¤£¬ÈóõѧÕ߸üΪÈÝÒ×Àí½â£»±¾ÎÄÊÇzhyflyÐÖÌùÔÚÂÛ̳ÖУ»ÎÒ¶Ô±¾ÎĽøÐÐÁËÔÙ´ÎÕûÀí£¬Îª·½±ã´ó¼ÒÔĶÁ£»
Ŀ¼
°æȨÉùÃ÷
Ç°ÑÔ£º¹ØÓÚfindÃüÁî
Ò»¡¢find ÃüÁî¸ñʽ
1¡¢findÃüÁîµÄÒ» ......
Ç°Ãæ½²ÁËʹÓà ioctl·¢ËÍHCI CommandµÄ·½·¨¡£µ«HCI protocol»¹ÓÐһЩCommand£¬±ÈÈçInquiryµÈ£¬ËûÃÇÔò²»ÐèҪʹÓÃioctlÀ´·¢ËÍ¡£blueZ Ö±½ÓÌṩÁËÖ§³Ö£¬ËäÈ»ËûÃǵÄ×îÖÕ¶¼ÊÇÓÃͬÑù°ì·¨ÊµÏֵġ£
ÔÚÓ¦ÓóÌÐòÖУº
hci_inquiry(dev_id, length, num_rsp, NULL, &info, flags);
ÕâÑùÐèÒª°üº¬blueZ Í·ÎļþÈçÏ£º
#include //BT ......