ÔÚǶÈëʽLinux¼°QT/Embedded
QTÊÇÄ¿Ç°ÔÚLinux²Ù×÷ϵͳƽ̨ÏÂÓ¦ÓÃ×î¶àµÄͼÐÎÓû§½çÃæµÄµ×²ã¿â£¬ÓÉÆäÅÉÉú³öµÄQT/Embedded´óÁ¿ÓÃÓÚǶÈëʽϵͳ¿ª·¢ºÍÑÐÖÆÖС£Êµ¼ÊÉÏ£¬QT/EmbeddedÌṩ¸øÓû§µÄ·ÇASCIIÂëµÄ×Ö¿âÒ»°ã±È½ÏÉÙ£¬ÔÚÎÒÃÇ¿ª·¢¹ý³ÌÖÐÓõÄǶÈëʽLinuxϵͳÖÐÖÐÎĺÍÈÕÎĵÄ×ֿⶼֻÓÐÒ»¸ö(²»Ë㲻ͬµÄÐýת½Ç)£¬ÆäÖл¹´æÔÚ×ÖÌå´óС²»Ò»ÑùµÄÎÊÌ⣬Òò´ËÔÚʵ¼Ê¿ª·¢¹ý³ÌÖÐÎÒÃÇÔÚ´¦ÀíÖÐÎÄ×ÖÌåÏÔʾʱ£¬×îÖÕʹÓÃÕâЩ¹¤¾ß¿ª·¢³öÀ´µÄÈí¼þµÄÓû§¾Í¾³£±§Ô¹×ÖÌåºÜÄÑ¿´£¬×ÖÌå´óСÓÐʱ¶¼²»Ò»Ö£¬Òò´Ë¶¨ÖÆ×Ô¼ºµÄ×ֿ⣬ÒÔ±ãʹµÃ×îÖÕÓû§Äܹ»¿´µ½Æ¯ÁÁµÄÖÐÎÄÏÔʾ£¬ÕâÊÇʹÓÃQT/Embedded¿ª·¢¸÷ÖÖ³ÌÐò¼±Ðè½â¾öµÄÒ»¸öÎÊÌâ¡£
1 ÈçºÎ¶¨ÖÆ×Ö¿â
¶¨ÖÆ×Ô¼ºµÄ×Ö¿âÐèÒªÐÞ¸ÄÁ½¸öÎļþ£¬Ò»¸öÊÇFONTDIR£¬ËüÊÇÓ¦ÓóÌÐòÑ°ÕÒµ±Ç°ÏµÍ³ÖÐ×îÊʺÏ×Ô¼ºÐèÒªµÄ×Ö¿âµÄË÷Òý;ÁíÒ»¸ö¾ÍÊÇ×Ö¿âÎļþÁË£¬¿ÉÒÔÓÐÒ»¸ö»òÕ߶à¸ö×Ö¿âÎļþ£¬×Ö¿âÎļþÊÇ×îÖÕÏÔʾµÄ×ÖµÄλͼ»òÕßʸÁ¿¡£ËüÃǶ¼±ØÐë·ÅÔÚĿ¼/usr/qt/lib/fontsÏÂ(»ùÓÚÎÒÃǵÄƽ̨QT/Embedded£¬ÆäËüƽ̨¿ÉÄÜÓÐÇø±ð£¬ÏÂͬ)¡£
1.1 FONTDIRµÄ¼ò½é
Ò»¸öµäÐ͵ÄFONTDIRÎļþµÄÄÚÈÝÈçÏÂËùʾ£º
fixed fixed_120_50.qpf QPF n 50 120
helvetica helvetica_80_50.qpf QPF n 50 80
helvetica helvetica_120_50.qpf QPF n 50 120 u
helvetica helvetica_120_75.qpf QPF n 75 120 u
helvetica helvetica_140_75.qpf QPF n 75 140
helvetica helvetica_180_75.qpf QPF n 75 180
ÎļþÖÐÿÐж¼±êʶһ¸öÌض¨µÄ×ֿ⣬ÿ¸ö¶ÎµÄº¬ÒåÊÇ£ºµÚÒ»ÁÐΪname£¬µÚ¶þÁÐΪfile£¬µÚÈýÁÐΪrenderer£¬Ï൱ÓÚ×ÖÐ͸ñʽ£¬ËùÒÔÓÐBDF£¬TTT£¬QPFµÈÑ¡Ôñ¡£µÚËÄÁÐn±íʾiitalic£¬±íʾÊÇ·ñΪбÌå×Ö¡£µÚÎåÁбíʾweight£¬ÆäÖÐ50±íʾNormal£¬75±íʾBold¡£µÚÁùÁбíʾsize£¬ÀýÈ磺120±íʾ12pt¡£µÚÆßÁÐΪflags£¬ÓÐÏÂÃæÈý¸öÑ¡Ôñ£ºs=smooth(anti-aliased)u =unicode range when saving (default is Latin 1 a = ASCII range when saving(default is Latin 1))
—— Õª×Բο¼ÎÄÏ×[1]
&nbs
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
±¾ÎÄÖ÷Òª½²ÊöÔÚLinux ϵͳÖÐÓû§(user)ºÍÓû§×é(group)¹ÜÀíÏàÓ¦µÄ¸ÅÄÓû§(user)ºÍÓû§×é(group)Ïà¹ØÃüÁîµÄÁо٣»ÆäÖÐÒ²¶Ôµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñÒ²×öÒÔ½â˵£¬±¾ÎÄÓ¦¸Ã˵ÊDZȽϻù´¡µÄÎĵµ¡£
Ò»¡¢Àí½âLinuxµÄµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñ¸ÅÄî
Linux ÊÇÒ»¸ö¶àÓû§¡¢¶àÈÎÎñµÄ²Ù×÷ϵͳ£»ÎÒÃÇÓ¦¸ÃÁ˽ⵥÓû§¶àÈÎÎñºÍ¶àÓ ......
ÔÚLinuxϵͳÉÏÃüÃûĿ¼µÄ·½Ê½ÊÇÏ൱ÒþÃصģ¬ÕâҪ׷Ëݵ½µçÄÔÓ²¼þ´¦ÀíÄÜÁ¦±È½ÏÈõ¶ø¼Û¸ñÓֱȽϹóµÄʱÆÚ¡£ÔÚLinuxϵͳÉÏÃüÃûĿ¼µÄ·½Ê½ËƺõÓе㱿׾£¬µ«ÓëÆäËûµÄÿ¼þÊÂÇéÒ»Ñù£¬ÕâÖ»Ð軨һЩʱ¼ä¼ÓÒÔÏ°¹ß¡£Í¨¹ýÃèÊöLinuxÎļþϵͳµÄÈ«¾°£¬Ê¹¶ÁÕß¿ÉÒÔ¶ÔLinuxµÄÎļþϵͳÓнÏÇå³þµÄÈÏʶ¡£
¸ùĿ¼(/)
¡¡¡¡Ä¿Â¼½á¹¹ÉϵÄ×î¸ßµã± ......