|
I've searched, but not found, anything specific to this. So, forgive me if it has already been covered.
It seems to me that what's being called a "timeout" with HSERIN is actually a delay before a jump to the "timeout label" regardless of the state of the receive buffer. If the buffer is empty, it looks like a timeout, but if the data is there, it gets it, waits the specified period, then jumps to the specified label. In other words,
...
HSERSTAT 0 Main ... GOSUB GetGPS ... END
GetGPS HSERSTAT 4, GetGPS HSERIN NoData, 1000, [WAIT("@"),STR GPSStr5413] ... HSERSTAT 0 Return NoData ... GOTO Main
always results in a jump to "NoData" after 1 second even though the string was retreived and assigned to "GPSStr".
Can anyone confirm this or show me where I'm going wrong?
Thanks, Don
|