AnsweredAssumed Answered

STM32 USB VCP extra symbols

Question asked by konnov.mark.001 on Nov 28, 2016
Latest reply on Nov 29, 2016 by Chinzei.Tsuneo
Configuration:
     STM32F107, Linux PC, VCP library provided by STM.

Received data is buffered from interrupt and reading within RTOS task context. When resetting device, it's start to be visible as /dev/ttyACM0. Ok. But before the text listed below is received, I can't connect to device. The text is following:
AT
AT
AT
\000\360~~\000x\360~
Is smbd familiar with it ? Obviously, it's a commands that Linux driver sending to device. But I can't open the device (minicom, cutecom, cat command) before all of this commands is received.
So there's my questions:
1. Is there's a way to connect to device immediately when it appears ?
2. How can I filter this symbols from receiving symbol stream ? I'm dealing not only with plain text info from PC so I can't just filter it as direct comparison with 'AT', \000, etc.
3. Is there's a way to detect on STM32 side that device is opened within OS ?
4. Is there's any documentation for STM32 USB software stack ?
Thanks.

Outcomes