Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NetServices mbed C027_Supports mbed-rpcx
Modem.h@1:f7d9b0530b73, 2019-09-11 (annotated)
- Committer:
- aldoao
- Date:
- Wed Sep 11 06:32:20 2019 +0000
- Revision:
- 1:f7d9b0530b73
- Parent:
- 0:64967b7043c2
tipe,1
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 |