Dear all,
I am testing the light_switch demo (SDK for Mesh v2.0.1 and softdevice 6.0.0) below the following configuration:
-- One client: nrf52-PCA10040 DK (light_switch_client_nrf52832_xxAA_s132)
-- One server: nrf52-PCA10040 DK (light_switch_server_nrf52832_xxAA_s132)
-- One provisioner: nrf52-PCA10056 DK (light_switch_provisioner_nrf52840_xxAA_s140)
In light_switch_example_common.h:
Fullscreen
1
2
#define SERVER_NODE_COUNT (1)
#define CLIENT_NODE_COUNT (1)
After programming all boards and debugging the provisioner I get:
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
0>, main.c, 550, ----- BLE Mesh Light Switch Provisioner Demo -----
<t: 0>, mesh_softdevice_init.c, 112, Initializing SoftDevice...
<t: 0>, mesh_softdevice_init.c, 77, Enabling BLE...
<t: 2>, mesh_softdevice_init.c, 88, Ram base: 0x200032C8
<t: 547>, main.c, 488, Initializing and adding models
<t: 581>, main.c, 441, Restored: App data
<t: 583>, main.c, 540, Restored: Handles
<t: 586>, provisioner_helper.c, 301, m_netkey_handle:0 m_appkey_handle:0 m_self_devkey_handle:1
<t: 592>, main.c, 578, <start>
<t: 26844>, main.c, 565, Starting application ...
<t: 26846>, main.c, 567, Provisoned Nodes: 0, Configured Nodes: 0 Next Address: 0x0100
<t: 26850>, main.c, 568, Dev key : DD9DFDF59BC9645D89C114C86B2A6F80
<t: 26853>, main.c, 569, Net key : 19C47451084A42576555EE0EABDE9E14
<t: 26856>, main.c, 570, App key : 15C3C014F3B5593AD1EC2A6FE572F309
<t: 26859>, main.c, 571, Press Button 1 to start provisioning and configuration process.
<t: 191475>, main.c, 448, Button 1 pressed
<t: 191477>, main.c, 361, Waiting for Client node to be provisioned ...
<t: 196239>, provisioner_helper.c, 282, Scanning For Unprovisioned Devices
<t: 201799>, provisioner_helper.c, 144, UUID seen: 0059ABCDEFABCDEFACCDEFABCDEFABCD
<t: 201802>, provisioner_helper.c, 95, UUID filter matched
<t: 202407>, provisioner_helper.c, 259, Provisioning link established
However, pressing Button 1 on the client board doesn't have any effect on server. Am I making a mistake?