Skip to content

BootNotification: ChargerCredentials not mapped #427

Description

@kajarekarsujay

I tried to initialise it in the following way:
#define backendUrl "ws://ocpp.xxx"
#define chargeBoxId "8232abdd"
#define chargePointModel "oem"
#define chargePointVendor "oem1"
#define firmwareVersion "1.0"
#define chargePointSerialNumber "001"
#define meterSerialNumber "n00"
#define meterType "onboard Class 3"
#define chargeBoxSerialNumber "123456678"
#define iccid "not present"
#define imsi "imsi not present"

mocpp_initialize(backendUrl, chargeBoxId, ChargerCredentials(chargePointModel, chargePointVendor, firmwareVersion, chargePointSerialNumber, meterSerialNumber, meterType, chargeBoxSerialNumber, iccid, imsi));

I am able to connect to the backend, however, backend is not able to identify parameters such as chargePointModel and other remaining parameters. I obseved that all parameters get bundled into chargePointModel. Below is the response in the server:
[
2,
"2ee7f632-b96f-4f72-8b66-92945ce6205d",
"BootNotification",
{
"chargePointModel": "{"chargeBoxSerialNumber":"123456678","chargePointModel":"oem","chargePointSerialNumber":"001","chargePointVendor":"oem1","firmwareVersion":"1.0","iccid":"not present","imsi":"imsi not present","meterSerialNumber":"n00","meterType":"onboard Class 3"}",
"chargePointVendor": "My Company Ltd."
}
]

Can anyone please help.

Activity

  1. kajarekarsujay commented on Apr 6, 2026

    @kajarekarsujay
    Author

    Is there anyone who knows anything about this issue ?

  2. kajarekarsujay commented on Apr 25, 2026

    @kajarekarsujay
    Author
  3. unailopez027 commented on Apr 28, 2026

    @unailopez027

    hi, I've been testing ocpp 201 implementation and the server asks for parameter names model and vendorName instead of the ones you mention. If you just change the names it will accept it. If you mean for v16 you shoudn't have a problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions