Giter VIP home page Giter VIP logo

Comments (19)

VR-123 avatar VR-123 commented on September 2, 2024 1

Thanks for your updated app we tested the updated App and found that it is working fine for
CLIENT_MODEL_INSTANCE_COUNT = 6, which we asked for.

Now, we experimented the proxy client with the mobile app, by increasing the CLIENT_MODEL_INSTANCE_COUNT. It worked till 9 but after count 10 it was failing to provision the proxy client.

Is there any limitation on 'element count or model count' for the provisioner app in provisioning of proxy client or server?

Say if we want to develop a proxy server or proxy client with 10 elements and each element having 7 models each. Will the provisioner app support this scenario?

Please check below nrfMesh Mobile App and proxy_client (with count = 20) device app logs :

nrfMesh Mobile App logs :

Discovered mesh provisioning service
Discovering characteristics for provisioning service
Discovered data in charcateristic
Discovered data out characteristic
030000
Received capabilities provisioning message
Element count: 21,Algorithm: fipsp256EllipticCurve, PublicKeyAvailable: publicKeyInformationUnavailable, StaticOOBAvailable: staticOutOfBoundInformationAvailable, OutputOOBSize: 0, OutputOOBAction: noOutput, InputOOBSize: 0, inputOOBACtion: noInput
Executing Start provision PDU
Provision Start PDU Sent: 03020000000000
Executing public key provision PDU
generating keypair
keypair generated
No SAR needed, maximum write length for write without response 66
Received an unsegmented device public key
Public Key = C6B34656780894C87098280F63BE363592DD048A4663DA814A65A78CE3B5FB40AAB6A41CBED8A9BF98F6A716027767E8172E63C8E92F39609ABBEFE63FE4FF61
No OutputOOB capabilities
confirmationInputs: 0015000100010000000000000000000000BDF842D64A5457A0DD66397F05FC68A22264FCFB7DEC619EEAC918F14B8351A031DD6788EC1712A587AAC2DC30B9B70B95F60BA3ECC99D98F180BDB12191950FC6B34656780894C87098280F63BE363592DD048A4663DA814A65A78CE3B5FB40AAB6A41CBED8A9BF98F6A716027767E8172E63C8E92F39609ABBEFE63FE4FF61
Salt: 9FE3107B95E63ECD53EBF2565CE24007
ecdh: 771D2D73005CD8E328D574E383DB41733DA2393FC91F7EA55835E26C9398D0F5
confirmationKey: 1393B61D0BE39C10C25F69D15F9E869E
authBytes: 16 bytes
ConfirmationVal: 9796F70B3D8B3F7CDBDDF1EB46199C33
randomProv: F2DECCC92AABC80B46A383590F1096AF
Confirmation PDU sent: 03059796F70B3D8B3F7CDBDDF1EB46199C33
Provisioning Salt = B86CAAB3BB18B45E5E9F143F29225A0E
Session Key = 29F35F110BC426253D09AFD10D8BF177
Session Nonce = 00B86D72F861D227488CD77703
NetKey = 06D7E16A2939838692D8BF411208690C
DeviceKey = 2A4FA687A9CEF5A6822E0CE0510E752C
KeyIndex = 0000
Flags = 00
IV Index = 00000000
Unicast Address = 0001
Provisioning data: 06D7E16A2939838692D8BF411208690C000000000000000001
Provisioning data PDU: 0307B0C2E1F3A7E62A84172085905D5B8A78E29006A41E6C556E7CBDCF363E069D0432
No segmentation necessary to send provisioning data, write length = 66
0308
Provisioning succeeded, will delay 1 second to check if service change
No services chagned, a reconnect is needed
Discovered mesh proxy service
Discovering characteristics for provisioning service
Discovered data in charcateristic
Discovered data out characteristic
Ready to send 1 payloads
Composition get message to set:003126815F6D1B4D57ADE3D74995E2DAA7F4DBB96BB7
Cahrcateristic value updated: 0101006B1DE31CFD251358000000001A7FC18E4B18E79D
Secure beacon: 0101006B1DE31CFD251358000000001A7FC18E4B18E79D
Cahrcateristic value updated: 0031C72EB0F3D6E0607E6026E73F5B6105620E40585E02DB5793AC98B885
PDU: 31C72EB0F3D6E0607E6026E73F5B6105620E40585E02DB5793AC98B885
encPDU: 607E6026E73F5B6105620E40585E02DB5793
netMic: AC98B885
Sequence: 000004, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000008F2B882AA6BEF139CAB1B31809
szMIC = 00, seqZero = 0000, segO = 04, segN = 0F, segment = 2B882AA6BEF139CAB1B31809, sequence: 000004
segment timer start at DispatchTime(rawValue: 4840154087629)
Cahrcateristic value updated: 0031263897A629A44C445E0E85BA91D34B9CF497097D84A32275D1A96BB0
PDU: 31263897A629A44C445E0E85BA91D34B9CF497097D84A32275D1A96BB0
encPDU: 4C445E0E85BA91D34B9CF497097D84A32275
netMic: D1A96BB0
Sequence: 000005, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 0123800000AFFEC4FFC1F1A5F189F720F6BF
szMIC = 00, seqZero = 0000, segO = 05, segN = 0F, segment = FEC4FFC1F1A5F189F720F6BF, sequence: 000005
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 003105947CD44698BC43CABE20A68996CF13904520798DA862E3DEAEE265
PDU: 3105947CD44698BC43CABE20A68996CF13904520798DA862E3DEAEE265
encPDU: BC43CABE20A68996CF13904520798DA862E3
netMic: DEAEE265
Sequence: 000006, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 0123800000CFC79BB026774A33978F2F1B99
szMIC = 00, seqZero = 0000, segO = 06, segN = 0F, segment = C79BB026774A33978F2F1B99, sequence: 000006
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 003168CE37DEE87978B40225C1E2AC02B3C0CB637BBA0A5483ECECB92932
PDU: 3168CE37DEE87978B40225C1E2AC02B3C0CB637BBA0A5483ECECB92932
encPDU: 78B40225C1E2AC02B3C0CB637BBA0A5483EC
netMic: ECB92932
Sequence: 000007, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 0123800000EFA82224C8CBB309A60E59ABB1
szMIC = 00, seqZero = 0000, segO = 07, segN = 0F, segment = A82224C8CBB309A60E59ABB1, sequence: 000007
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031A80D4CC6A75A552B9C38DF82AF2D427288BD7ED1AEFA315FEB7EA0ED
PDU: 31A80D4CC6A75A552B9C38DF82AF2D427288BD7ED1AEFA315FEB7EA0ED
encPDU: 552B9C38DF82AF2D427288BD7ED1AEFA315F
netMic: EB7EA0ED
Sequence: 000008, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000010FE9B62174483617F3386C98D9
szMIC = 00, seqZero = 0000, segO = 00, segN = 0F, segment = E9B62174483617F3386C98D9, sequence: 000008
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 003123C74AEB768B8E8DB83298A62714E04B0500A04C77C8B1EACCF1B622
PDU: 3123C74AEB768B8E8DB83298A62714E04B0500A04C77C8B1EACCF1B622
encPDU: 8E8DB83298A62714E04B0500A04C77C8B1EA
netMic: CCF1B622
Sequence: 00000C, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000018F06E263B192197E32AFCCD9DB
szMIC = 00, seqZero = 0000, segO = 04, segN = 0F, segment = 06E263B192197E32AFCCD9DB, sequence: 00000C
segment 04 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 003182AC19E9FFB12D3C81E34D35BE7BA6B0923FD1A6
PDU: 3182AC19E9FFB12D3C81E34D35BE7BA6B0923FD1A6
encPDU: 2D3C81E34D35BE7BA6B0
netMic: 923FD1A6
Sequence: 00000F, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 10
decrypted network PDU = 0123800001EF79CAD821
szMIC = 00, seqZero = 0000, segO = 07, segN = 0F, segment = 79CAD821, sequence: 00000F
segment 07 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00315AA2010C5BC84031D828EB1FA93703AE56166E35EA08E2FA23CDCB49
PDU: 315AA2010C5BC84031D828EB1FA93703AE56166E35EA08E2FA23CDCB49
encPDU: 4031D828EB1FA93703AE56166E35EA08E2FA
netMic: 23CDCB49
Sequence: 000010, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000000F969713A60CC0472EB47D0553
szMIC = 00, seqZero = 0000, segO = 00, segN = 0F, segment = 969713A60CC0472EB47D0553, sequence: 000010
segment 00 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 003155D263CFF08AA0802DBF71212BC9663B32B86DA7816334F6576418BE
PDU: 3155D263CFF08AA0802DBF71212BC9663B32B86DA7816334F6576418BE
encPDU: A0802DBF71212BC9663B32B86DA7816334F6
netMic: 576418BE
Sequence: 000011, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000002F2370F8467B1EF8E936960079
szMIC = 00, seqZero = 0000, segO = 01, segN = 0F, segment = 2370F8467B1EF8E936960079, sequence: 000011
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031A07153969BFBD1D61308FAC90F1EDFA5670B53D9383B4FF294DDAA3E
PDU: 31A07153969BFBD1D61308FAC90F1EDFA5670B53D9383B4FF294DDAA3E
encPDU: D1D61308FAC90F1EDFA5670B53D9383B4FF2
netMic: 94DDAA3E
Sequence: 000012, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000004FC9B87998FA472D193F2F92B9
szMIC = 00, seqZero = 0000, segO = 02, segN = 0F, segment = C9B87998FA472D193F2F92B9, sequence: 000012
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00311C2BAFC0D61CF25B66EE899DCDAFBBCEAF5DCC7FF47503C35A27D992
PDU: 311C2BAFC0D61CF25B66EE899DCDAFBBCEAF5DCC7FF47503C35A27D992
encPDU: F25B66EE899DCDAFBBCEAF5DCC7FF47503C3
netMic: 5A27D992
Sequence: 000013, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000006F179F929F92E3BEE2D6C894C2
szMIC = 00, seqZero = 0000, segO = 03, segN = 0F, segment = 179F929F92E3BEE2D6C894C2, sequence: 000013
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031B880DECC2211966F9953F9206622F076AA26B7CE80D87588616BB10D
PDU: 31B880DECC2211966F9953F9206622F076AA26B7CE80D87588616BB10D
encPDU: 966F9953F9206622F076AA26B7CE80D87588
netMic: 616BB10D
Sequence: 000014, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000008F2B882AA6BEF139CAB1B31809
szMIC = 00, seqZero = 0000, segO = 04, segN = 0F, segment = 2B882AA6BEF139CAB1B31809, sequence: 000014
segment 04 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00319E4CA164C2649B00CD3A41C946ABEBE38A0C88DAA68A19AEC70FDBF7
PDU: 319E4CA164C2649B00CD3A41C946ABEBE38A0C88DAA68A19AEC70FDBF7
encPDU: 9B00CD3A41C946ABEBE38A0C88DAA68A19AE
netMic: C70FDBF7
Sequence: 000017, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 0123800000EFA82224C8CBB309A60E59ABB1
szMIC = 00, seqZero = 0000, segO = 07, segN = 0F, segment = A82224C8CBB309A60E59ABB1, sequence: 000017
segment 07 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031799C38A3102CFF56A7D18B9AB84FEA42E7C72A4E867CC11B9720952D
PDU: 31799C38A3102CFF56A7D18B9AB84FEA42E7C72A4E867CC11B9720952D
encPDU: FF56A7D18B9AB84FEA42E7C72A4E867CC11B
netMic: 9720952D
Sequence: 00001C, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000018F06E263B192197E32AFCCD9DB
szMIC = 00, seqZero = 0000, segO = 04, segN = 0F, segment = 06E263B192197E32AFCCD9DB, sequence: 00001C
segment 04 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 003134169C548B5D4DF8F3547810802192E84B6CAA0B88D550B6BC2A441A
PDU: 3134169C548B5D4DF8F3547810802192E84B6CAA0B88D550B6BC2A441A
encPDU: 4DF8F3547810802192E84B6CAA0B88D550B6
netMic: BC2A441A
Sequence: 000020, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000000F969713A60CC0472EB47D0553
szMIC = 00, seqZero = 0000, segO = 00, segN = 0F, segment = 969713A60CC0472EB47D0553, sequence: 000020
segment 00 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00315CCA8B82561E382719DDD181D0EFD8AB8829C39AD82DD6F0E50A98C8
PDU: 315CCA8B82561E382719DDD181D0EFD8AB8829C39AD82DD6F0E50A98C8
encPDU: 382719DDD181D0EFD8AB8829C39AD82DD6F0
netMic: E50A98C8
Sequence: 000021, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000002F2370F8467B1EF8E936960079
szMIC = 00, seqZero = 0000, segO = 01, segN = 0F, segment = 2370F8467B1EF8E936960079, sequence: 000021
segment 01 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00316E175D61BFAEF14F035C6820B4119ACD5C24088D5491E4D15DC6BEA4
PDU: 316E175D61BFAEF14F035C6820B4119ACD5C24088D5491E4D15DC6BEA4
encPDU: F14F035C6820B4119ACD5C24088D5491E4D1
netMic: 5DC6BEA4
Sequence: 000022, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000004FC9B87998FA472D193F2F92B9
szMIC = 00, seqZero = 0000, segO = 02, segN = 0F, segment = C9B87998FA472D193F2F92B9, sequence: 000022
segment 02 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031193E11E0A9E2AE469779599F31378A02DED3774A3ABC787D1CF82833
PDU: 31193E11E0A9E2AE469779599F31378A02DED3774A3ABC787D1CF82833
encPDU: AE469779599F31378A02DED3774A3ABC787D
netMic: 1CF82833
Sequence: 000023, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000006F179F929F92E3BEE2D6C894C2
szMIC = 00, seqZero = 0000, segO = 03, segN = 0F, segment = 179F929F92E3BEE2D6C894C2, sequence: 000023
segment 03 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00317B1D228DB3A51DAD3F14B10832883E42551FDED2891F9FCFD6E6D1AB
PDU: 317B1D228DB3A51DAD3F14B10832883E42551FDED2891F9FCFD6E6D1AB
encPDU: 1DAD3F14B10832883E42551FDED2891F9FCF
netMic: D6E6D1AB
Sequence: 000024, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000008F2B882AA6BEF139CAB1B31809
szMIC = 00, seqZero = 0000, segO = 04, segN = 0F, segment = 2B882AA6BEF139CAB1B31809, sequence: 000024
segment 04 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031A2011918340D444B4993E315A2C833047A19043D6F30DEDB114191D2
PDU: 31A2011918340D444B4993E315A2C833047A19043D6F30DEDB114191D2
encPDU: 444B4993E315A2C833047A19043D6F30DEDB
netMic: 114191D2
Sequence: 000027, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 0123800000EFA82224C8CBB309A60E59ABB1
szMIC = 00, seqZero = 0000, segO = 07, segN = 0F, segment = A82224C8CBB309A60E59ABB1, sequence: 000027
segment 07 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031393B342D9234C47850E4FA80F23A91F494EB26814A9B99143AF186A5
PDU: 31393B342D9234C47850E4FA80F23A91F494EB26814A9B99143AF186A5
encPDU: C47850E4FA80F23A91F494EB26814A9B9914
netMic: 3AF186A5
Sequence: 00002A, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000014FFB7EDF3EEC27AD4EEDEE2FBA
szMIC = 00, seqZero = 0000, segO = 02, segN = 0F, segment = FB7EDF3EEC27AD4EEDEE2FBA, sequence: 00002A
segment 02 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00313EC08F5BB482CCDA5BFCABDAB826FEB0E361CBC6B73DD564177AC2FB
PDU: 313EC08F5BB482CCDA5BFCABDAB826FEB0E361CBC6B73DD564177AC2FB
encPDU: CCDA5BFCABDAB826FEB0E361CBC6B73DD564
netMic: 177AC2FB
Sequence: 00002E, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 0123800001CF6C6AE9C28C89FA1031E438BC
szMIC = 00, seqZero = 0000, segO = 06, segN = 0F, segment = 6C6AE9C28C89FA1031E438BC, sequence: 00002E
segment 06 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00317D6C6F113A9A97E6BB670FE1857661290C85B4162D7B696B640DB9EE
PDU: 317D6C6F113A9A97E6BB670FE1857661290C85B4162D7B696B640DB9EE
encPDU: 97E6BB670FE1857661290C85B4162D7B696B
netMic: 640DB9EE
Sequence: 000030, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000000F969713A60CC0472EB47D0553
szMIC = 00, seqZero = 0000, segO = 00, segN = 0F, segment = 969713A60CC0472EB47D0553, sequence: 000030
segment 00 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031B1E37708B80BF15E479787B067DFDFE273E28E43E92D32E01CFAEA7A
PDU: 31B1E37708B80BF15E479787B067DFDFE273E28E43E92D32E01CFAEA7A
encPDU: F15E479787B067DFDFE273E28E43E92D32E0
netMic: 1CFAEA7A
Sequence: 000031, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000002F2370F8467B1EF8E936960079
szMIC = 00, seqZero = 0000, segO = 01, segN = 0F, segment = 2370F8467B1EF8E936960079, sequence: 000031
segment 01 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031DED3C8B376225BA71F71F05CE6F70D6C088073C548BD990338FCACF8
PDU: 31DED3C8B376225BA71F71F05CE6F70D6C088073C548BD990338FCACF8
encPDU: 5BA71F71F05CE6F70D6C088073C548BD9903
netMic: 38FCACF8
Sequence: 000032, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000004FC9B87998FA472D193F2F92B9
szMIC = 00, seqZero = 0000, segO = 02, segN = 0F, segment = C9B87998FA472D193F2F92B9, sequence: 000032
segment 02 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031D6FA2563C4F3274A88309A3884B40994F4AAF8CD7AA09A0C693CBFF4
PDU: 31D6FA2563C4F3274A88309A3884B40994F4AAF8CD7AA09A0C693CBFF4
encPDU: 274A88309A3884B40994F4AAF8CD7AA09A0C
netMic: 693CBFF4
Sequence: 000033, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000006F179F929F92E3BEE2D6C894C2
szMIC = 00, seqZero = 0000, segO = 03, segN = 0F, segment = 179F929F92E3BEE2D6C894C2, sequence: 000033
segment 03 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031B5D65DDB417EA887C6C4258319E19166C13B991097D81A19B4DC44EA
PDU: 31B5D65DDB417EA887C6C4258319E19166C13B991097D81A19B4DC44EA
encPDU: A887C6C4258319E19166C13B991097D81A19
netMic: B4DC44EA
Sequence: 000034, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000008F2B882AA6BEF139CAB1B31809
szMIC = 00, seqZero = 0000, segO = 04, segN = 0F, segment = 2B882AA6BEF139CAB1B31809, sequence: 000034
segment 04 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 003112D23A37B88A07F41A9A867EDB39133AA1E6A8467536CBAA39B9309B
PDU: 3112D23A37B88A07F41A9A867EDB39133AA1E6A8467536CBAA39B9309B
encPDU: 07F41A9A867EDB39133AA1E6A8467536CBAA
netMic: 39B9309B
Sequence: 000037, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 0123800000EFA82224C8CBB309A60E59ABB1
szMIC = 00, seqZero = 0000, segO = 07, segN = 0F, segment = A82224C8CBB309A60E59ABB1, sequence: 000037
segment 07 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00317A6A88D62D98B770F9F01D03292AFA11CD575545D4CB9F59902395E7
PDU: 317A6A88D62D98B770F9F01D03292AFA11CD575545D4CB9F59902395E7
encPDU: B770F9F01D03292AFA11CD575545D4CB9F59
netMic: 902395E7
Sequence: 00003A, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000014FFB7EDF3EEC27AD4EEDEE2FBA
szMIC = 00, seqZero = 0000, segO = 02, segN = 0F, segment = FB7EDF3EEC27AD4EEDEE2FBA, sequence: 00003A
segment 02 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031C72A44EAF9D212EADC78A8CE530F4E2C5EDF733D3B6E1E9BE0B95A03
PDU: 31C72A44EAF9D212EADC78A8CE530F4E2C5EDF733D3B6E1E9BE0B95A03
encPDU: 12EADC78A8CE530F4E2C5EDF733D3B6E1E9B
netMic: E0B95A03
Sequence: 00003E, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 0123800001CF6C6AE9C28C89FA1031E438BC
szMIC = 00, seqZero = 0000, segO = 06, segN = 0F, segment = 6C6AE9C28C89FA1031E438BC, sequence: 00003E
segment 06 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031643CACD9A78C08AEA8E88CFA2955C6F42CA364CF6EF135FA6F0E46F7
PDU: 31643CACD9A78C08AEA8E88CFA2955C6F42CA364CF6EF135FA6F0E46F7
encPDU: 08AEA8E88CFA2955C6F42CA364CF6EF135FA
netMic: 6F0E46F7
Sequence: 000040, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000000F969713A60CC0472EB47D0553
szMIC = 00, seqZero = 0000, segO = 00, segN = 0F, segment = 969713A60CC0472EB47D0553, sequence: 000040
segment 00 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031DCD982881AA8BB76AF69CA1B01FC2B5164BE459E5A2F4B018412E5F0
PDU: 31DCD982881AA8BB76AF69CA1B01FC2B5164BE459E5A2F4B018412E5F0
encPDU: BB76AF69CA1B01FC2B5164BE459E5A2F4B01
netMic: 8412E5F0
Sequence: 000041, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000002F2370F8467B1EF8E936960079
szMIC = 00, seqZero = 0000, segO = 01, segN = 0F, segment = 2370F8467B1EF8E936960079, sequence: 000041
segment 01 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031089370C7C4DEB8395A44FE277ACBDB362B3BB161E0DBB3318B5D9B90
PDU: 31089370C7C4DEB8395A44FE277ACBDB362B3BB161E0DBB3318B5D9B90
encPDU: B8395A44FE277ACBDB362B3BB161E0DBB331
netMic: 8B5D9B90
Sequence: 000042, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000004FC9B87998FA472D193F2F92B9
szMIC = 00, seqZero = 0000, segO = 02, segN = 0F, segment = C9B87998FA472D193F2F92B9, sequence: 000042
segment 02 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031177BFCFD0AC9897C8EB3C26526A7E0913F5BA7FF9B81346E29FD084B
PDU: 31177BFCFD0AC9897C8EB3C26526A7E0913F5BA7FF9B81346E29FD084B
encPDU: 897C8EB3C26526A7E0913F5BA7FF9B81346E
netMic: 29FD084B
Sequence: 000043, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000006F179F929F92E3BEE2D6C894C2
szMIC = 00, seqZero = 0000, segO = 03, segN = 0F, segment = 179F929F92E3BEE2D6C894C2, sequence: 000043
segment 03 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 0031968FF44406ABB13A3B43384D42A4F33B2F1AC8041D3ED041FAF1B485
PDU: 31968FF44406ABB13A3B43384D42A4F33B2F1AC8041D3ED041FAF1B485
encPDU: B13A3B43384D42A4F33B2F1AC8041D3ED041
netMic: FAF1B485
Sequence: 000044, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000008F2B882AA6BEF139CAB1B31809
szMIC = 00, seqZero = 0000, segO = 04, segN = 0F, segment = 2B882AA6BEF139CAB1B31809, sequence: 000044
segment 04 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00311069D73512715E2B2C4ABB05F9F8AA725259F357FF09E2BE599BE4BF
PDU: 311069D73512715E2B2C4ABB05F9F8AA725259F357FF09E2BE599BE4BF
encPDU: 5E2B2C4ABB05F9F8AA725259F357FF09E2BE
netMic: 599BE4BF
Sequence: 000046, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 0123800000CFC79BB026774A33978F2F1B99
szMIC = 00, seqZero = 0000, segO = 06, segN = 0F, segment = C79BB026774A33978F2F1B99, sequence: 000046
segment 06 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 00314E283E52D0FD0514D8AB194FD647DB037418D68D029EED061A06EE3B
PDU: 314E283E52D0FD0514D8AB194FD647DB037418D68D029EED061A06EE3B
encPDU: 0514D8AB194FD647DB037418D68D029EED06
netMic: 1A06EE3B
Sequence: 00004A, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000014FFB7EDF3EEC27AD4EEDEE2FBA
szMIC = 00, seqZero = 0000, segO = 02, segN = 0F, segment = FB7EDF3EEC27AD4EEDEE2FBA, sequence: 00004A
segment 02 already received.
Received unordered message, waiting for rest of messages
Cahrcateristic value updated: 003130104D82A6C24AC4F16CB4CF2FBBE38CDB7091EB45D311FAF40F6B23
PDU: 3130104D82A6C24AC4F16CB4CF2FBBE38CDB7091EB45D311FAF40F6B23
encPDU: 4AC4F16CB4CF2FBBE38CDB7091EB45D311FA
netMic: F40F6B23
Sequence: 00004D, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 0123800001AFB04D07CF070FF345217C5CE5
szMIC = 00, seqZero = 0000, segO = 05, segN = 0F, segment = B04D07CF070FF345217C5CE5, sequence: 00004D
segment 05 already received.
Received unordered message, waiting for rest of messages

proxy_client device app log :

<t: 0>, main.c, 290, ----- BLE Mesh Light Switch Client Demo -----
<t: 558>, main.c, 239, Initializing and adding models
<t: 4956>, main.c, 329, Device UUID : 0059ABCDEFABCDEFACCDEFABCDEFABCD

<t: 791177>, main.c, 117, Successfully provisioned
<t: 791180>, main.c, 121, Node Address: 0x0001
<t: 355395>, access.c, 291, RX: [aop: 0x8008]
<t: 355406>, nrf_mesh.c, 430, nrf_mesh_packet_send
<t: 355455>, access.c, 477, TX: [aop: 0x0002]
<t: 355459>, access.c, 478, TX: Msg: 0059000000000020000100000002000000020000000001590001000000000159000100000000015900010000000001590001000000000159000100000000015900010000000001590001000000000159000100000000015900010000000001590001000000000159000100000000015900010000000001590001000000000159000100000000015900010000000001590001000000000159000100000000015900010000000001590001000000000159000100

Also find attached application firmware.

light_switch_proxy_client_nrf52832_xxAA_s132_6.0.0.hex.zip

Thanks for your help.

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

Sorry fot the late response!, seems like you're probably setting the count but not setting the models properly, can you show the composition data you receive and confirm that it is properly formatted ?

from ios-nrf-mesh-library.

VR-123 avatar VR-123 commented on September 2, 2024

Thanks for your reply.
Please find below nrfMesh Mobile App and proxy_client device app Logs.

Composition data is highlighted in the proxy_client device app log section.

nrfMesh Mobile App debug log:

connected
Unprovisioned node connected, discover.
started discovery
Discovered mesh provisioning service
Discovering characteristics for provisioning service
Discovered data in charcateristic
Discovered data out characteristic
discovery completed
provisioning started
030000
provision invite data: 0x00
Received capabilities provisioning message
Element count: 6,Algorithm: fipsp256EllipticCurve, PublicKeyAvailable: publicKeyInformationUnavailable, StaticOOBAvailable: staticOutOfBoundInformationAvailable, OutputOOBSize: 0, OutputOOBAction: noOutput, InputOOBSize: 0, inputOOBACtion: noInput
capabilities : 0x0600010001000000000000
switched provisioning state: ProvisioningStart
Executing Start provision PDU
Provision Start PDU Sent: 03020000000000
provision start data: 0x0000000000
switched provisioning state: Public Key
Executing public key provision PDU
generating keypair
keypair generated
keypare generated, pubkey: 0x47E1E21E69246A7467CA8415A3982E19467B039320E297ACEA103E786EE8D77DFFD8DEFBB807CEF16E7FBD403206F2F8242825CF7E794031527667FA8182A703
No SAR needed, maximum write length for write without response 66
PubKey Data: 47E1E21E69246A7467CA8415A3982E19467B039320E297ACEA103E786EE8D77DFFD8DEFBB807CEF16E7FBD403206F2F8242825CF7E794031527667FA8182A703
Received an unsegmented device public key
Public Key = FBE64954B4B1A2AB791D4257B7D2EB47C88A08C457ACD9D1F09929055112A937ECCB953383CB2F9E3D6318143F17171E177384D239A5BC414C7C1C168403DEEF
device public key: 0xFBE64954B4B1A2AB791D4257B7D2EB47C88A08C457ACD9D1F09929055112A937ECCB953383CB2F9E3D6318143F17171E177384D239A5BC414C7C1C168403DEEF
ECDH=F0EECFAA7BA2011250BFA11276B86E5DB144EB7AC378D01616FA9D87FDBC413D
calculated DHKey: 0xF0EECFAA7BA2011250BFA11276B86E5DB144EB7AC378D01616FA9D87FDBC413D
switched provisioning state: Provisioning confirmation
No OutputOOB capabilities
confirmationInputs: 000600010001000000000000000000000047E1E21E69246A7467CA8415A3982E19467B039320E297ACEA103E786EE8D77DFFD8DEFBB807CEF16E7FBD403206F2F8242825CF7E794031527667FA8182A703FBE64954B4B1A2AB791D4257B7D2EB47C88A08C457ACD9D1F09929055112A937ECCB953383CB2F9E3D6318143F17171E177384D239A5BC414C7C1C168403DEEF
Salt: 91B24645C1A3C18A4C3CB489B995788E
ecdh: F0EECFAA7BA2011250BFA11276B86E5DB144EB7AC378D01616FA9D87FDBC413D
confirmationKey: A2B78F6E1FD61C099135D56ED1C4FFEE
authBytes: 16 bytes
input complete: 0x00000000000000000000000000000000
provisioner confirmation: 0x127FF63FB2DDFC56FF07AAC7BF6CD316
ConfirmationVal: 127FF63FB2DDFC56FF07AAC7BF6CD316
provisioner random: 0x77B8DE1D81EEE640FAB6638072907305
randomProv: 77B8DE1D81EEE640FAB6638072907305
Confirmation PDU sent: 0305127FF63FB2DDFC56FF07AAC7BF6CD316
provisioner confirmation: 0x07271BC37E963C785A84AF9B53CA7D64
switched provisioning state: Random confirmation
device random: 0x1C600674D9A8EE1D87192814D1C6493B
switched provisioning state: Provisioning data
Provisioning Salt = 325F85DE22E53556DEE900B9822ABA43
Session Key = 0E6F4AA71C92074C5E01148DC268E981
Session Nonce = 2B01F9ACAFB38DF85CC2985195
NetKey = E61BF9B84E5BDCDB7008A3E0ED60251A
DeviceKey = 09693B4A5150CEF934FE2F039751209A
KeyIndex = 0000
Flags = 00
IV Index = 00000000
Unicast Address = 0001
Provisioning data: E61BF9B84E5BDCDB7008A3E0ED60251A000000000000000001
Provisioning data PDU: 0307C651C6BEDBA3C3D76039B7E5B1DE7EF7EAE7C3A40010C6610A12EF681E2FF53239
No segmentation necessary to send provisioning data, write length = 66
0308
Provisioning succeeded, will delay 1 second to check if service change
No services chagned, a reconnect is needed
provisioning succeeded
Starting discovery to scan Provisioned Proxy node
Started scanning for Proxy...
disconnected
found proxy node with node id: 01DD25F85A0E3411FF39A51D445EAB7558
verifying NodeID: 01DD25F85A0E3411FF39A51D445EAB7558
node identity verified!
unicast found: 0001
Provisioned proxy node connected, start discovery
Discovered mesh proxy service
Discovering characteristics for provisioning service
Discovered data in charcateristic
Discovered data out characteristic
Provisioned node discovery completed!
Ready to send 1 payloads
Composition get message to set:007676CF6E9EB987EFFC77FF87A2D9C860780B58F6E7
Cahrcateristic value updated: 010100FA1DB5C09417C8E2000000007F25FEBD3C73C0DC
Secure beacon: 010100FA1DB5C09417C8E2000000007F25FEBD3C73C0DC
Cahrcateristic value updated: 0076D09F8C4D671E08352F77748C3A81E1875FCF5BDF53F406D1BC3FA26F
PDU: 76D09F8C4D671E08352F77748C3A81E1875FCF5BDF53F406D1BC3FA26F
encPDU: 08352F77748C3A81E1875FCF5BDF53F406D1
netMic: BC3FA26F
Sequence: 000004, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 18
decrypted network PDU = 01238000008536C19FDF0C929A7D4AE91B2C
szMIC = 00, seqZero = 0000, segO = 04, segN = 05, segment = 36C19FDF0C929A7D4AE91B2C, sequence: 000000
Partial incomind PDU count = 0
received part 04 of 05, SeqZero = 0000.
Cahrcateristic value updated: 0076A21E68F0722D7C938D7DFBA509A3702210F673C0
PDU: 76A21E68F0722D7C938D7DFBA509A3702210F673C0
encPDU: 7C938D7DFBA509A37022
netMic: 10F673C0
Sequence: 000005, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 10
decrypted network PDU = 0123800000A5BC2AE187
szMIC = 00, seqZero = 0000, segO = 05, segN = 05, segment = BC2AE187, sequence: 000000
Partial incomind PDU count = 1
received last part 05 of 05, SeqZero = 0000, reassembling
Sending acknowledgement: 007635A6FB6FB1A629218A19E36A1856F9F025BDD40083C3FC
decryption failuer, or no payload
Assembling access message
opcode: 0x

Switching state to AppKey Add
Full app key PDU: 0076A659E7E305E365F467AC2A514BB5D1E1D1737D226052DFF3748C67E5
Sending app key data: 0076A659E7E305E365F467AC2A514BB5D1E1D1737D226052DFF3748C67E5
Full app key PDU: 0076B560DA43DCFEDB3AAA275B7724BA7CCA823F71F1A1F60C31254C4BE6
Sending app key data: 0076B560DA43DCFEDB3AAA275B7724BA7CCA823F71F1A1F60C31254C4BE6
Cahrcateristic value updated: 0076A2CC1E38145D22507383D8E4D6E1655CFE188E94C17D3C
PDU: 76A2CC1E38145D22507383D8E4D6E1655CFE188E94C17D3C
encPDU: 22507383D8E4D6E165
netMic: 5CFE188E94C17D3C
Sequence: 000006, SRC: 0001, ttl: 08, MICSize: 8, encpduSz: 9
decrypted network PDU = 012300002000000003
Control message, TBD
Assemble control message 0x00, 0x00000003
Cahrcateristic value updated: 00761F753E6C487EABDB78D810E415820F3144D6B7C02D6863
PDU: 761F753E6C487EABDB78D810E415820F3144D6B7C02D6863
encPDU: ABDB78D810E415820F3144D6B7
netMic: C02D6863
Sequence: 000007, SRC: 0001, ttl: 1E, MICSize: 4, encpduSz: 13
decrypted network PDU = 01230057472418EE41741C4748
Assembling access message
opcode: 0x8003
Received app key status messasge
Status code: Success
Appkey index: 0000
netKey index: 0000
AppKeyData:0000
Configuration completed!

proxy_client device app log :

<t: 0>, main.c, 290, ----- BLE Mesh Light Switch Client Demo -----
<t: 571>, main.c, 239, Initializing and adding models
<t: 4979>, main.c, 329, Device UUID : 0059ABCDEFABCDEFACCDEFABCDEFABCD

<t: 838359>, main.c, 117, Successfully provisioned
<t: 838362>, main.c, 121, Node Address: 0x0001

<t: 356385>, access.c, 291, RX: [aop: 0x8008]
<t: 356390>, nrf_mesh.c, 430, nrf_mesh_packet_send
<t: 356426>, access.c, 477, TX: [aop: 0x0002]
<t: 356430>, access.c, 478, TX: Msg: 0059000000000020000100000002000000020000000001590001000000000159000100000000015900010000000001590001000000000159000100

<t: 541250>, access.c, 291, RX: [aop: 0x0000]
<t: 541259>, nrf_mesh.c, 430, nrf_mesh_packet_send
<t: 541270>, access.c, 477, TX: [aop: 0x8003]
<t: 541273>, access.c, 478, TX: Msg: 00000000

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

Ok let me verify that and get back to you, I feel that the Composition data is incorrect, but let's confirm first

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

It's indeed correct, i think the issue is related to a bug I discovered today in sequence numbers, i'm pushing a fix later today and will ping you here when it's ready, let me know if that works :)

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

if it's also possible for you to send me a firmware that reproduces the issue ? if not that's totally fine

from ios-nrf-mesh-library.

VR-123 avatar VR-123 commented on September 2, 2024

Hello,
Please find attached application firmware. Softdevice is not merged with this hex.

light_switch_proxy_client_nrf52832_xxAA_s132_6.0.0.hex.zip

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

perfect! i'll give that a test now and let you know.

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

Sorry for the late update, I reproduced the issue yesterday, seems like something goes wrong with Sequence numbers. I'll be working today on getting a fix for that out! and will update the issue, thanks a lot for your help!

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

I pushed an update now that will fix your issue, please check it out by building from develop, this fix will be included in the next release if no further issues arises.

Thanks a lot for your patience and help with debugging.

Please feel free to close this issue as soon as you confirm it has been resolved for you.

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

Thanks for trying that ! Actually there shouldn’t be any limitations and what you’re doing should work, from a quick look at the logs it seems like we still have the bug, most probably for acknowledging segments that weren’t received. I’ll work on that today and update you as soon as a fix is in place!

This should make the library pretty robust so thanks a lot for putting in the time and effort helping with that!

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

We're still working on that issue internally, I'll keep you updated during the process, so far it seems like the issue reproduces on other provisioners as well, so more investigation needs to take place, thanks for your patience and support :)

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

Quick update, issue doesn't seem to reproduce on one of our provisioners internally, so it seems that indeed the bug exists on iOS, I have pinpointed the issue down to the Ack Block messages not being delivered in the right time, causing the messages to be retried from the beginning again, and all the segments never arrive, causing the 3 retries before it times out.

I'm working on that fix now, can't give an exact ETA as it might require more refactoring, but it's the current focus now!

thanks a lot for your help again!

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

Another update from today, due to time constraints it wasn't worked on today, but the fix is planned as will be contiued on Monday, however, we can assure the bug will be fixed so you may continue development on your solution with the assumption that it's "resolved", I.E, you're not doing anything out of the spec and it's supported!

from ios-nrf-mesh-library.

VR-123 avatar VR-123 commented on September 2, 2024

Thanks for your reply, looking forward to resolve this issue.
Thanks again!

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

Sorry about the delays :) I have been on fathers leave for a couple of weeks and things got a bid delayed!

I have now fixed the issue and acknowledgments work as intended, tested against your firmware and some others and things now work as they should 👍 , please give it a try (fix is now on develop) and feel free to close this issue when you feel that the problem is now resolved, if not, just ping me!

from ios-nrf-mesh-library.

mostafaberg avatar mostafaberg commented on September 2, 2024

This has been internally verified and is going to be marked as done, so i'll close this issue for now since I got no response, but if the issue persists for some reason, please feel free to re-open or create a new issue. good luck :)

from ios-nrf-mesh-library.

VR-123 avatar VR-123 commented on September 2, 2024

Fix is working at our side as well.
Thanks for the Fix.

from ios-nrf-mesh-library.

michalmatejkowski avatar michalmatejkowski commented on September 2, 2024

Hello.

I m creating my own android app and stuck with public key:
prov_key_public

How to generate this public key (for excercising purposes)?

"Executing public key provision PDU
generating keypair
keypair generated
keypare generated, pubkey: 0x47E1E21E69246A7467CA8415A3982E19467B039320E297ACEA103E786EE8D77DFFD8DEFBB807CEF16E7FBD403206F2F8242825CF7E794031527667FA8182A703"

from ios-nrf-mesh-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.