NetBurner 3.1
m2m_wifi_set_device_name

Functions

NMI_API sint8 m2m_wifi_set_device_name (uint8 *pu8DeviceName, uint8 u8DeviceNameLength)
 

Detailed Description

Set the WILC1000 device name which is to be used as a P2P device name.

Function Documentation

◆ m2m_wifi_set_device_name()

NMI_API sint8 m2m_wifi_set_device_name ( uint8 pu8DeviceName,
uint8  u8DeviceNameLength 
)
Parameters
[in]pu8DeviceNameBuffer holding the device name.
[in]u8DeviceNameLengthLength of the device name. Should not exceed the maximum device name's length M2M_DEVICE_NAME_MAX.
Warning
The function called once after initialization.
Returns
The function returns M2M_SUCCESS for successful operations and a negative value otherwise.