| Çϵå¿þ¾î :: Portscanner. ¿äû ¹× ¿¹»ó ÀÀ´ä ¸Þ½ÃÁö¸¦ »ç¿ëÇÏ¿© ´Ù¾çÇÑ COM Æ÷Æ®, Àü¼Û ¼Óµµ ¹× ¼³Á¤¿¡¼ Çϵå¿þ¾î ÀåÄ¡¸¦ ã±â À§ÇØ Á÷·Ä Æ÷Æ® ½ºÄµ |
Áö±Ý ´Ù¿î·Îµå |
Çϵå¿þ¾î :: Portscanner. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~galileo/
Çϵå¿þ¾î :: Portscanner. ű×
Çϵå¿þ¾î :: Portscanner. ¼³¸í
Á÷·Ä Æ÷Æ®¸¦ ½ºÄµÇÏ¿© ¿äû ¹× ¿¹»ó ÀÀ´ä ¸Þ½ÃÁö¸¦ »ç¿ëÇÏ¿© ´Ù¾çÇÑ COM Æ÷Æ®, Àü¼Û ¼Óµµ ¹× ¼³Á¤¿¡¼ Çϵå¿þ¾î ÀåÄ¡¸¦ ã½À´Ï´Ù. Çϵå¿þ¾î :: PortScanner´Â ¿¬°áÇÏ·Á´Â ƯÁ¤ ÀåÄ¡ÀÇ Æ¯Á¤ COM Æ÷Æ®, Àü¼Û ¼Óµµ ¹× / ¶Ç´Â ¼³Á¤ (¿¹ : 8N1, 7E1)À» ¾Ë ¼öÀÖ´Â Çʿ伺À» Á¦°Å ÇÒ Çʿ伺À» Á¦°Å ÇÒ Çʿ伺À» Á¦°Å ÇÒ Çʿ伺À» Á¦°ÅÇÏ´Â µ¥ ÇÊ¿äÇÑ ¸Þ¼µå¸¦ ½ºÄµÇÏ°í ¿¬°áÇÏ´Â ¸Þ¼µå¸¦ Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ...¿¡ ÀÌ ¸ðµâÀº ´Ù¾çÇÑ Àü¼Û ¼Óµµ, COM Æ÷Æ® ¹× ¼³Á¤¿¡¼ »ç¿ë °¡´ÉÇÑ ÀåÄ¡¿¡ ¸í·ÉÀ» º¸³»´Â °ÍÀ¸·Î ÀÛµ¿ÇÕ´Ï´Ù. Á¤±Ô Ç¥Çö½Ä°ú ÀÏÄ¡ÇÏ´Â ¸Þ½ÃÁö°¡ ´Ù½Ã ¹ÞÀ¸¸é ¿¬°á ¼¼ºÎ »çÇ×ÀÌ ¹ÝȯµË´Ï´Ù. ¶ÇÇÑ ¸ðµâÀº Platform¿¡ µû¶ó Device :: SerialPort ¶Ç´Â Win32 :: SerialPort¸¦ ÅëÇØ ÀåÄ¡¿¡ ¿¬°áÇÒ ¼ö ÀÖ½À´Ï´Ù. * ¼³Ä¡Çϱâ Àü¿¡ »ç¿ëµÇÁö ¾Ê´Â COM ÄÉÀ̺íÀ» »ÌÀ¸½Ê½Ã¿À (¶Ç´Â ¹®Á¦¸¦ ¾Ë¾Æ Â÷¸®¸é). ¾Æ·¡ ¹ö±× / ¹®Á¦¸¦ ÂüÁ¶ÇϽʽÿÀ. * ÀåÄ¡¿¡ ´ëÇÑ "manual_test.pl"À» ½ÇÇàÇϽʽÿÀ. ƯÁ¤ TestSynopsis $ Serial = Çϵå¿þ¾î :: PortScanner-> new (); $ serial-> scan_ports (baud => , ¼³Á¤ => , TEST_STRING => "V ", valid_reply_re => '^ UBW FW'); $ portobj = $ serial-> connect_to_device (); ¶Ç´Â $ serial = Çϵå¿þ¾î :: portscanner-> new (); $ portobj = $ serial-> connect_to_device (baud => 115200) , com => 'com3'); ¿ä±¸ »çÇ× : ¡¤ Perl.
Çϵå¿þ¾î :: Portscanner. °ü·Ã ¼ÒÇÁÆ®¿þ¾î