SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
The following macro sets the P2P device name. Setting a unique P2P device name for every individual device is necessary, because the connection is based on device-name.
Default: TI_SIMPLELINK_P2P_xx (xx = random two characters)
API:
sl_NetAppSet (SL_NET_APP_DEVICE_CONFIG_ID,
NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN,
strlen(device_name),
(unsigned char *) device_name);