mirror of https://github.com/ARMmbed/mbed-os.git
Update EmacTestNetworkStack
-Uncomment get_mac_address -Document set_mac_addresspull/13920/head
parent
db4efc8e28
commit
743ba1a881
|
@ -84,8 +84,17 @@ public:
|
||||||
*
|
*
|
||||||
* @return MAC address as "V:W:X:Y:Z"
|
* @return MAC address as "V:W:X:Y:Z"
|
||||||
*/
|
*/
|
||||||
//virtual char *get_mac_address(char *buf, nsapi_size_t buflen);
|
virtual char *get_mac_address(char *buf, nsapi_size_t buflen);
|
||||||
|
|
||||||
|
/** Set MAC address on the network interface
|
||||||
|
*
|
||||||
|
* @param mac_addr Buffer containing the MAC address in hexadecimal format.
|
||||||
|
* @param addr_len Length of provided buffer in bytes (6 or 8)
|
||||||
|
* @retval NSAPI_ERROR_OK on success
|
||||||
|
* @retval NSAPI_ERROR_UNSUPPORTED if this feature is not supported
|
||||||
|
* @retval NSAPI_ERROR_PARAMETER if address is not valid
|
||||||
|
* @retval NSAPI_ERROR_BUSY if address can't be set.
|
||||||
|
*/
|
||||||
virtual nsapi_error_t set_mac_address(uint8_t *mac_addr, nsapi_size_t addr_len);
|
virtual nsapi_error_t set_mac_address(uint8_t *mac_addr, nsapi_size_t addr_len);
|
||||||
|
|
||||||
/** Copies IP address of the network interface to user supplied buffer
|
/** Copies IP address of the network interface to user supplied buffer
|
||||||
|
|
Loading…
Reference in New Issue