Vodafone K3770/K3772-Z modems driver & networking library

Dependencies:   Socket

This library is deprecated. Please use the newest production branch of the library from https://mbed.org/users/mbed_official/code/VodafoneUSBModem/

Committer:
donatien
Date:
Fri Aug 17 15:21:55 2012 +0000
Revision:
0:bd5343539e38
Initial public commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
donatien 0:bd5343539e38 1 /* IUSBHostSerialListener.h */
donatien 0:bd5343539e38 2 /*
donatien 0:bd5343539e38 3 Copyright (C) 2012 ARM Limited.
donatien 0:bd5343539e38 4
donatien 0:bd5343539e38 5 Permission is hereby granted, free of charge, to any person obtaining a copy of
donatien 0:bd5343539e38 6 this software and associated documentation files (the "Software"), to deal in
donatien 0:bd5343539e38 7 the Software without restriction, including without limitation the rights to
donatien 0:bd5343539e38 8 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
donatien 0:bd5343539e38 9 of the Software, and to permit persons to whom the Software is furnished to do
donatien 0:bd5343539e38 10 so, subject to the following conditions:
donatien 0:bd5343539e38 11
donatien 0:bd5343539e38 12 The above copyright notice and this permission notice shall be included in all
donatien 0:bd5343539e38 13 copies or substantial portions of the Software.
donatien 0:bd5343539e38 14
donatien 0:bd5343539e38 15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
donatien 0:bd5343539e38 16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
donatien 0:bd5343539e38 17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
donatien 0:bd5343539e38 18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
donatien 0:bd5343539e38 19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
donatien 0:bd5343539e38 20 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
donatien 0:bd5343539e38 21 SOFTWARE.
donatien 0:bd5343539e38 22 */
donatien 0:bd5343539e38 23
donatien 0:bd5343539e38 24
donatien 0:bd5343539e38 25 #ifndef IUSBHOSTSERIALLISTENER_H_
donatien 0:bd5343539e38 26 #define IUSBHOSTSERIALLISTENER_H_
donatien 0:bd5343539e38 27
donatien 0:bd5343539e38 28 class IUSBHostSerialListener
donatien 0:bd5343539e38 29 {
donatien 0:bd5343539e38 30 public:
donatien 0:bd5343539e38 31 virtual void readable() = 0; //Called when new data is available
donatien 0:bd5343539e38 32 virtual void writeable() = 0; //Called when new space is available
donatien 0:bd5343539e38 33 };
donatien 0:bd5343539e38 34
donatien 0:bd5343539e38 35
donatien 0:bd5343539e38 36 #endif /* IUSBHOSTSERIALLISTENER_H_ */