TI中文支持网
TI专业的中文技术问题搜集分享网站

CC3000Basic WiFi Application

Basic WiFi Application联接好后只出来IP地址,如何知道他的端口号

Yonghua Pan:

那你的命令输入的端口号是多少?

Link:

回复 Yonghua Pan:

如果没有设置,是不是就是随机的?

Yonghua Pan:

回复 Link:

没有设置就很难说是多少了。你是指目标端口还是源端口?源端口是随机的。

Link:

回复 Yonghua Pan:

CC3101 wifi 有没有使用资料啊。

Yonghua Pan:

回复 Link:

还没有launch, 请联系你的TI SALES or marketing.

jun chen7:

回复 Yonghua Pan:

To transmit a data packet:1. Execute the Socket Open command (03) as described in the section "Open Socket".2. Execute the sendto command (04AAX…Y02BCDEFGHIKLMN)where:• AA is the hexadecimal presentation of the length of data. For example, to send 5 bytes, type 05.• The field following AA is data. For example, to send the string 12345, type 12345.• BCDE is the hexadecimal presentation of the destination port.• FGHIKLMN is the hexadecimal presentation of the destination IP address.

赞(0)
未经允许不得转载:TI中文支持网 » CC3000Basic WiFi Application
分享到: 更多 (0)