Yasushi TAUCHI / Mbed 2 deprecated BlueUSB_f_IEEE1888

Dependencies:   EthernetInterface FiapV2 HTTPClientForSOAP NTPClient TextLCD mbed-rtos mbed spxml

Fork of BlueUSB_f by Yasushi TAUCHI

Revision:
1:3f2890d103fb
Parent:
0:606b230e5b4a
Child:
2:32a2d06f4fe2
--- a/AutoEvents.cpp	Sat Apr 10 00:30:24 2010 +0000
+++ b/AutoEvents.cpp	Wed Sep 26 06:29:47 2012 +0000
@@ -133,6 +133,12 @@
 //  Implemented in TestShell.cpp
 int OnBluetoothInsert(int device);
 
+//  Added by Y.Tauchi  ------------------------------------
+//  Implemented in usps.cpp 
+int OnUspsInsert(int device);
+//  -----------------------------------------------------------
+
+
 void OnLoadDevice(int device, DeviceDescriptor* deviceDesc, InterfaceDescriptor* interfaceDesc)
 {
     printf("LoadDevice %d %02X:%02X:%02X\n",device,interfaceDesc->bInterfaceClass,interfaceDesc->bInterfaceSubClass,interfaceDesc->bInterfaceProtocol);
@@ -154,6 +160,12 @@
             if (interfaceDesc->bInterfaceSubClass == 0x01 && interfaceDesc->bInterfaceProtocol == 0x01)
                 OnBluetoothInsert(device);    // it's bluetooth!
             break;
+        //  Added by Y.Tauchi  ------------------------------------
+        case CLASS_VENDOR_SPECIFIC:
+            if (interfaceDesc->bInterfaceSubClass == 0x01 && interfaceDesc->bInterfaceProtocol == 0x02)
+                OnUspsInsert(device);    // it's USPS! (FUJITSU FX-5204PS)
+            break;
+//  ----------------------------------------------------------
         default:
             StartAutoEvent(device,1,0);
             break;