Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: CC3000 Update 10.0.12

$
0
0

In  Pathch Progammer  source code ,

 

mac_status = nvmem_get_mac_address(cMacFromEeprom);

mac_status !=0  (This value varies !=0 is  invalid)

 

if (mac_status == 0)  {   // zero out MCAST bit if set   /

/cMacFromEeprom[0] &= 0xfe;  

while (return_status)   {   

 return_status = nvmem_set_mac_address(cMacFromEeprom);   }

 }

This part is not execute。   I don't understand,nvmem_get_mac_address  return  successful ,,set the MAC?

 

//If MAC does not exist, turn on LED1. It is recommended that the user will write a valid mac address.

 if (mac_status != 0)   turnLedOn(1);

 

 

 


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>