Oops, hit the wrong key, next try
Hi Matt,
It is not useless, the message should be shown in your windows
terminal, it checks the line status of the virtual com port (DTR
handshake line), so once
the terminal on the host side opens the virtual serial port and sets
the handshake line, the
usb_cdc_line_status() will become none zero, and sends the message
to the host terminal, so the host terminal should receive the
characters
Albert

On May 18, 8:31 pm, AlbertF <[email protected]> wrote:
> Hi Matt,
> It is not useless, the message should be shown in your windows
> terminal, it checks the line status of the virtual com port, so once
> the terminal on the host side opens the virtual serial port, the
> usb_cdc_line_status() will become none zero, and sends th
>
> On May 18, 7:05 pm, mattschinkel <[email protected]> wrote:
>
>
>
>
>
> > I am trying out the USB to serial sample, I see here that it is
> > supposed to send some data to the USB serial port when USB is first
> > plugged in. This "str_welcome" will not be displayed at all in any
> > windows software unless the serial port is open, and you cannot open
> > the serial port untill AFTER USB is connected and loaded. This makes
> > the welcome message useless on windows.
>
> >     -- check if USB device has been configured by the HOST
> >         if ( usb_cdc_line_status() !=  0x00 )  then
> >                 if !has_shown_welcome_msg then
> >                         has_shown_welcome_msg = true
> >                         print_string( usb_serial_data, str_welcome )
> >                 end if
> >         else
> >                 has_shown_welcome_msg = false
> >         end if
>
> > Albert, you may want to update your blog to show the new location of
> > the USB files.
>
> > Matt.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "jallib" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/jallib?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "jallib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/jallib?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to