u-blox modem SMS test

Dependencies:   UbloxUSBModem mbed

main.cpp

Committer:
bogdanm
Date:
2013-10-21
Revision:
1:f21c25203532
Child:
2:7ff34ee461a3

File content as of revision 1:f21c25203532:

#include "UBloxUSBGSMModem.h"
#include "smstest.h"

void test(const void* data)
{
    UbloxUSBGSMModem modem;

    smstest(modem);
    while (true);
}

int main()
{
    Thread testTask(test, NULL, osPriorityNormal, 1024 * 4);
    DigitalOut led(LED1);

    while (true)
    {
        led = !led;
        Thread::wait(1000);  
    }
    return 0;
}