Files
MuditaOS/module-cellular/at/SimState.hpp
breichel adb6a64085 [EGD-4063] Handling PUK/PIN (#1014)
[EGD-4063] Added handling of PIN/PUK codes for SIM card objects.
SimCard class was added (supply pin and puk, change sim, get state, get sim lock infromation, get attempts counters)
URCCpin via URC handler was added
New message type to send data handled in URCCpin handler to ServiceCellular
2020-11-19 11:25:56 +01:00

31 lines
613 B
C++

// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
namespace at
{
/// SimState extends AT states based on CPIN (URC and AT Command)
enum class SimState
{
Ready,
NotReady,
SimPin,
SimPuk,
SimPin2,
SimPuk2,
PhNetPin,
PhNetPuk,
PhNetSPin,
PhNetSPuk,
PhSpPin,
PhSpPuk,
PhCorpPin,
PhCorpPuk,
Locked, ///< In case of attempt counters equal zero
Unknown
};
} // namespace at