This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc3200 mac

Other Parts Discussed in Thread: CC3200

Dear all:

    how could i get the cc3200 mac addr, the only one identifying in the world.

    sl_NetCfgGet() function ?   but we can use the sl_NetCfgGet function the set the mac addr..so it is not the only one addr int world

   so how could i get the only one identifying  of the cc3200.

thank you!

  • You can use my library in my starter project, the code you want is in the function called getMacAddress() - https://github.com/remixed123/startproject_cc3200_ti-rtos/blob/master/simplelinklibrary.c

    If you do not Set the MAC address, then by using getMacAddress() you will get the unique MAC address that came with the CC3200 (unless you have added a MAC file to the serial flash).

    EDIT: If you want to be sure you are using the MAC address that came with the CC3200, then format the serial flash, which will delete any MAC address you have set.


    Glenn.

  • Hi Glenn,

    thank you for help but i can't open your web link, https://github.com/remixed123/startproject_cc3200_ti-rtos/blob/master/simplelinklibrary.c.... is there an api function supplied by ti to get the unique mac ?

    Jking.
  • user4139916 said:
    is there an api function supplied by ti to get the unique mac ?

    Yes, but you are going to want to format and then use what you get back from this API. The code I linked to shows you how to format, and you can also see how to use this function call in your app.

    Not sure what could be causing you not to view the page, but I recommend clicking on the link I provided in my previous post, from the forum and not from an email. Otherwise you can navigate to it from the link in my .sig below.

    Glenn