--- a/usbmgmt/usbmgrtest/t_acm/src/t_acm.cpp Tue Aug 31 17:01:47 2010 +0300
+++ b/usbmgmt/usbmgrtest/t_acm/src/t_acm.cpp Wed Sep 01 12:35:00 2010 +0100
@@ -34,6 +34,7 @@
const TInt KReceiveBufferLength = 4096;
const TInt KMaxAcmPortNameLength = 8;
+//_LIT(KUsbCsyName, "ECACM");
_LIT(KUsbPortName, "ACM::0");
_LIT(KUsbPortNameAcm1, "ACM::1");
@@ -942,6 +943,8 @@
_printf(_L("Writing data\n"));
for (timeout = 10; timeout<100; timeout++)
{
+// FillBuffer(readBuf);
+
port.Write(status, readBuf);
// Wait before cancelling
@@ -1771,7 +1774,19 @@
_printf(_L("a. Event notification, flow control (test 2.8.2)\n"));
_printf(_L("b. Event notification, config change (test 2.8.3)\n"));
_printf(_L("c. Second client (test 2.9)\n"));
- _printf(_L("p. Loopback test (test 2.12)\n"));
+/* _printf(_L("d. ACM request, encapsulated command (test 2.10.1)\n"));
+ _printf(_L("e. ACM request, break (test 2.10.2)\n"));
+ _printf(_L("f. ACM request, setting feature (test 2.10.3)\n"));
+ _printf(_L("g. ACM request, clearing feature (test 2.10.4)\n"));
+ _printf(_L("h. ACM request, setting line coding (test 2.10.5)\n"));
+ _printf(_L("i. ACM request, control line state (test 2.10.6)\n"));
+ _printf(_L("j. ACM request, encapsualted response (test 2.10.7)\n"));
+ _printf(_L("k. ACM request, comms feature (test 2.10.8)\n"));
+ _printf(_L("l. ACM request, getting line coding (test 2.10.9)\n"));
+ _printf(_L("m. ACM Notifications, send serial state (test 2.11.1)\n"));
+ _printf(_L("n. ACM Notifications, network status (test 2.11.2)\n"));
+ _printf(_L("o. ACM Notifications, response available (test 2.11.3)\n"));
+*/ _printf(_L("p. Loopback test (test 2.12)\n"));
_printf(_L("q. Main menu\n"));
ch = (char) _getch();