huohuoh
Dependencies: NetServices mbed C027_Supports mbed-rpcx
Modem.h@0:64967b7043c2, 2019-08-06 (annotated)
- Committer:
- irsanjul
- Date:
- Tue Aug 06 12:59:05 2019 +0000
- Revision:
- 0:64967b7043c2
testes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
irsanjul | 0:64967b7043c2 | 1 | #ifndef MODEMINIT_H |
irsanjul | 0:64967b7043c2 | 2 | #define MODEMINIT_H |
irsanjul | 0:64967b7043c2 | 3 | |
irsanjul | 0:64967b7043c2 | 4 | #include "MDM.h" |
irsanjul | 0:64967b7043c2 | 5 | #include <vector> |
irsanjul | 0:64967b7043c2 | 6 | |
irsanjul | 0:64967b7043c2 | 7 | #define TASK false |
irsanjul | 0:64967b7043c2 | 8 | #define SKADA true |
irsanjul | 0:64967b7043c2 | 9 | |
irsanjul | 0:64967b7043c2 | 10 | #define SIMPIN NULL |
irsanjul | 0:64967b7043c2 | 11 | #define APN NULL |
irsanjul | 0:64967b7043c2 | 12 | #define USERNAME NULL |
irsanjul | 0:64967b7043c2 | 13 | #define PASSWORD NULL |
irsanjul | 0:64967b7043c2 | 14 | |
irsanjul | 0:64967b7043c2 | 15 | void SetModem(MDMSerial &mdm); |
irsanjul | 0:64967b7043c2 | 16 | bool PostData(MDMSerial &mdm, const int &identifier_, const std::vector<int> &input, bool mode=SKADA); |
irsanjul | 0:64967b7043c2 | 17 | bool chekConect(MDMSerial &mdm); |
irsanjul | 0:64967b7043c2 | 18 | |
irsanjul | 0:64967b7043c2 | 19 | #endif |