Ah ah ah... These "garbage" chars (AT+GCAP...) are actually AT commands :) Since CDC/ACM devices are supposed to be modem, this explains why I receive this. I now need to figure out how to disable on my system...
Cheers, Seb 2010/10/1 Sebastien Lelong <[email protected]> > > 3. now I send back the same packet: {1,2,3,0xC0,5,6,0xDB,8,9,10}. Since > the code is supposed to echoed the data back, I would have expected to > get {0xc0, 1, 2, 3, 0xdb, 0xdc, 5, 6, 0xdb', 0xdd, 8, 9, 0xc0}, as before. > But I have: {'A', 'T', '+', 'G', 'C', 'A', 'P', '\r', '\n', 'A', '\x00', > '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', > '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x01', '\x02', > '\x03', '\xc0', '\x05', '\x06', '\xdb', '\x08', '\t'} > - packet size is 36, which is greater than MTU (10). > - I really don't understand where those first chars comes from > - it seems there's some kind of padding with 0x00 > -- 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.
