This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Provision Problem with mesh

I have 3 boards(1-board is configured with 2 client instance and 2 sever instance acting as control model for own model) (2 - board configured as client and server (control Model) without instance) and 3rd board also configured as same as second board. While i configure 3rd board  it merge with 2nd board configuration. I attached log for your clarification. Please help me. 

<t: 0>, main.c, 601, ----- BLE Mesh Custom Provisioner Demo -----
<t: 0>, mesh_softdevice_init.c, 117, Initializing SoftDevice...
<t: 0>, mesh_softdevice_init.c, 75, Enabling BLE...
<t: 16>, mesh_softdevice_init.c, 109, sd_ble_enable: app_ram_base should be adjusted to 0x20002DA0
<t: 598>, main.c, 539, Initializing and adding models
<t: 609>, main.c, 582, Setup defaults: Adding keys, addresses, and bindings
<t: 755>, provisioner_helper.c, 329, netkey_handle: 0
<t: 767>, main.c, 631, <start>
<t: 1079>, main.c, 120, Flash write complete
<t: 1081>, main.c, 618, Starting application ...
<t: 1084>, main.c, 620, Provisoned Nodes: 0, Configured Nodes: 0 Next Address: 0x0100
<t: 1088>, main.c, 621, Dev key : 048A02F667DB79C81D370B2443764C91
<t: 1091>, main.c, 622, Net key : B4EF7988FA9A0DCB3212F639D83D14A8
<t: 1094>, main.c, 623, App key : 912CC77A9A4D27B1BD1990E658283BC8
<t: 1097>, main.c, 624, Press Button 1 to start provisioning and configuration process.
<t: 288021>, main.c, 499, Button 1 pressed
<t: 288023>, main.c, 385, Waiting for Client - Server node_0 to be provisioned ...
<t: 292768>, provisioner_helper.c, 282, Scanning For Unprovisioned Devices
<t: 338909>, provisioner_helper.c, 144, UUID seen: 0059000000000000975B2B98BE9A8FF2
<t: 338912>, provisioner_helper.c, 95, UUID filter matched
<t: 339654>, provisioner_helper.c, 259, Provisioning link established
<t: 352457>, provisioner_helper.c, 254, Static authentication data provided
<t: 364391>, provisioner_helper.c, 192, Provisioning completed received
<t: 364394>, provisioner_helper.c, 197, Adding device address, and device keys
<t: 364399>, provisioner_helper.c, 214, Addr: 0x0100 addr_handle: 0 netkey_handle: 0 devkey_handle: 3
<t: 368656>, provisioner_helper.c, 155, Local provisioning link closed: prov_state: 2 remaining retries: 2
<t: 368660>, main.c, 306, Provisioning successful
<t: 368663>, provisioner_helper.c, 181, Provisioning complete. Node addr: 0x0100 elements: 8
<t: 368666>, node_setup.c, 1087, Configuring Node: 0x0100
<t: 368669>, node_setup.c, 1001, Config client setup: devkey_handle:3 addr_handle:0
<t: 368673>, node_setup.c, 445, Getting composition data
<t: 368714>, main.c, 120, Flash write complete
<t: 372490>, main.c, 356, Config client event
<t: 372492>, node_setup.c, 455, Adding appkey
<t: 376158>, main.c, 356, Config client event
<t: 376160>, node_setup.c, 350, opcode status field: 0
<t: 376163>, node_setup.c, 466, App key bind: Health server
<t: 376165>, config_client.c, 840, Client model app bind
<t: 376168>, config_client.c, 372, Element Address_app_bind: 0x0100
<t: 376170>, config_client.c, 374, Appkey Index_app_bind: 0x0000
<t: 377156>, main.c, 356, Config client event
<t: 377158>, node_setup.c, 350, opcode status field: 0
<t: 377161>, node_setup.c, 740, Setting publication address for the health server to 0x0001
<t: 380536>, main.c, 356, Config client event
<t: 380538>, node_setup.c, 350, opcode status field: 0
<t: 380541>, node_setup.c, 540, App key bind_c0: Custom client on element 0x0101
<t: 380544>, node_setup.c, 545, App key bind_c0: Custom client on element 0x0101
<t: 380547>, config_client.c, 840, Client model app bind
<t: 380549>, config_client.c, 372, Element Address_app_bind: 0x0101
<t: 380552>, config_client.c, 374, Appkey Index_app_bind: 0x0000
<t: 382206>, main.c, 356, Config client event
<t: 382208>, node_setup.c, 350, opcode status field: 0
<t: 382211>, node_setup.c, 540, App key bind_c0: Custom client on element 0x0102
<t: 382214>, node_setup.c, 545, App key bind_c0: Custom client on element 0x0102
<t: 382217>, config_client.c, 840, Client model app bind
<t: 382220>, config_client.c, 372, Element Address_app_bind: 0x0102
<t: 382222>, config_client.c, 374, Appkey Index_app_bind: 0x0000
<t: 382904>, main.c, 356, Config client event
<t: 382906>, node_setup.c, 350, opcode status field: 0
<t: 382909>, node_setup.c, 615, Client publication_c0
<t: 382911>, node_setup.c, 618, Element Address_client_publication_c0: 0x0101
<t: 382914>, node_setup.c, 622, appkey index for client publication_c0: 0x0000
<t: 382917>, node_setup.c, 625, TTL for client publication_c0: 0x001E
<t: 382920>, node_setup.c, 633, Set: custom client-c0: 0x0101 pub addr: 0x0109
<t: 385943>, main.c, 356, Config client event
<t: 385946>, node_setup.c, 350, opcode status field: 0
<t: 385948>, node_setup.c, 643, Client publication_c0_1
<t: 385950>, node_setup.c, 646, Element Address_client_publication_c0_1: 0x0102
<t: 385954>, node_setup.c, 650, appkey index for client publication_c0_1: 0x0000
<t: 385957>, node_setup.c, 653, TTL for client publication_c0_1: 0x001E
<t: 385959>, node_setup.c, 661, Set: custom client-c0_1: 0x0102 pub addr: 0x010C
<t: 390181>, main.c, 356, Config client event
<t: 390184>, node_setup.c, 350, opcode status field: 0
<t: 390186>, node_setup.c, 485, App key bind for cm_0: Custom server
<t: 390189>, node_setup.c, 490, App key bind_server_0: Custom Server on element 0x0103
<t: 390192>, config_client.c, 840, Client model app bind
<t: 390194>, config_client.c, 372, Element Address_app_bind: 0x0103
<t: 390197>, config_client.c, 374, Appkey Index_app_bind: 0x0000
<t: 392000>, main.c, 356, Config client event
<t: 392003>, node_setup.c, 350, opcode status field: 0
<t: 392005>, node_setup.c, 485, App key bind for cm_0: Custom server
<t: 392008>, node_setup.c, 490, App key bind_server_0: Custom Server on element 0x0104
<t: 392011>, config_client.c, 840, Client model app bind
<t: 392013>, config_client.c, 372, Element Address_app_bind: 0x0104
<t: 392016>, config_client.c, 374, Appkey Index_app_bind: 0x0000
<t: 392917>, main.c, 356, Config client event
<t: 392919>, node_setup.c, 350, opcode status field: 0
<t: 392922>, node_setup.c, 774, Server publication_c0
<t: 392924>, node_setup.c, 777, server node addr element 0x0103
<t: 392927>, node_setup.c, 781, appkey index for server publication_c0: 0x0000
<t: 392930>, node_setup.c, 784, TTL for server publication_c0: 0x001E
<t: 392933>, node_setup.c, 791, Set: custom server_c0 pub addr_c: 0x0108
<t: 396294>, main.c, 356, Config client event
<t: 396296>, node_setup.c, 350, opcode status field: 0
<t: 396298>, node_setup.c, 801, Server publication_c0_1
<t: 396301>, node_setup.c, 804, server node addr element 0x0104
<t: 396303>, node_setup.c, 808, appkey index for server publication_c0_1: 0x0000
<t: 396306>, node_setup.c, 811, TTL for server publication_c0_1: 0x001E
<t: 396309>, node_setup.c, 818, Set: custom server_c0_1 pub addr_c: 0x0109
<t: 400458>, main.c, 356, Config client event
<t: 400461>, node_setup.c, 350, opcode status field: 0
<t: 400463>, main.c, 251, Configuration of device 0 successful
<t: 400466>, main.c, 263, Waiting for Client - Server node_1 to be provisioned ...
<t: 400470>, provisioner_helper.c, 282, Scanning For Unprovisioned Devices
<t: 400472>, main.c, 291, All servers provisioned
<t: 400507>, main.c, 120, Flash write complete
<t: 4522528>, provisioner_helper.c, 144, UUID seen: 0059000000000000A46956D7E9F77D64
<t: 4522531>, provisioner_helper.c, 95, UUID filter matched
<t: 4522986>, provisioner_helper.c, 259, Provisioning link established
<t: 4536557>, provisioner_helper.c, 254, Static authentication data provided
<t: 4548856>, provisioner_helper.c, 192, Provisioning completed received
<t: 4548859>, provisioner_helper.c, 197, Adding device address, and device keys
<t: 4548864>, provisioner_helper.c, 214, Addr: 0x0108 addr_handle: 1 netkey_handle: 0 devkey_handle: 4
<t: 4552882>, provisioner_helper.c, 155, Local provisioning link closed: prov_state: 2 remaining retries: 2
<t: 4552886>, main.c, 306, Provisioning successful
<t: 4552888>, provisioner_helper.c, 181, Provisioning complete. Node addr: 0x0108 elements: 3
<t: 4552892>, node_setup.c, 1087, Configuring Node: 0x0108
<t: 4552895>, node_setup.c, 1001, Config client setup: devkey_handle:4 addr_handle:1
<t: 4552899>, node_setup.c, 445, Getting composition data
<t: 4552940>, main.c, 120, Flash write complete
<t: 4555082>, main.c, 356, Config client event
<t: 4555086>, node_setup.c, 455, Adding appkey
<t: 4559209>, main.c, 356, Config client event
<t: 4559211>, node_setup.c, 350, opcode status field: 0
<t: 4559213>, node_setup.c, 466, App key bind: Health server
<t: 4559216>, config_client.c, 840, Client model app bind
<t: 4559218>, config_client.c, 372, Element Address_app_bind: 0x0108
<t: 4559221>, config_client.c, 374, Appkey Index_app_bind: 0x0000
<t: 4560639>, main.c, 356, Config client event
<t: 4560641>, node_setup.c, 350, opcode status field: 0
<t: 4560644>, node_setup.c, 740, Setting publication address for the health server to 0x0001
<t: 4563809>, main.c, 356, Config client event
<t: 4563811>, node_setup.c, 350, opcode status field: 0
<t: 4563814>, node_setup.c, 564, App key bind_if_loop_c1: client on element 0x0108
<t: 4563817>, node_setup.c, 566, App key bind_c1: Custom client on element 0x0108
<t: 4563820>, node_setup.c, 571, App key bind_c1: Custom client on element 0x0108
<t: 4563823>, config_client.c, 840, Client model app bind
<t: 4563826>, config_client.c, 372, Element Address_app_bind: 0x0108
<t: 4563829>, config_client.c, 374, Appkey Index_app_bind: 0x0000
<t: 4565160>, main.c, 356, Config client event
<t: 4565162>, node_setup.c, 350, opcode status field: 0
<t: 4565164>, node_setup.c, 671, Client publication_c1
<t: 4565167>, node_setup.c, 674, Element Address_client_publication_c1: 0x0108
<t: 4565170>, node_setup.c, 678, appkey index for client publication: 0x0000
<t: 4565173>, node_setup.c, 681, TTL for client publication: 0x001E
<t: 4565175>, node_setup.c, 689, Set: custom client-c1: 0x0108 pub addr: 0x0103
<t: 4568425>, main.c, 356, Config client event
<t: 4568428>, node_setup.c, 350, opcode status field: 0
<t: 4568430>, node_setup.c, 506, App key bind for cm_1: Custom server
<t: 4568433>, node_setup.c, 511, App key bind_server_1: Custom Server on element 0x0109
<t: 4568436>, config_client.c, 840, Client model app bind
<t: 4568439>, config_client.c, 372, Element Address_app_bind: 0x0109
<t: 4568441>, config_client.c, 374, Appkey Index_app_bind: 0x0000
<t: 4569978>, main.c, 356, Config client event
<t: 4569980>, node_setup.c, 350, opcode status field: 0
<t: 4569982>, node_setup.c, 828, Server publication_c1
<t: 4569985>, node_setup.c, 831, server node addr element 0x0109
<t: 4569987>, node_setup.c, 835, appkey index for server publication_c1: 0x0000
<t: 4569990>, node_setup.c, 838, TTL for server publication_c1: 0x001E
<t: 4569993>, node_setup.c, 845, Set: custom server pub addr_c1: 0x0101
<t: 4573028>, main.c, 356, Config client event
<t: 4573030>, node_setup.c, 350, opcode status field: 0
<t: 4573032>, main.c, 251, Configuration of device 1 successful
<t: 4573035>, main.c, 274, Waiting for Client - Server node_2 to be provisioned ...
<t: 4573038>, provisioner_helper.c, 282, Scanning For Unprovisioned Devices
<t: 4573078>, main.c, 120, Flash write complete
<t: 4966915>, provisioner_helper.c, 144, UUID seen: 0059000000000000F8EF344689E9F6C7
<t: 4966918>, provisioner_helper.c, 95, UUID filter matched
<t: 4967383>, provisioner_helper.c, 259, Provisioning link established
<t: 4980955>, provisioner_helper.c, 254, Static authentication data provided
<t: 4993329>, provisioner_helper.c, 192, Provisioning completed received
<t: 4993332>, provisioner_helper.c, 197, Adding device address, and device keys
<t: 4993338>, provisioner_helper.c, 214, Addr: 0x010B addr_handle: 2 netkey_handle: 0 devkey_handle: 5
<t: 4997030>, provisioner_helper.c, 155, Local provisioning link closed: prov_state: 2 remaining retries: 2
<t: 4997034>, main.c, 306, Provisioning successful
<t: 4997037>, provisioner_helper.c, 181, Provisioning complete. Node addr: 0x010B elements: 3
<t: 4997040>, node_setup.c, 1087, Configuring Node: 0x010B
<t: 4997043>, node_setup.c, 1001, Config client setup: devkey_handle:5 addr_handle:2
<t: 4997047>, node_setup.c, 445, Getting composition data
<t: 4997088>, main.c, 120, Flash write complete
<t: 4999108>, main.c, 356, Config client event
<t: 4999111>, node_setup.c, 455, Adding appkey
<t: 5002626>, main.c, 356, Config client event
<t: 5002628>, node_setup.c, 350, opcode status field: 0
<t: 5002630>, node_setup.c, 466, App key bind: Health server
<t: 5002633>, config_client.c, 840, Client model app bind
<t: 5002635>, config_client.c, 372, Element Address_app_bind: 0x010B
<t: 5002638>, config_client.c, 374, Appkey Index_app_bind: 0x0000
<t: 5003613>, main.c, 356, Config client event
<t: 5003615>, node_setup.c, 350, opcode status field: 0
<t: 5003618>, node_setup.c, 740, Setting publication address for the health server to 0x0001
<t: 5007362>, main.c, 356, Config client event
<t: 5007364>, node_setup.c, 350, opcode status field: 0
<t: 5007367>, node_setup.c, 566, App key bind_c1: Custom client on element 0x0108
<t: 5007370>, node_setup.c, 571, App key bind_c1: Custom client on element 0x0108
<t: 5007373>, config_client.c, 840, Client model app bind
<t: 5007375>, config_client.c, 372, Element Address_app_bind: 0x0108
<t: 5007378>, config_client.c, 374, Appkey Index_app_bind: 0x0000
<t: 5009005>, main.c, 356, Config client event
<t: 5009008>, node_setup.c, 350, opcode status field: 1
<t: 5009010>, main.c, 299, Configuration of device 2 failed. Press Button 1 to retry.

Parents
  • Hi. 

    Hard to say what is causing the issue here. 

    I assume that you are using a modified version of the static provisioner example from the nRF5 SDK for Mesh? Which version of the SDK are you working with?

    Maybe you could shed some light on what kind of changes that you have made to the code? Maybe upload some of your code? Atleast the node_setup.c, config_client.c and main.c

    Best regards, 
    Joakim. 

Reply
  • Hi. 

    Hard to say what is causing the issue here. 

    I assume that you are using a modified version of the static provisioner example from the nRF5 SDK for Mesh? Which version of the SDK are you working with?

    Maybe you could shed some light on what kind of changes that you have made to the code? Maybe upload some of your code? Atleast the node_setup.c, config_client.c and main.c

    Best regards, 
    Joakim. 

Children
Related