You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want run the Central System (ocpp1.6) and CSMS (copp2.0.1) in one project/package with different port and handler.
But I get problem on ocppj validator when implement CSMS and Central System in one project/package even though with different port and handler using this library:
Would close the issue for now. In case more instances of conflicting validation tags between v1.6 and v2.0.1 are found, I'm happy to re-open the issue or simply accept more MRs.
Hello,
I want run the Central System (ocpp1.6) and CSMS (copp2.0.1) in one project/package with different port and handler.
But I get problem on
ocppj
validator when implement CSMS and Central System in one project/package even though with different port and handler using this library:ocpp-go/ocppj/ocppj.go
Line 19 in 7652fcf
Called in ocpp2.0.1 :
ocpp-go/ocpp2.0.1/types/types.go
Line 700 in 7652fcf
Called in ocpp1.6 :
ocpp-go/ocpp1.6/types/types.go
Line 317 in 7652fcf
I found validator on the
RegisterValidation
will override with the last called(init) of ocpp1.6 or 2.0.1 (which one is called last will override)For example on validator
triggerMessageStatus
:ocpp-go/ocpp1.6/remotetrigger/trigger_message.go
Line 113 in 7652fcf
ocpp-go/ocpp2.0.1/remotecontrol/trigger_message.go
Line 111 in 7652fcf
It will override with the last one.
Is it designed like that or can someone give me a hint/guide for this case, please.
cc: @lorenzodonini
Thx
The text was updated successfully, but these errors were encountered: