Skip to content
Documentation Menu

Set Network Profile

Source: OCPP 2.0.1 Part 2 — Specification (Edition 2, 2022-12-15) — Section 1.55 (Messages); Use Cases B09 — Setting a new NetworkConnectionProfile, B10 — Migrate to new CSMS (Functional Block B. Provisioning)

Overview

The CSMS sends SetNetworkProfileRequest to configure or update a network connection profile in a specific configuration slot on the Charging Station. The profile contains the CSMS URL, OCPP version & transport, security profile, message timeout and (for cellular setups) APN/VPN configuration.

This is the primary mechanism to migrate a CS to a new CSMS (B10): write a new profile into a slot, then prefer it (via NetworkConfigurationPriority).

Sequence Diagram

CSMS  ──── SetNetworkProfileRequest ────▶  Charging Station
            (configurationSlot, connectionData)
CSMS  ◀─── SetNetworkProfileResponse ────  Charging Station
            (status, statusInfo?)

Initiator

CSMS → Charging Station

Fields

Field NameField TypeCard.Description
configurationSlotinteger1..1Required. Slot in which the configuration is stored.
connectionDataNetworkConnectionProfileType1..1Required. Connection details.

NetworkConnectionProfileType (selected fields)

FieldTypeCard.Description
ocppVersionOCPPVersionEnumType1..1OCPP12, OCPP15, OCPP16, OCPP20.
ocppTransportOCPPTransportEnumType1..1JSON, SOAP.
ocppCsmsUrlstring [0..512]1..1URL of the CSMS endpoint (without wss:// query string).
messageTimeoutinteger1..1Default OCPP message timeout (seconds).
securityProfileinteger1..1OCPP Security Profile (1, 2, or 3).
ocppInterfaceOCPPInterfaceEnumType1..1Wired0, Wired1, Wireless0, Wireless1, etc.
apnAPNType0..1APN configuration (cellular).
vpnVPNType0..1VPN configuration.

SetNetworkProfileStatusEnumType values

Accepted, Rejected, Failed.

Examples

{
  "configurationSlot": 1,
  "connectionData": {
    "ocppVersion": "OCPP20",
    "ocppTransport": "JSON",
    "ocppCsmsUrl": "wss://csms.example.com/ocpp/CP-2026-000123",
    "messageTimeout": 30,
    "securityProfile": 3,
    "ocppInterface": "Wired0"
  }
}

Schema

Source: schemas/SetNetworkProfileRequest.json, schemas/SetNetworkProfileResponse.json (OCPP 2.0.1 FINAL)

Request schema (JSON Schema)
Response schema (JSON Schema)