Cellular library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems
Dependents: mtsas mtsas mtsas mtsas
Cellular/CellularFactory.h@26:2b769ed8de4f, 2014-06-26 (annotated)
- Committer:
- Vanger
- Date:
- Thu Jun 26 21:12:37 2014 +0000
- Revision:
- 26:2b769ed8de4f
- Parent:
- 11:4e428f689069
- Child:
- 82:5b33b670adb7
Made setApn() a pure virtual in Cellular.; Implemented setApn in both UIP and EasyIP; Implemented connect(), disconnect(), and ping() in EasyIP; Uncommented cell instantiation for EasyIP type models in CellularFactory
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
11:4e428f689069 | 1 | #ifndef CELLULARFACTORY_H |
Mike Fiore |
11:4e428f689069 | 2 | #define CELLULARFACTORY_H |
Mike Fiore |
11:4e428f689069 | 3 | |
Mike Fiore |
11:4e428f689069 | 4 | #include "UIP.h" |
Vanger | 26:2b769ed8de4f | 5 | #include "EasyIP.h" |
Mike Fiore |
11:4e428f689069 | 6 | #include "MTSBufferedIO.h" |
Mike Fiore |
11:4e428f689069 | 7 | |
Mike Fiore |
11:4e428f689069 | 8 | namespace mts { |
Mike Fiore |
11:4e428f689069 | 9 | |
Mike Fiore |
11:4e428f689069 | 10 | class CellularFactory |
Mike Fiore |
11:4e428f689069 | 11 | { |
Mike Fiore |
11:4e428f689069 | 12 | public: |
Mike Fiore |
11:4e428f689069 | 13 | static Cellular* create(MTSBufferedIO* io); |
Mike Fiore |
11:4e428f689069 | 14 | }; |
Mike Fiore |
11:4e428f689069 | 15 | |
Mike Fiore |
11:4e428f689069 | 16 | } |
Mike Fiore |
11:4e428f689069 | 17 | |
Mike Fiore |
11:4e428f689069 | 18 | #endif |