CDC and welcome message

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CDC and welcome message

1,111 次查看
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?
标签 (1)
0 项奖励
回复
1 回复

1,100 次查看
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 项奖励
回复