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 ?
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.
Hi,
Code stop working at this last line:
HSERIN 5000,IT,[WAIT(13,10), STR myarray\62] or using this line HSERIN 5000,IT,[WAIT("+CMGR: 1,,23"),skip 2, STR myarray\62]
is the same
If i put the command line success: High PortD.2 (to see where code stops) on the next line
IT:
HSERIN 5000,IT,[WAIT(13,10), STR myarray\62]
success: High PortD.2
Nothing but if a only put
HSERIN 5000,IT,[WAIT(13,10)]
success: High PortD.2
Led lights so the code is good before that line and specialy the " , STR myarray\62]" command , please give me you input on this.
Thanks
Why not try pulling just part of the string first...like the first few characters and make sure you can get those correctly before you try grabbing the whole thing...
And if your 13,10 is actually 13,10, then you're ok...but what if your 13,10 is actually 10,13?
Hi,
If i compriend you i have to try a small array like:
............................
myarray var byte[4]
............................
HSERIN 5000,IT,[WAIT(13,10), STR myarray\4]
The 13,10 situaction as i said i put after that this line command
..............
success:
High PortD.2
..............
and it works sow i bealive that is no problem on that.
Tha small array do not work i mod the line from HSERIN 5000,IT,[WAIT(13,10), STR myarray\4] to:
IT:
HSERIN 5000,IT,[WAIT("OK")]
success:
High PortD.2
End
to get the last ok aftar the phone sends the pdu array was i use to see if the others hserout/hserin lines , and try to with the all pda array and with the 1sts 4 bytes and and nothing i have seen the hterminal and the code stops at last OK dont go back to IT: thats strange.....
Bookmarks