GlobalPlatform / WebApis-for-SE

Open source Apis to access a Secure Element from a Web application
Apache License 2.0
18 stars 5 forks source link

Incorrect description of parameter 'p2' in openBasicChannel #19

Closed serianox closed 8 years ago

serianox commented 8 years ago

In subsection 11.2, for the description of openBasicChannel:

The device should allow all values for P2, however only the following values are mandatory: ‘00’, ‘04’, ‘08’, ‘0C’

Since occurrence selection is done by the WebApi, b2 and b1 can not be chosen by the web application. Only b3 and b4 can. b8 through b5 are RFU and must be set to zero. Thus the wording is incorrect, it should be allowed instead of mandatory.

The device should allow all values for P2, however only the following values are allowed: ‘00’, ‘04’, ‘08’, ‘0C’

Also, this wording is still not future-proof.

There is the same issue for openSupplementaryChannel.

opoto commented 8 years ago

Will be rephrased