endpoint C207 radio support

Dependents:   mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular

Revision:
2:a28f19f39f2b
Parent:
1:76d2da9e2b84
--- a/UbloxModem.h	Fri Mar 28 04:07:08 2014 +0000
+++ b/UbloxModem.h	Sun Mar 30 16:11:30 2014 +0000
@@ -19,13 +19,33 @@
  #ifndef _UBLOX_MODEM_H_
  #define _UBLOX_MODEM_H_
  
+ #include "mbed.h"
+ #include "C027.h"
+ #include "UbloxUSBGSMModem.h"
+ #include "UbloxUSBCDMAModem.h"
+
  // ErrorHandler support
  #include "ErrorHandler.h"
  
- #include "C027.h"
- #include "UbloxUSBGSMModem.h"
- #include "UbloxUSBCDMAModem.h"
+ #ifndef MODEM_APN
+ #warning APN not specified, using "internet"
+ #define MODEM_APN "internet"
+ #endif
+
+ #ifndef MODEM_USERNAME
+ #warning username not specified
+ #define MODEM_USERNAME NULL
+ #endif
+
+ #ifndef MODEM_PASSWORD
+ #warning password not specified
+ #define MODEM_PASSWORD NULL
+ #endif
  
+ #ifndef PPP_SUPPORT
+ #warning PPP not enabled
+ #endif
+  
  class UbloxModem {
      private: 
         ErrorHandler      *m_error_handler;