CC3200的MCU程序,有没有API可以读取MAC地址,或者其他方法实现读取MAC?
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.
您可以使用RadioTool的API
INT32 RadioGetMacAddr(UINT8 *pMacAddress)
| pMacAddress | The MAC address read from the device. MAC address is searched in the NVMEM first and if not exists, in the EFUSE. |
你好。
请问Radio Tool是什么?
INT32 RadioGetMacAddr(UINT8 *pMacAddress)这个函数不是simplelink里的API吧?
http://processors.wiki.ti.com/index.php/CC31xx_%26_CC32xx_Radio_Tool
你好。已解决。simplelink当中是有函数可以读取CC3200自身的MAC的。
你好,
sl_NetCfgGet(SL_MAC_ADDRESS_GET,NULL,&macAddressLen,(unsigned char *)macAddressVal);
这个能获取到唯一的MAC地址么?
long sl_NetCfgSet(unsigned char ConfigId ,unsigned char ConfigOpt, unsigned char ConfigLen, unsigned char *pValues);
这个函数也可以设置SL_MAC_ADDRESS_SET, 这个MAC的值不就改变了?
谢谢
你好,
请问要使用INT32 RadioGetMacAddr(UINT8 *pMacAddress)的话,是不是还要去加载什么库呢?
因为这个好像不是属于simplelink 的APK
JKing
RadioGetMacAddr是针对radiotool这个工具的,这个工具是给射频测试的。