My application uses the HotSync Signal to initiate a read from an external
device. This works fine in most cases, but one particular device sends a
second HotSync signal after the read has begun.
This has two unfortunate side effects.
1) The program attempts to read a second value from the external device
after it has completed the first read (This is solvable with a UI switch,
although I would prefer to keep it hidden from the user).
2) When the HotSync signal is triggered, the Palm OS kernel spends so much
time processing the signal, I miss a large chunk of the data coming in.
These problems all go away by turning off interrupts, but "everyone" says
don't turn off interrupts otherwise your cat will go blind, etc. So does
anyone have a suggestion on how to prevent the aforementioned problems.
Other relevant facts to consider when proposing solutions
a) The external hardware is designed by other companies, so redesigning it
is not an option.
b) I can not use the UART, since the data is not RS232 compatible (i.e. no
start or stop bits, and no frame information).
Thanks in advance
Oliver King-Smith