G
Guest
I actaully want to control IrDA from .NET using C#. It is actually not the
Compact Framework but I am posting to this forum as the CF community seem to
have a better understanding of IrDA.
I want to be able to write to and read from the IrDA port asynchonously.
I have a number of concerns about receiving data, I think this is the
possible ways of receiving from the IrDA port:-
1. I don't know if it is possible but I would like an event to be generated
when a message has been recieved. i.e. event driven message handling for
received messages. I have not seen any mention of this anywhere.
2. I do not want to poll on a received message because that would lead to
unecessary processing.
3. I could block for a received message. But that would mean that I could
not transmit data because I think it would lock out usage on the port. Can
anyone confirm this.
I think that the transmit should be pretty straight forward. I suppose I
would have to have some sort of semaphore/mutual exclusion/monitor/lock
around the accessing of the IrDA as I plan to have a thread for transmission
and another for the receive side.
Any thoughts or assistance on implementing this would be appreciated.
Thank You, B
Compact Framework but I am posting to this forum as the CF community seem to
have a better understanding of IrDA.
I want to be able to write to and read from the IrDA port asynchonously.
I have a number of concerns about receiving data, I think this is the
possible ways of receiving from the IrDA port:-
1. I don't know if it is possible but I would like an event to be generated
when a message has been recieved. i.e. event driven message handling for
received messages. I have not seen any mention of this anywhere.
2. I do not want to poll on a received message because that would lead to
unecessary processing.
3. I could block for a received message. But that would mean that I could
not transmit data because I think it would lock out usage on the port. Can
anyone confirm this.
I think that the transmit should be pretty straight forward. I suppose I
would have to have some sort of semaphore/mutual exclusion/monitor/lock
around the accessing of the IrDA as I plan to have a thread for transmission
and another for the receive side.
Any thoughts or assistance on implementing this would be appreciated.
Thank You, B