CDC and welcome message

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CDC and welcome message

565 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fjarnjak on Tue Feb 19 10:38:40 MST 2013
Hello,

I am trying to output a welcome message when a client connects using virtual com port (CDC). What callback should I implement?
VBUS detects if cable is connected, there are others when device is enumerated, etc. but I need to detect succesfull com port connection from the client terminal every time it occurs to show my message.
I have been searching this forum, but I couldn't find anything. Any experience?
Labels (1)
0 Kudos
1 Reply

554 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tuong on Tue Mar 05 20:17:23 MST 2013
Hi,

From my limited exprerience, a successfull com port connection is claimed after host(your PC) sends a SET_LineEndcoding request. So you may start with the function EVENT_CDC_Device_LineEncodingChanged()!

With best regards,
0 Kudos