Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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 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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007504]
[erix]: why does that tell against the Kaiser-story?
[erix]: ah, of course, makes sense
[erix]: mafia are family based, of course
[LanX]: Doorn
[erix]: yes, I got it :) It's close to where I live (Utrecht)
[LanX]: Dutch royals usually spent their exiles on Berlin
[erix]: well, dutch royals are germans, really
[choroba]: Utrecht? Is that where we made the trip, LanX?
[erix]: we should really dupm the lot, but I got no say in the matter :)
[LanX]: yeah its a religious mafia , the only two big calvinist houses are dutch and prussian. ..

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2017-12-15 16:30 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (439 votes). Check out past polls.