View Single Post
Old 03 March 2021, 21:17   #23
Registered User
Join Date: Aug 2018
Location: Germany
Posts: 36
OK - parity tested.

Two things:
- parity Space works, Mark doesn't - it's opened as space as well.
- for enabling mark and space you currently have to set not only the io_ExtFlags but also io_SerFlags |= SERF_PARTY_ON.

According to "serial.doc" from the NDKs (1.3 to 3.5) this shouldn't be necessary:

7. If you select mark or space parity (see io_ExtFlags in serial.h),
this will cause the SERB_PARTY_ON bit to be set, and the setting
of SERB_PARTY_ODD to be ignored.

Can't test this on real hardware though.

EDIT: io_Length = -1 tested
ok - transmission stops at first occurance of 0x00 :-)

Last edited by amiga_amigo; 03 March 2021 at 21:41.
amiga_amigo is offline  
Page generated in 0.06265 seconds with 11 queries