PHS module SMA-01 library. see: https://developer.mbed.org/users/phsfan/notebook/abitusbmodem/
Dependencies: Socket lwip-sys lwip
Dependents: AbitUSBModem_HTTPTest AbitUSBModem_MQTTTest AbitUSBModem_WebsocketTest AbitUSBModem_SMSTest
Fork of VodafoneUSBModem by
socket/bsd_socket.h@99:514e67a69ad6, 2015-02-25 (annotated)
- Committer:
- phsfan
- Date:
- Wed Feb 25 14:34:13 2015 +0000
- Revision:
- 99:514e67a69ad6
- Parent:
- 20:a0c5b6f5c504
supported SMS
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
donatien | 20:a0c5b6f5c504 | 1 | /* Copyright (C) 2012 mbed.org, MIT License |
donatien | 20:a0c5b6f5c504 | 2 | * |
donatien | 20:a0c5b6f5c504 | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
donatien | 20:a0c5b6f5c504 | 4 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
donatien | 20:a0c5b6f5c504 | 5 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
donatien | 20:a0c5b6f5c504 | 6 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
donatien | 20:a0c5b6f5c504 | 7 | * furnished to do so, subject to the following conditions: |
donatien | 20:a0c5b6f5c504 | 8 | * |
donatien | 20:a0c5b6f5c504 | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
donatien | 20:a0c5b6f5c504 | 10 | * substantial portions of the Software. |
donatien | 20:a0c5b6f5c504 | 11 | * |
donatien | 20:a0c5b6f5c504 | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
donatien | 20:a0c5b6f5c504 | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
donatien | 20:a0c5b6f5c504 | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
donatien | 20:a0c5b6f5c504 | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
donatien | 20:a0c5b6f5c504 | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
donatien | 20:a0c5b6f5c504 | 17 | */ |
donatien | 20:a0c5b6f5c504 | 18 | |
donatien | 20:a0c5b6f5c504 | 19 | #ifndef BSD_SOCKET_H_ |
donatien | 20:a0c5b6f5c504 | 20 | #define BSD_SOCKET_H_ |
donatien | 20:a0c5b6f5c504 | 21 | |
donatien | 20:a0c5b6f5c504 | 22 | #ifdef __cplusplus |
donatien | 20:a0c5b6f5c504 | 23 | extern "C" { |
donatien | 20:a0c5b6f5c504 | 24 | #endif |
donatien | 20:a0c5b6f5c504 | 25 | |
donatien | 20:a0c5b6f5c504 | 26 | #include "socket/sys/socket.h" //Must conform to <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html> |
donatien | 20:a0c5b6f5c504 | 27 | #include "socket/netinet/in.h" //Must conform to <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html> |
donatien | 20:a0c5b6f5c504 | 28 | #include "socket/netdb.h" //Must conform to <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netdb.h.html> |
donatien | 20:a0c5b6f5c504 | 29 | |
donatien | 20:a0c5b6f5c504 | 30 | #ifdef __cplusplus |
donatien | 20:a0c5b6f5c504 | 31 | } |
donatien | 20:a0c5b6f5c504 | 32 | #endif |
donatien | 20:a0c5b6f5c504 | 33 | |
donatien | 20:a0c5b6f5c504 | 34 | #endif /* BSD_SOCKET_H_ */ |