Other Parts Discussed in Thread: SYSBIOS
请问下,有没有6748上面的,网口UDP例子代码,共享一下,谢谢。
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.
请到下面的网站下载NDK,NSP软件包,有UDP例程。
http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/index.html
请看下面的NDK手册。
2.4.3.1 HelloWorld
https://www.ti.com/lit/ug/spru523j/spru523j.pdf
请问有DHCP server了么?没有用的话,在ndk的IP设置中把自动获取IP地址改为了静态IP,请参考下面GSG文档
6. Modify client.c to set static IP address for the DSK
https://www.ti.com/lit/an/spraax4/spraax4.pdf
client.c 文件里,很干净。 你看看下面是client.c文件, 这里面哪里有ip?
#include <ti/sysbios/BIOS.h>
//---------------------------------------------------------------------------
// Title String
//
char *VerStr = "\nTCP/IP Stack Example Client\n";
//---------------------------------------------------------------------
// Main Entry Point
//---------------------------------------------------------------------
int main()
{
BIOS_start();
}