Hi ,
Big mess please give me some hellp
Hi,
The HSEROUT["at+cpms=",34,"SM",34,13] is to change the momory of the cell phone and phone send back comfirmaction on the change +CPMS: 1,15,1,15,1,15
OK
The HSERIN 2000,IP,[WAIT("OK")] is to for the above ok and then goto next step
The IP: HSEROUT["AT+CMGR=1",13,10] is the next step and reads the pdu sms phone send back the comfirmaction AT+CMGR=1
+CMGR: 1,,23
0791539126010000240C915391663921010000807070819341 400453FA1B0E (my message)
OK (the ok by the phone)
HSERIN 2000,LI,[WAIT("OK")] whaits for the above ok and goto
LI:
HSERIN 2000,POR,[WAIT("OK"),STR myarray\62]
here i have some ??? because i dont have a ok input from the cell phone
Then if myrray zero posiction are zero like its in pda array next goto so sucess if not goto lop
POR:
if myarray[0]="0"then
'pdu sms in the phone 0791539126010000240C915391663921010000807070819341 400453FA1B0E
goto success
endif
goto LOOP
success:
High PortD.2
End
Anything yet? Do you understand the format of the HSERIN command? The time-out, the WAIT, the rest?
Hi,
Nothing me head is exploding..........i put HSERIN [STR myarray\62] and nothing ...........
Thanks for STILL caring
Hi,
In this case the with the HSERIN [STR myarray\62] i send this (only 1 time it stop looping)
at+cpms="SM"
+CPMS: 1,15,1,15,1,15
OK
AT+CMGR=1
+CMGR: 1,,23
0791539126010000240C915391663921010000807070819341 400453FA1B0E
OK
What time out shell i put? i have tryed 500,1000,2000,5000
on 1st Hserin to IP and the secund to LI
Can you please put me the good command line? please.....
LOOK AT YOUR CODE!!! READ YOUR CODE!!!
Have you looked at your code lately? Have you read it?
Are you just assuming it will work because you wish it to be true?
If this line times out, where does the flow of the code go?Code:LOOP:................ HSERIN 2000,IP,[WAIT("OK")]
If this line doesn't time out, where does the flow of the code go?
If this line times out, where does the flow of the code go?Code:IP:.................. HSERIN 2000,LI,[WAIT("OK")]
If this line doesn't time out, where does the flow of the code go?
If this line times out, where does the flow of the code go?Code:LI: HSERIN 2000,POR,[WAIT("OK"),STR myarray\62]
If this line doesn't time out, where does the flow of the code go?
And what is the phone going to send first? The OK or the string you wish to put in the array?
I'm out....
http://en.wikipedia.org/wiki/What_we...to_communicate
Ok
Thanks for the hellp skimask i will try and hope that some one give me a litle push to this pbp newbi.
Zero BYTE ARRAY ? Is that right? Seems like an Array of "no" bytes . . . seems to me, a standard byte var is an array of 1, MyVarArray[1] or MyVarArray var BYTE . . . did I miss something here ?
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Last edited by Archangel; - 11th July 2008 at 04:57.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks