USB Host Driver with Socket Modem support. Works with revision 323 of mbed-src but broken with any later version.

Dependencies:   FATFileSystem

Fork of F401RE-USBHost by Norimasa Okamoto

Committer:
fritz291
Date:
Fri Jun 26 19:30:55 2015 +0000
Revision:
26:53970cabf56d
Parent:
11:61843badd06e
Fixed small error in testAT function

Who changed what in which revision?

UserRevisionLine numberNew contents of line
va009039 11:61843badd06e 1 #pragma once
va009039 11:61843badd06e 2 template<class SERIAL_T>
va009039 11:61843badd06e 3 void debug_hex(SERIAL_T& pc, const uint8_t* buf, int size)
va009039 11:61843badd06e 4 {
va009039 11:61843badd06e 5 for(int i = 0; i < size; i++) {
va009039 11:61843badd06e 6 pc.printf("%02x ", buf[i]);
va009039 11:61843badd06e 7 if (i%16 == 15) {
va009039 11:61843badd06e 8 pc.puts("\n");
va009039 11:61843badd06e 9 }
va009039 11:61843badd06e 10 }
va009039 11:61843badd06e 11 pc.puts("\n");
va009039 11:61843badd06e 12 }
va009039 11:61843badd06e 13