Socket library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems
Dependencies: HTTPClient-SSL
Dependents: mtsas mtsas mtsas mtsas_lat3
Transport.cpp@1:096f484f3ae6, 2014-05-19 (annotated)
- Committer:
- Mike Fiore
- Date:
- Mon May 19 12:36:11 2014 -0500
- Revision:
- 1:096f484f3ae6
add socket code
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
1:096f484f3ae6 | 1 | #include "Transport.h" |
Mike Fiore |
1:096f484f3ae6 | 2 | |
Mike Fiore |
1:096f484f3ae6 | 3 | IPStack* Transport::transport = NULL; |
Mike Fiore |
1:096f484f3ae6 | 4 | |
Mike Fiore |
1:096f484f3ae6 | 5 | void Transport::setTransport(IPStack* type) |
Mike Fiore |
1:096f484f3ae6 | 6 | { |
Mike Fiore |
1:096f484f3ae6 | 7 | transport = type; |
Mike Fiore |
1:096f484f3ae6 | 8 | } |
Mike Fiore |
1:096f484f3ae6 | 9 | |
Mike Fiore |
1:096f484f3ae6 | 10 | IPStack* Transport::getInstance() |
Mike Fiore |
1:096f484f3ae6 | 11 | { |
Mike Fiore |
1:096f484f3ae6 | 12 | return transport; |
Mike Fiore |
1:096f484f3ae6 | 13 | } |
Mike Fiore |
1:096f484f3ae6 | 14 |