OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

ocpp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [ocpp] OCPP Not Authorized Reason


I'm in agreement with Option 1 - an explict enumeration of the possible reasons a card is declined provides an easier means of conveying that to the end user (and then potentially back to a call center agent).

Anthony Martinez
Equipment Quality Engineer
EVgo - Operations
1000 N. Post Oak Rd. Ste. 240, Houston, TX 77055

From: ocpp@lists.oasis-open.org <ocpp@lists.oasis-open.org> on behalf of Robert de Leeuw <robert.de.leeuw@ihomer.nl>
Sent: Monday, November 14, 2016 03:32
To: Buve, Franc
Cc: ocpp@lists.oasis-open.org
Subject: Re: [ocpp] OCPP Not Authorized Reason
Hi Franc, (All)

Oeps: Typo, I should not work on 2 thing that look much the same: StopReason vs NotAuthorizedReason.. 

Kind regards,
Robert de Leeuw

Hoge Ham 85
5104 JC Dongen

John F. Kennedylaan 3
5555 XC Valkenswaard

T: +31 6 2857 2123
E: robert.de.leeuw@ihomer.nl

2016-11-14 9:21 GMT+01:00 Buve, Franc <franc.buve@cgi.com>:

Hi Robert,


I am in favour of extending the AuthorizationStatus enumeration. A  StopReason is something very different from a reason for not authorizing. I also got the impression that StopReason is a free format text field, which would make automated processing impossible.

We can add some fairly generic statuses to AuthorizationStatus to deal with the ‘not enough funds’ and ‘fast charging not allowed’ and similar cases.

I propose the following additions:

·        NoCredit – e.g. when pre-paid card is empty

·        SubscriptionMismatch – e.g. when using a valid card on a type of charger that is not supported by your subscription





Van: ocpp@lists.oasis-open.org [mailto:ocpp@lists.oasis-open.org] Namens Robert de Leeuw
Verzonden: zondag 13 november 2016 18:21
Aan: ocpp@lists.oasis-open.org
Onderwerp: [ocpp] OCPP Not Authorized Reason


Hi All,


There was a request for more information in the IdTagInfo class to be able to give more feedback to the EV Driver about the reason why the authorization has failed.


Use Case: An EV Driver swipes his card, the Charge Point asks the Central System if the card is allowed to charge. Computer says NO....

If a Charge Point has a display you want to show a reason to the EV driver why he/she is not allowed to Charge.


In OCPP 1.6 there are already a couple of different statuses, but these are limited. See:

- 7.27. IdTagInfo on page 98

- 7.2. AuthorizationStatus on page 85


Currently we have the following statuses:


Accepted            Identifier is allowed for charging.

Blocked              Identifier has been blocked. Not allowed for charging.

Expired               Identifier has expired. Not allowed for charging.

Invalid                 Identifier is unknown. Not allowed for charging.

ConcurrentTx     Identifier is already involved in another transaction and multiple transactions are not allowed. (Only relevant for a StartTransaction.req.)


I see 2 possible solutions: 

  • 1: Add more statuses to AuthorizationStatus
    • Pros: simple, only extend the enumeration, Charge Point can implement messages that fit the display.
    • Cons: how do we know we have all the possible reasons (Not enough pre-paid amount, Fast Charging not allowed?)
  • 2: Add a extra optional string field: StopReason to IdTagInfo.
    • Pros: everything possible reason can be given.
    • Cons: Central System needs to know display size of the Charge Point. How about non ascii-character sets, use UTF-8?. Central System might need to know the language if the user is unknown, and has select a language on the Charge Point. 

I tend to lean to option 1... All this UTF-8 and display size stuff makes a more complex solution.... But on the other hand, we might need to go into that for messages anyway....


Do you guys see a good reason why we should or should not go for one of these options?

Kind regards,
Robert de Leeuw


Hoge Ham 85

5104 JC Dongen


John F. Kennedylaan 3

5555 XC Valkenswaard

T: +31 6 2857 2123
E: robert.de.leeuw@ihomer.nl

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]