File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed
features/cellular/framework Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -388,6 +388,7 @@ nsapi_error_t AT_CellularNetwork::open_data_channel()
388
388
{
389
389
#if NSAPI_PPP_AVAILABLE
390
390
tr_info (" Open data channel in PPP mode" );
391
+ // <<<<<<< HEAD
391
392
if (is_supported (AT_CGDATA)) {
392
393
_at.cmd_start (" AT+CGDATA=\" PPP\" ," );
393
394
_at.write_int (_cid);
@@ -397,6 +398,16 @@ nsapi_error_t AT_CellularNetwork::open_data_channel()
397
398
std::sprintf (cmd_buf, " ATD*99***%d#" , _cid);
398
399
_at.cmd_start (cmd_buf);
399
400
}
401
+ // =======
402
+ //
403
+ // #ifdef TARGET_MTS_DRAGONFLY_L471QG
404
+ // _at.cmd_start("ATD*99***1#");
405
+ // #else
406
+ // _at.cmd_start("AT+CGDATA=\"PPP\",");
407
+ // _at.write_int(_cid);
408
+ // #endif
409
+ //
410
+ // >>>>>>> changes to support mts dragonfly nano ppp
400
411
_at.cmd_stop ();
401
412
402
413
_at.resp_start (" CONNECT" , true );
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ namespace mbed {
37
37
#endif
38
38
#elif TARGET_UBLOX_C027
39
39
#define CELLULAR_DEVICE UBLOX_PPP
40
- #else
40
+ #elif TARGET_DRAGONFLY_L471QG
41
+ #define CELLULAR_DEVICE UBLOX_PPP
42
+ // #else
41
43
// #error Cellular target not defined, see cellular/targets.h
42
44
// #define CELLULAR_TARGET <target-modem>
43
45
// #define MDMTXD <pin-name>
Original file line number Diff line number Diff line change @@ -34,7 +34,15 @@ bool UBLOX_PPP_CellularNetwork::get_modem_stack_type(nsapi_ip_stack_t requested_
34
34
35
35
AT_CellularNetwork::RegistrationMode UBLOX_PPP_CellularNetwork::has_registration (RegistrationType reg_type)
36
36
{
37
+ // <<<<<<< HEAD
37
38
return (reg_type == C_REG || reg_type == C_GREG) ? RegistrationModeLAC : RegistrationModeDisable;
39
+ // =======
40
+ // #ifdef TARGET_DRAGONFLY_L471QG
41
+ // return (reg_type == C_REG || reg_type == C_EREG);
42
+ // #else
43
+ // return (reg_type == C_REG || reg_type == C_GREG || reg_type == C_EREG);
44
+ // #endif
45
+ // >>>>>>> changes to support mts dragonfly nano ppp
38
46
}
39
47
40
48
nsapi_error_t UBLOX_PPP_CellularNetwork::set_access_technology_impl (RadioAccessTechnology opRat)
You can’t perform that action at this time.
0 commit comments