Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HCI_LE_Read_Local_P-256_Public_Key Command Not Working on Giga R1 #377

Closed
Gokikun opened this issue Dec 11, 2024 · 1 comment
Closed

HCI_LE_Read_Local_P-256_Public_Key Command Not Working on Giga R1 #377

Gokikun opened this issue Dec 11, 2024 · 1 comment
Labels
type: imperfection Perceived defect in any part of project

Comments

@Gokikun
Copy link

Gokikun commented Dec 11, 2024

I've been adding support for Secure Connect / Passkey Pairing using an UNO R4. Specifically, the central is the arduino who is instigating the pairing and encryption with a peripheral. This is working on an UNO R4 but unfortunately, it is not working on a Giga R1.

Issuing the HCI_LE_Read_Local_P-256_Public_Key command resulted with an HCI_Command_­Status as follows:

image

According to the BLE specification, a status of 0x1 is "Unknown HCI Command".

An HCI_LE_­Read_­Local_­P-256_­Public_­Key_­Complete event was never received.

For comparison, on an UNO R4, issuing the HCI_LE_Read_Local_P-256_Public_Key command resulted with an HCI_LE_­Read_­Local_­P-256_­Public_­Key_­Complete event containing the public key. A corresponding HCI_Command_­Status was never received.

Any ideas why the above is not working on a Giga R1?

@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Dec 11, 2024
@Gokikun
Copy link
Author

Gokikun commented Dec 18, 2024

Just a short follow-up.

Looks like the cryptographic capabilities are not supported by the Murata 1DX (as far as I can tell) but handily, there is the ATECC608A.

I got going again by replacing the HCI calls such as P-256, random, and ECDH with the equivalents from the ATECC608A.

@Gokikun Gokikun closed this as completed Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants