Sends UDP strings to a fixed IP, with or without encryption
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
encrypted-udp-test.c
project-conf.h
readme.md

readme.md

encrypted-udp-test

This application simply sends strings via UDP to a fixed destination IP. The purpose is to explore the problems caused by enabling LLSEC encryption.

Compile

This example will by default only compile for the sensortag/cc2650 board.

make

To Enable Encryption

  1. Make sure the following is uncommented in project-conf.h:
#undef NETSTACK_CONF_LLSEC
#define NETSTACK_CONF_LLSEC                   noncoresec_driver
#undef LLSEC802154_CONF_SECURITY_LEVEL
#define LLSEC802154_CONF_SECURITY_LEVEL       7
  1. If you get undefined reference tononcoresec_driver'errors, make sure you have addedcore/net/llsec/noncoresecto theMODULES +=line inplatform/srf06-cc26xx/Makefile.srf06-cc26xx`.

To disable encryption

  1. Make sure the following is commented out in project-conf.h:
#undef NETSTACK_CONF_LLSEC
#define NETSTACK_CONF_LLSEC                   noncoresec_driver
#undef LLSEC802154_CONF_SECURITY_LEVEL
#define LLSEC802154_CONF_SECURITY_LEVEL       7