Implementation of 3G USB Modem Huawei E372
PyrnUSBModem.h
- Committer:
- clemounet
- Date:
- 2015-02-20
- Revision:
- 0:67daedd6f74f
- Child:
- 1:fbf17fb09581
File content as of revision 0:67daedd6f74f:
#ifndef PYRN_USB_MODEM_H #define PYRN_USB_MODEM_H #include "mbed.h" #include "USBHost/USBHost3GModule/WANDongle.h" #include "USBSerialStream.h" #include "ATCommandsInterface.h" class PyrnUSBModem { private: WANDongle dongle; USBSerialStream atStream; ATCommandsInterface at; bool atOpen; public: PyrnUSBModem(USBHost *h); bool init(); bool isConnected(void); void testAT(void); WANDongleSerialPort *getAtInterface(int i); }; #endif