I'm writing my own routines to manage the PN7150.
I have successfully managed to send the CORE_RESET_CMD command and get its correct response.
The next step has been to send the CORE_INIT_CMD command:
And when reading the response, the third byte (not counting the initial I2C control byte) which is the payload length is equal to 25 (0x19).
But according to the NCI specification it would only be 18 bytes:
Is it an error or am I confused?
Hi @dominusdrr :
There is a field called number of supported interfaces. we are giving number of interfaces, the length is depends on N. Maybe that is the reason why there is bigger amount of data.
It is possible, and it is not something critical, since in the example that I'm taking as a reference, it is only verified that the first byte is equal to 0x40 and the second is equal to 0x01, with these two values it is assumed that everything is fine and continue to the next step.
Thank you very much for answering.