From cbe2b50a3228c9fe305f2c274095f0ab61d2bf71 Mon Sep 17 00:00:00 2001 From: Ari Parkkila Date: Thu, 1 Aug 2019 03:46:33 -0700 Subject: [PATCH] Cellular: Fix SIM pin enter command --- features/cellular/framework/AT/AT_CellularDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/cellular/framework/AT/AT_CellularDevice.cpp b/features/cellular/framework/AT/AT_CellularDevice.cpp index 52cccfaae4..8170b8f767 100644 --- a/features/cellular/framework/AT/AT_CellularDevice.cpp +++ b/features/cellular/framework/AT/AT_CellularDevice.cpp @@ -241,7 +241,7 @@ nsapi_error_t AT_CellularDevice::set_pin(const char *sim_pin) const bool stored_debug_state = _at->get_debug(); _at->set_debug(false); - _at->at_cmd_discard("+CPIN", "=,", "%s", sim_pin); + _at->at_cmd_discard("+CPIN", "=", "%s", sim_pin); _at->set_debug(stored_debug_state);