blob: a493be7bfe226815c190e7610eaf7f759fdf5bfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include "UbloxUSBGSMModem.h"
#include "UbloxUSBCDMAModem.h"
#include "smstest.h"
#if !defined(MODEM_UBLOX_GSM) && !defined(MODEM_UBLOX_CDMA)
#warning No modem defined, using GSM by default
#define MODEM_UBLOX_GSM
#endif
int main()
{
#ifdef MODEM_UBLOX_GSM
UbloxUSBGSMModem modem;
#else
UbloxUSBCDMAModem modem(p18, true, 1);
#endif
smstest(modem);
while (true);
}
|