Skip to content

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.

FieldTypeDescription
Active SIMField 1uint8

Activate the specified SIM If SIM2 is selected, sending the APN settings is required

  • 0 · SIM1
  • 1 · SIM2
SIM2 APNField 2ascii
SIM2 APN UsernameField 3ascii
SIM2 APN PasswordField 4ascii
SIM2 ICCIDField 8ascii

SIM2 ICCID if known, read-only and ignored by SET. This value may be cached from a previous read and stale.

GETMessage 33

Request

Shared optional Message ID and reply rules

Request headers

MethodHeader 5

Value 2 · GET

Request 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

Currently active SIM.

  • 0 · SIM1
  • 1 · SIM2
SIM2 APNField 2
SIM2 APN UsernameField 3
SIM2 APN PasswordField 4
SIM2 ICCIDField 8

SIM2 ICCID if known, read-only and ignored by SET. This value may be cached from a previous read and stale.

SETMessage 33

Request

SIM2 APN and credentials are ignored when selecting SIM1.

Shared optional Message ID and reply rules

Request headers

MethodHeader 5

Value 1 · SET

Request a service to be perform an action

Request data fields

Active SIMField 1

Value 0 · SIM1

Activate 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

SETMessage 33

Request

Shared optional Message ID and reply rules

Request headers

MethodHeader 5

Value 1 · SET

Request a service to be perform an action

Request data fields

Active SIMField 1

Value 1 · SIM2

Activate the specified SIM If SIM2 is selected, sending the APN settings is required

SIM2 APNField 2
SIM2 APN UsernameField 3

Omission clears the configured SIM2 username.

SIM2 APN PasswordField 4

Omission clears the configured SIM2 password.

Expected response (MT5 - ACK)

Correlation, status and acknowledgment rules · MT5 packet format

Wire examples

Enable SIM2 with APN settings
Protocol
3
3
Length
420
42 bytes
Type
330
33 (SIM settings)
Header Count
20
2
Header Types
15
1, 5
Message ID
422000
22
Method
11
1 (SET)
Payload Count
20
2
Payload Types
12
1, 2
Active SIM
41000
1 (SIM2) (expected 1 bytes, got 4)
SIM2 APN
141151111091014697112110461121089799101
some.apn.place
Checksum
85240
61525
ACK SIM2 settings
Protocol
3
3
Length
240
24 bytes
Type
50
5 (ACK)
Header Count
20
2
Header Types
34
3, 4
Response to
422000
22
Status
10
0 (OK)
Payload Count
10
1
Payload Types
1
1
ACK Type
2330
33
Checksum
3672
18468
GET request for SIM settings
Protocol
3
3
Length
200
20 bytes
Type
330
33 (SIM settings)
Header Count
20
2
Header Types
15
1, 5
Message ID
423000
23
Method
12
2 (GET)
Payload Count
00
0
Checksum
123128
32891

Message and field constants

Identifiers for this message type and its fields. See the operation sections above for rules and limits.