WF_SetMacAddress Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
WF_SetMacAddress Function
C
void WF_SetMacAddress(
    UINT8 * p_mac
);
Description

MAC Address Functions 

Directs the MRF24W to use the input MAC address instead of its factory-default MAC address. This function does not overwrite the factory default, which is in FLASH memory – it simply tells the MRF24W to use a different MAC.

Preconditions

MACInit must be called first. Cannot be called when the MRF24W is in a connected state.

Parameters
Parameters 
Description 
p_mac 
Pointer to 6-byte MAC that will be sent to MRF24W 
Returns

None.

Remarks

None.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.