Reset to Factory Default State ...................................................................... 32
Enabling or disabling Mesh features (proxy/relay/friendship)........................ 32
Security Keys Dump Function ....................................................................... 32
Monitor FreeRTOS Heap Usage and Task Stack Usage.............................. 33
Change log level............................................................................................ 33
Change default TTL value used when sending messages............................ 33
Change maximum BLE RF range to maximum of ~2 meters........................ 33
Commands related to Friendship and Low Power Node (LPN) .................... 34
Modify the subscription address list of a server model.................................. 34
Modify the publish address of a client model ................................................ 35
Change client model state using the UART console..................................... 35
Using the SEGGER RTT SystemView.......................................................................... 37
7 Software Architecture........................................................................................................... 40
BLE Mesh specification................................................................................................. 40
DA14683 Mesh SW Architecture .................................................................................. 41
Overview........................................................................................................ 41
Mesh DK SW Architecture............................................................................. 42
7.2.2.1 Folder and file structure............................................................. 42
7.2.2.2 The user_<onoff/level/hsl>_<server/client>_example files ....... 43
7.2.2.3 The appl_proxy.c file.................................................................. 43
7.2.2.4 The appl_provision.c file............................................................ 44
7.2.2.5 The appl_conf.c file.................................................................... 44
7.2.2.6 The demo_hw.c file.................................................................... 44
7.2.2.7 The appl_storage.c file .............................................................. 44
7.2.2.8 The mesh_console.c file............................................................ 45
Revision history........................................................................................................................... 46
Figures
Figure 1: DA14683 USB Development Kit ............................................................................................ 7
Figure 2: PRO Development Kit, Motherboard and Daughterboard ..................................................... 7
Figure 3: DA1468x Basic Development Kit ........................................................................................... 8
Figure 4: Microbus 7-segment display and slider modules................................................................. 23
Figure 5: BLE Mesh App - Build Configurations.................................................................................. 24
Figure 5: Mesh App - Build Log........................................................................................................... 25
Figure 6: Programming the Flash Image............................................................................................. 25
Figure 7: Programming Flash –Log Output........................................................................................ 26
Figure 8: Debug Configurations .......................................................................................................... 27
Figure 9: Debug Perspective............................................................................................................... 28
Figure 10: UART Logging Window...................................................................................................... 29
Figure 11: Verifying the Correct J-Link Version................................................................................... 37
Figure 12: SEGGER SystemView Capture Settings........................................................................... 38
Figure 13: SEGGER SystemView Trace Capture............................................................................... 39
Figure 14 SystemView Trace - Task Switching................................................................................... 41
Figure 15: Mesh DK SW Architecture ................................................................................................. 42
Figure 17: SW stack and file location.................................................................................................. 43