Skip to content

Commit

Permalink
Updated ProfileName constants in 1.6 implementation to match the Supp…
Browse files Browse the repository at this point in the history
…ortedProfiles allowed values in OCPP 1.6 specification (#2)
  • Loading branch information
xBlaz3kx authored Feb 21, 2024
1 parent 9dc8078 commit c285716
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ocpp1.6/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type ChargePointHandler interface {
}

// THe profile name
var ProfileName = "core"
var ProfileName = "Core"

// Provides support for Basic Charge Point functionality comparable with OCPP 1.5.
var Profile = ocpp.NewProfile(
Expand Down
2 changes: 1 addition & 1 deletion ocpp1.6/firmware/firmware.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type ChargePointHandler interface {
}

// The profile name
const ProfileName = "firmwareManagement"
const ProfileName = "FirmwareManagement"

// Provides support for firmware update management and diagnostic log file download.
var Profile = ocpp.NewProfile(
Expand Down
2 changes: 1 addition & 1 deletion ocpp1.6/localauth/local_auth_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type ChargePointHandler interface {
}

// The profile name
const ProfileName = "localAuthList"
const ProfileName = "LocalAuthListManagement"

// Provides support for managing the local authorization list in Charge Points.
var Profile = ocpp.NewProfile(
Expand Down
2 changes: 1 addition & 1 deletion ocpp1.6/reservation/reservation.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type ChargePointHandler interface {
}

// The profile name
const ProfileName = "reservation"
const ProfileName = "Reservation"

// Provides support for for reservation of a Charge Point.
var Profile = ocpp.NewProfile(
Expand Down

0 comments on commit c285716

Please sign in to comment.