Re: ZMODEM with QICO
By: alterego to Digital Man on Mon Apr 13 2020 04:38 pm
> Re: ZMODEM with QICO
> By: Digital Man to alterego on Sun Apr 12 2020 10:17 pm
>
> >> So, if I'm reading your code correctly, you are not checking that you
> actually get the <CR> and <LF> right?
> >> (zmodem_recv_hex_header() line 1077).
> DM> It does *wait* for the CR though. And yes, if recieved, assumes the
> DM> next char would be an LF and wait to receive it as well.
>
> Sorry, for clarity.
>
> Do you wait for the CR, or what for the next char? If the next char is not
> CR, it returns true anyway...?
It was for any char. If a char is received and it's a CR, then it waits for anot
her char. Both chars, if received, are discarded. In any case, the function retu
rn true (success).
The ZMODEM implementation used in SEXYZ is derived from the zmtx/rx project and
should follow this reference document closely: http://wiki.synchro.net/ref:zmode
m
digital man
Synchronet "Real Fact" #64:
Synchronet PCMS (introduced w/v2.0) is Programmable Command and Menu Structure.
Norco, CA WX: 52.2°F, 96.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
|