Moved APN_db.h under new cellular.

pull/6264/head
Teppo Järvelin 2018-03-05 10:56:05 +02:00
parent bee31ad1b3
commit 7fd6b71337
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
#include <string.h>
#include "nsapi_ppp.h"
#if MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP
#include "utils/APN_db.h"
#include "APN_db.h"
#endif //MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP
#if defined(FEATURE_COMMON_PAL)
#include "mbed_trace.h"
@ -574,12 +574,12 @@ nsapi_error_t PPPCellularInterface::connect()
user_specified_apn = true;
#endif
}
if (is_connected()) {
return NSAPI_ERROR_IS_CONNECTED;
} else if (_connect_status == NSAPI_STATUS_CONNECTING) {
return NSAPI_ERROR_ALREADY;
}
}
_connect_status = NSAPI_STATUS_CONNECTING;
if (_connection_status_cb) {
@ -681,7 +681,7 @@ nsapi_error_t PPPCellularInterface::connect()
}
tr_info("The APN being used is %s.\n", _apn);
/* Attempt to enter data mode */
success = set_atd(_at); //enter into Data mode with the modem
if (!success) {