Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: Trying to read from serial port - not getting a response

by adiuva (Sexton)
on Dec 06, 2012 at 09:26 UTC ( #1007504=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Trying to read from serial port - not getting a response
in thread Trying to read from serial port - not getting a response

I just tried the code you posted. But I'm getting the same result like with my code. The loop is somehow not entered as well:

c:\Dropbox\Scripts>perl PortTest2.pl Enter AT command:ATI Sending: 'ATI' reading...
From my understanding it should at least print the buffer size one time if there is 1 byte of data. The AT-command (ATI) I'm trying should give me something like this:
ATI Manufacturer: Company Name Model: 1234 Revision: AABBCCDDEE-123456 1 [Dec 01 2012 14:00:00] IMEI: 123456789012345 +GCAP: +CGSM,+DS,+ES OK


Comment on Re^4: Trying to read from serial port - not getting a response
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007504]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (17)
As of 2015-07-28 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (259 votes), past polls