Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
whilst debugging some code accessing serial ports I was looking at the list of events that can be waited on. I couldn't find any info or code that uses EV_EVENT1 and EV_EVENT2 events?

What I have tried:

Does anyone know what these events are and how/when they are used? Just interested in what they are and how they are used.
Posted
Updated 20-Jul-20 5:17am
v2
Comments
[no name] 20-Jul-20 10:43am    
Have a look here: https://www.acksys.fr/en/wp-content/uploads/products/WAN-HDLC-Hardware-Windows_Driver-Firmware-DTUS048.pdf[^]
and search for "EV_MCXLAPB" in the document

Looks like they are not directly related to serial communication (RS232) but will be used e.g. for HDLC.

Have a look here:
https://www.acksys.fr/en/wp-content/uploads/products/WAN-HDLC-Hardware-Windows_Driver-Firmware-DTUS048.pdf[^]
and search for "EV_MCXLAPB" in the document

Looks like they (EV_EVENT1 and EV_EVENT2) are not directly related to serial communication (RS232), but will be used e.g. for HDLC.

I hope it helps.
 
Share this answer
 
Comments
Member 10576277 21-Jul-20 6:57am    
Thanks will check it out
 
Share this answer
 
Comments
Member 10576277 20-Jul-20 6:44am    
That was the same page I could find regarding it. But isn't helpful in knowing what it is OR how to use it OR even why use it at all.
That pages doesn't mention anything about it beyond "An event of the first provider-specific type occurred". So useless i'm being really thick here it might of well of said "hg9gunerugn349pghungviuqrbnrgiqr0gihqign9n"!
Richard MacCutchan 20-Jul-20 9:54am    
Looks like no one really uses them.
Member 10576277 20-Jul-20 10:06am    
Seems that way. I've added a few more tags to message to see if it gets a wider viewing etc

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900