Skip to content

Commit 406cbd4

Browse files
author
Leon
committed
Add proper power save mode command format for MTS_DRAGONFLY_L471
1 parent 0fa43ca commit 406cbd4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

connectivity/cellular/source/framework/AT/AT_CellularDevice.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,11 @@ nsapi_error_t AT_CellularDevice::set_power_save_mode(int periodic_time, int acti
559559

560560
// request for both GPRS and LTE
561561

562+
#ifdef TARGET_MTS_DRAGONFLY_L471QG
563+
_at.at_cmd_discard("+CPSMS", "=1,,,", "%s%s", pt, at);
564+
#else
562565
_at.at_cmd_discard("+CPSMS", "=1,", "%s%s%s%s", pt, at, pt, at);
566+
#endif
563567

564568
if (_at.get_last_error() != NSAPI_ERROR_OK) {
565569
tr_warn("Power save mode not enabled!");

0 commit comments

Comments
 (0)