7.3.1 Application Configuration

Release details

In this release, there are 4 hex files and 2 projects included

The hex files are named as follows:

  1. demo_app_udp_ftd_leader.hex
  2. demo_app_udp_ftd_router.hex
  3. demo_app_udp_mtd_med.hex
  4. demo_app_udp_mtd_sed.hex

It is recommended to first flash the demo_app_udp_ftd_leader.hex file and then flash the remaining hex files to their respective nodes.

Additionally, there are 2 projects bundled with this release:

  1. demo_app_udp_ftd
  2. demo_app_udp_mtd

Once the hex files have been flashed as per the release details, the nodes will automatically form a network and begin transmitting data.

To configure FTD as a leader

Please open the demo_app_udp_ftd.x file using MPLAB X IDE and navigate to the thread_demo.h file as directed.

Please modify the macro DEVICE_AS_LEADER to a value of 1, as demonstrated below:

Navigate to udp_demo.h as shown below.

Please access the file udp_demo.h as demonstrated below.

The project now includes a Leader functionality that offers the same features as the demo_app_udp_ftd_leader.hex.

To configure FTD as a router

Please open the demo_app_udp_ftd.x file using MPLAB X IDE and navigate to the thread_demo.h file as described previously.

Edit the macro DEVICE_AS_LEADER to 0 as shown below.

Please navigate to the file udp_demo.h and implement the modifications as indicated below.

The project now includes Router functionality that is identical to the functionality found in the demo_app_udp_ftd_router.hex file.

To configure MTD as an MED

Please open the demo_app_udp_mtd.x file using MPLAB X IDE and navigate to the thread_demo.h file as described previously.

Edit the macro DEVICE_AS_LEADER to 0 and ENABLE_SLEEP to 0 as show below.

Navigate to the file udp_demo.h and implement the modifications as indicated below.

Now the project has MED functionality having the same functionality as demo_app_udp_mtd_med.hex

To configure MTD as SED

Please open the demo_app_udp_mtd.x file using MPLAB X IDE and navigate to the thread_demo.h file as described previously.

Edit the macro DEVICE_AS_LEADER to 0 and ENABLE_SLEEP to 1 as show below.

Navigate to the file udp_demo.h and implement the modifications as indicated below.

The project now includes SED functionality that is equivalent to the functionality found in demo_app_udp_mtd_sed.hex.