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

Bluetooth:mesh:prov_start: Invalid authentication #1526

Closed
wayen30 opened this issue Sep 16, 2017 · 6 comments
Closed

Bluetooth:mesh:prov_start: Invalid authentication #1526

wayen30 opened this issue Sep 16, 2017 · 6 comments
Assignees
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@wayen30
Copy link

wayen30 commented Sep 16, 2017

I test sample/bluetooth/mesh with a ble-board and an android phone(bluetooth mesh apk from silicon lab ).

----------------------------------------------------------------------------------
phone: Provisioning invite
----------------------------------------------------------------------------------
ble board: Provisioning capabilities: 01 01 0001 00 00 04 0008 00 0000
----------------------------------------------------------------------------------
phone: Provisioning start:
[bt] [DBG] prov_start: (0x20031114) Algorithm:   0x00
[bt] [DBG] prov_start: (0x20031114) Public Key:  0x00
[bt] [DBG] prov_start: (0x20031114) Auth Method: 0x02
[bt] [DBG] prov_start: (0x20031114) Auth Action: 0x00
[bt] [DBG] prov_start: (0x20031114) Auth Size:   0x04
----------------------------------------------------------------------------------
ble board: prov_start: Invalid authentication method: 0x02; action: 0x00; size: 0x04
----------------------------------------------------------------------------------

Is there a problem with the parameters sent from apk for provisioning start?

@Laczen
Copy link
Collaborator

Laczen commented Sep 16, 2017

Hi,

The app from silicon labs cannot handle the authentication method proposed by the mesh node. To get it working you need to change the settings in the provisioning structure:
.output_size = 0,
//.output_actions= BT_MESH_DISPLAY_NUMBER,
//.output_number = output_number,
Then it should work.

Please take into account that this provisioning method is insecure, and you should not use it in production.

@wayen30
Copy link
Author

wayen30 commented Sep 18, 2017

@Laczen thanks!
Is there any other bluetooth mesh apk?

nagineni pushed a commit to nagineni/zephyr that referenced this issue Nov 20, 2017
Now websocket clients can properly receive a close message

Signed-off-by: James Prestwood <james.prestwood@intel.com>
@LinhDNguyen
Copy link

Another way to get it works:

	.output_size = 4,
	.output_actions = BT_MESH_DISPLAY_NUMBER | BT_MESH_BEEP | BT_MESH_VIBRATE | BT_MESH_BLINK,
	.output_number = output_number,

You need to enter the OOB number (get from zephyr console) when Silicon Lab app requires.

@nashif nashif added the bug The issue is a bug, or the PR is fixing a bug label Jan 30, 2018
@jhedberg
Copy link
Member

jhedberg commented Feb 8, 2018

The SiLabs application's bug is a known one. I don't directly see any issue we can fix on the Zephyr side here. The provisioning protocol has been successfully run against all the qualification (PTS) test cases, so from the perspective the implementation should be correct.

@nashif
Copy link
Member

nashif commented Feb 8, 2018

then this bug should be closes as far as I a concerned.

@nashif nashif added the priority: low Low impact/importance bug label Feb 8, 2018
@jhedberg
Copy link
Member

Closing, since this seems to be a known issue on the SiLabs app side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

5 participants