USB Host WAN Dongle library
Fork of USBHostWANDongle_bleedingedge by
USB3GModule/IUSBHostSerialListener.h@27:980fe31c14f7, 2013-09-20 (annotated)
- Committer:
- ashleymills
- Date:
- Fri Sep 20 10:40:15 2013 +0000
- Revision:
- 27:980fe31c14f7
- Parent:
- 10:08bce4cd973a
Added support for Ublox LISA U200 module
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
donatien | 0:ae46a0638b2c | 1 | /* IUSBHostSerialListener.h */ |
donatien | 10:08bce4cd973a | 2 | /* Copyright (c) 2010-2012 mbed.org, MIT License |
donatien | 10:08bce4cd973a | 3 | * |
donatien | 10:08bce4cd973a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
donatien | 10:08bce4cd973a | 5 | * and associated documentation files (the "Software"), to deal in the Software without |
donatien | 10:08bce4cd973a | 6 | * restriction, including without limitation the rights to use, copy, modify, merge, publish, |
donatien | 10:08bce4cd973a | 7 | * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the |
donatien | 10:08bce4cd973a | 8 | * Software is furnished to do so, subject to the following conditions: |
donatien | 10:08bce4cd973a | 9 | * |
donatien | 10:08bce4cd973a | 10 | * The above copyright notice and this permission notice shall be included in all copies or |
donatien | 10:08bce4cd973a | 11 | * substantial portions of the Software. |
donatien | 10:08bce4cd973a | 12 | * |
donatien | 10:08bce4cd973a | 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
donatien | 10:08bce4cd973a | 14 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
donatien | 10:08bce4cd973a | 15 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
donatien | 10:08bce4cd973a | 16 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
donatien | 10:08bce4cd973a | 17 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
donatien | 0:ae46a0638b2c | 18 | */ |
donatien | 0:ae46a0638b2c | 19 | |
donatien | 0:ae46a0638b2c | 20 | |
donatien | 0:ae46a0638b2c | 21 | #ifndef IUSBHOSTSERIALLISTENER_H_ |
donatien | 0:ae46a0638b2c | 22 | #define IUSBHOSTSERIALLISTENER_H_ |
donatien | 0:ae46a0638b2c | 23 | |
donatien | 0:ae46a0638b2c | 24 | class IUSBHostSerialListener |
donatien | 0:ae46a0638b2c | 25 | { |
donatien | 0:ae46a0638b2c | 26 | public: |
donatien | 0:ae46a0638b2c | 27 | virtual void readable() = 0; //Called when new data is available |
donatien | 0:ae46a0638b2c | 28 | virtual void writeable() = 0; //Called when new space is available |
donatien | 0:ae46a0638b2c | 29 | }; |
donatien | 0:ae46a0638b2c | 30 | |
donatien | 0:ae46a0638b2c | 31 | |
donatien | 0:ae46a0638b2c | 32 | #endif /* IUSBHOSTSERIALLISTENER_H_ */ |