SetNetworkProfile

Configures how the station connects: the CSMS URL, the security profile, APN and network settings.

Version
OCPP 2.0.1
Direction
CSMS → Charge Point
Functional block
Security

There is no 1.6 equivalent. A network connection profile bundles the CSMS URL, the OCPP version, the security profile and the physical network configuration — APN for cellular, SSID for Wi-Fi — into one addressable slot.

The station keeps several slots and tries them in a configured order, which is what makes a safe URL migration possible: add a new profile at a lower priority, verify, then promote it.

Request

FieldTypeRequiredDescription
configurationSlotintegerRequiredWhich slot to write.
connectionDataNetworkConnectionProfileTypeRequiredocppVersion, ocppTransport, ocppCsmsUrl, messageTimeout, securityProfile, ocppInterface, and optionally apn or vpn.
json
[2, "19223201", "SetNetworkProfile", {
  "configurationSlot": 2,
  "connectionData": {
    "ocppVersion": "OCPP20",
    "ocppTransport": "JSON",
    "ocppCsmsUrl": "wss://csms.example.com/ocpp",
    "messageTimeout": 30,
    "securityProfile": 2,
    "ocppInterface": "Wired0"
  }
}]

Response

FieldTypeRequiredDescription
statusSetNetworkProfileStatusEnumTypeRequiredResult.
statusInfoStatusInfoTypeOptionalReason code.
json
[3, "19223201", {
  "status": "Accepted"
}]

Values

Security profiles

ValueMeaning
1Unsecured transport with HTTP Basic authentication. Permitted only on a trusted network.
2TLS with HTTP Basic authentication. The station verifies the CSMS certificate.
3TLS with client-side certificate authentication. Both sides verify.

Implementation notes

Writing the slot the station is currently using can strand it. Write a spare slot, then adjust NetworkConfigurationPriority so the station falls back to the old one if the new one fails.

Security profile 3 requires the station to hold a valid client certificate — install and verify it before switching.

The security profile is what a procurement questionnaire is asking about when it asks how chargers authenticate.