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

ble mesh v1.1 #2

Open
chegewara opened this issue Feb 23, 2024 · 0 comments
Open

ble mesh v1.1 #2

chegewara opened this issue Feb 23, 2024 · 0 comments

Comments

@chegewara
Copy link

chegewara commented Feb 23, 2024

Hi,
with mesh v.10 it seems to works. There is problem to provision mesh v1.1 device (esp32s3 with master branch)

Bluetooth Mesh v1.1 commit: [154b4fcc98]
I (635) BLE_MESH: Friend not supported
I (705) mesh-cb: ESP_BLE_MESH_PROV_REGISTER_COMP_EVT, err_code 0
I (705) mesh-cb: ESP_BLE_MESH_NODE_PROV_ENABLE_COMP_EVT, err_code 0
I (705) init-mesh: BLE Mesh Node initialized
I (705) main_task: Returned from app_main()
I (179075) mesh-cb: ESP_BLE_MESH_NODE_PROV_LINK_OPEN_EVT, bearer PB-GATT
W (179085) BLE_MESH: No Health Server context provided
I (198455) BLE_MESH: Algorithm:   0x01
I (198455) BLE_MESH: Public Key:  0x00
I (198455) BLE_MESH: Auth Method: 0x00
I (198455) BLE_MESH: Auth Action: 0x00
I (198455) BLE_MESH: Auth Size:   0x00
I (198635) BLE_MESH: Remote Random: 2bbb619f6775341c08b2a08281fe4d1d7e07d1ff9bf81e99c6206761d55297eb
E (198635) BLE_MESH: Invalid confirmation value
E (198635) BLE_MESH: Received:   cfa9530b2edbd200c4f1ae78a2c7270c7e07d1ff9bf81e99c6206761d55297eb
E (198645) BLE_MESH: Calculated: d8b2d36fc9385b32639fd0305fe7de0697ac6dd0a6a99ac349b366ea2895265c
W (199685) BLE_MESH: No Health Server context provided
W (199685) BT_HCI: hcif disc complete: hdl 0x2, rsn 0x13
I (199685) mesh-cb: ESP_BLE_MESH_NODE_PROV_LINK_CLOSE_EVT, bearer PB-GATT

Logs from android app:

V  Provisioning pdu sent: 0x03020100000000
V  X: length: 32 2072C6667D8044FD12B723224B6B6EC07E07D1FF9BF81E99C6206761D55297EB
V  Y: length: 32 B531FE2FF7C9B9D2B72BF2D336F11FBF736D84D6C635F7CB3E52485313E85783
V  XY: 0x2072C6667D8044FD12B723224B6B6EC07E07D1FF9BF81E99C6206761D55297EBB531FE2FF7C9B9D2B72BF2D336F11FBF736D84D6C635F7CB3E52485313E85783
D  onProvisioningStateChanged() PROVISIONING_PUBLIC_KEY_SENT
D  sendProvisioningPdu()
D  onCharacteristicWrite() status: 0
V  Provisioning pdu sent: 0x03032072C6667D8044FD12B723224B6B6EC07E07D1FF9BF81E99C6206761D55297EBB531FE2FF7C9B9D2B72BF2D336F11FBF736D84D6C635F7CB3E52485313E85783
D  onCharacteristicChanged() [3, 3, -68, 48, 86, -114, 124, -105, 36, 113, -26, -116, -3, 14, -3, 111, -11, -18, -25, -62, 80, -92, -57, -49, -54, -60, -37, -41, 41, -36, 113, 99, -20, -5, 105, -1, 36, 103, 99, 41, 37, -70, -46, 75, -39, 40, 116, 64, 37, 95, 123, 62, 36, 14, 44, -19, -4, -105, -65, -75, 96, 4, -96, -63, 55, 36]
V  Received provisioning message: 0x0303BC30568E7C972471E68CFD0EFD6FF5EEE7C250A4C7CFCAC4DBD729DC7163ECFB69FF2467632925BAD24BD9287440255F7B3E240E2CEDFC97BFB56004A0C13724
D  onProvisioningStateChanged() PROVISIONING_PUBLIC_KEY_RECEIVED
V  Provsionee X: BC30568E7C972471E68CFD0EFD6FF5EEE7C250A4C7CFCAC4DBD729DC7163ECFB
V  Provsionee Y: 69FF2467632925BAD24BD9287440255F7B3E240E2CEDFC97BFB56004A0C13724
V  ECDH Secret: 5313F4A23EB7FBDE0054BE24845FCAA6E6CB1DC23F100207F694DC60FDCAD5B0
V  Confirmation inputs: 05030003000000000000000001000000002072C6667D8044FD12B723224B6B6EC07E07D1FF9BF81E99C6206761D55297EBB531FE2FF7C9B9D2B72BF2D336F11FBF736D84D6C635F7CB3E52485313E85783BC30568E7C972471E68CFD0EFD6FF5EEE7C250A4C7CFCAC4DBD729DC7163ECFB69FF2467632925BAD24BD9287440255F7B3E240E2CEDFC97BFB56004A0C13724
V  Confirmation salt: 0D6A991413998761510D8A693DA4DC1B
V  Confirmation key: 15D52CCE17D451FF2EC866B19D0DF322
V  Provisioner random: 2BBB619F6775341C08B2A08281FE4D1D
V  Authentication value: 00000000000000000000000000000000
V  Provisioning confirmation: 0305CFA9530B2EDBD200C4F1AE78A2C7270C
D  onProvisioningStateChanged() PROVISIONING_CONFIRMATION_SENT
D  sendProvisioningPdu()
D  onCharacteristicWrite() status: 0
V  Provisioning pdu sent: 0x0305CFA9530B2EDBD200C4F1AE78A2C7270C
D  onCharacteristicChanged() [3, 5, 114, -124, 15, 12, 99, -90, -90, 104, 112, -87, 29, 55, 32, 15, -17, -25, 61, 23, -23, -82, 55, -6, -88, 116, 50, 124, 105, 71, -99, 89, -2, -34]
V  Received provisioning message: 0x030572840F0C63A6A66870A91D37200FEFE73D17E9AE37FAA874327C69479D59FEDE
D  onProvisioningStateChanged() PROVISIONING_CONFIRMATION_RECEIVED
V  Provisioner random PDU: 03062BBB619F6775341C08B2A08281FE4D1D
D  onProvisioningStateChanged() PROVISIONING_CONFIRMATION_SENT
D  sendProvisioningPdu()
D  onCharacteristicWrite() status: 0
V  Provisioning pdu sent: 0x03062BBB619F6775341C08B2A08281FE4D1D
D  onCharacteristicChanged() [3, 9, 4]
V  Received provisioning message: 0x030904
D  onProvisioningFailed() PROVISIONING_FAILED

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant