Buy Products Online
Search Solutions
Select the categories and sub-categories within which you wish to search (multiple selections are allowed).
No criteria applied
Solution Details
  • solution00007
  • Last Updated: Thursday, 1st May 2008
  • Classification: Hardware » Function » programming
  • Viewed: 375 times

How do I read the JN51xx MAC address?

The MAC address location can be found by calling pvAppApiGetMacAddrLocation() The prototype can be found in AppApi.h

For example:

PUBLIC void MAC_vReadExtAddress(MAC_ExtAddr_s *psExtAddress)
{
    uint32 *pu32Mac = pvAppApiGetMacAddrLocation();
    psExtAddress->u32H = pu32Mac[0];
    psExtAddress->u32L = pu32Mac[1];   
}