33: SIM settings
For devices that have dual-sim functionality, control which SIM is active and set APN parameters for SIM2.
Documented Method (5) values GET, SET
Shared optional header · Message ID (1) can identify a request, response or publication. A response's own ID is separate from Response To (3). Message ID and reply rules apply unless an interaction states an exception.
Message fields
Fields specific to SIM settings. Operation sections below explain when each field is used.
| Field | Type | Description |
|---|---|---|
| Active SIMField 1 | uint8 | Activate the specified SIM If SIM2 is selected, sending the APN settings is required
|
| SIM2 APNField 2 | ascii | |
| SIM2 APN UsernameField 3 | ascii | |
| SIM2 APN PasswordField 4 | ascii | |
| SIM2 ICCIDField 8 | ascii | SIM2 ICCID if known, read-only and ignored by SET. This value may be cached from a previous read and stale. |
Request
Shared optional Message ID and reply rules
Request headers
- MethodHeader 5
uint8requiredValue
2· GETRequest a service to be perform an action
Expected response (MT33)
Successful GET returns SIM settings directly. APN and credentials are returned only while SIM2 is active. A cached SIM2 ICCID may be returned with either active SIM.
Correlation, status and acknowledgment rules
Response data fields
- Active SIMField 1
uint8requiredCurrently active SIM.
0· SIM11· SIM2
- SIM2 APNField 2
asciioptional- SIM2 APN UsernameField 3
asciioptional- SIM2 APN PasswordField 4
asciioptional- SIM2 ICCIDField 8
asciioptionalSIM2 ICCID if known, read-only and ignored by SET. This value may be cached from a previous read and stale.
Request
SIM2 APN and credentials are ignored when selecting SIM1.
Shared optional Message ID and reply rules
Request headers
- MethodHeader 5
uint8requiredValue
1· SETRequest a service to be perform an action
Request data fields
- Active SIMField 1
uint8requiredValue
0· SIM1Activate the specified SIM If SIM2 is selected, sending the APN settings is required
Expected response (MT5 - ACK)
Correlation, status and acknowledgment rules · MT5 packet format
Request
Shared optional Message ID and reply rules
Request headers
- MethodHeader 5
uint8requiredValue
1· SETRequest a service to be perform an action
Request data fields
- Active SIMField 1
uint8requiredValue
1· SIM2Activate the specified SIM If SIM2 is selected, sending the APN settings is required
- SIM2 APNField 2
asciirequiredMinimum 1 bytes- SIM2 APN UsernameField 3
asciioptionalOmission clears the configured SIM2 username.
- SIM2 APN PasswordField 4
asciioptionalOmission clears the configured SIM2 password.
Expected response (MT5 - ACK)
Correlation, status and acknowledgment rules · MT5 packet format
Wire examples
Enable SIM2 with APN settings
ACK SIM2 settings
GET request for SIM settings
Message and field constants
Identifiers for this message type and its fields. See the operation sections above for rules and limits.