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

CC3200的无线端口(wlan adapter)和抓包问题

各位TI工程师你们好:

我想请问一下,CC3200是否可以设置一个无线网络配置器(wlan adapter)这样可以在抓包软件Wireshak中侦听该配置器的网络流量。

在Wlan_station的例案中可以通过中间人攻击 抓到CC3200和AP 还有TI server 的ICMP包。 但是在tranceiver_mode 中却无法抓到CC3200的数据包。 以下是我的 raw_data:

我在这个案例为发送 raw data 给AP

AP的工作频道为5

数据包的数量为500

Tx功率为15

char RawData_Ping[] = {
/*—- wlan header start —–*/
0x88, /* version , type sub type */
0x02, /* Frame control flag */
0x2C, 0x00,
0x35, 0x38, 0x3a, 0x32,0x33, 0x3a, 0x38, 0x43, 0x3a, 0x30, 0x34, 0x3a, 0x38, 0x39, 0x3a, 0x39, 0x42, /* destination */ //AP 的 MAC 地址
0x35, 0x38, 0x3a, 0x32,0x33, 0x3a, 0x38, 0x43, 0x3a, 0x30, 0x34, 0x3a, 0x38, 0x39, 0x3a, 0x39, 0x42, /* bssid */ // AP 的 MAC 地址
0x64, 0x34, 0x3a, 0x62,0x38, 0x3a, 0x35, 0x65, 0x3a, 0x30, 0x34, 0x3a, 0x66, 0x35, 0x3a, 0x37, 0x64, /* source */ / CC3200 的MAC 地址
0x80, 0x42, 0x00, 0x00,
0xAA, 0xAA, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00, /* LLC */
/*—- ip header start —–*/
0x45, 0x00, 0x00, 0x54, 0x96, 0xA1, 0x00, 0x00, 0x40, 0x01,
0x57, 0xFA, /* checksum */
0xc0, 0xa8, 0x00, 0x64, /* src ip */ //一个内网的 IP 地址 192.168.0.100
0xc0, 0xa8, 0x00, 0x01, /* dest ip */ //el ip del AP es 192.168.0.1 (确定 AP 的内网为这个IP)
/* payload – ping/icmp */
0x08, 0x00, 0xA5, 0x51,

//icmp hex 数据格式

希望大家能够指点一二。 谢谢

gaoyang9992006:

你说的这个就是做USB的WIFI适配器。应该不行吧,没见谁这么做过,也没见TI给过相关例程。

赞(0)
未经允许不得转载:TI中文支持网 » CC3200的无线端口(wlan adapter)和抓包问题
分享到: 更多 (0)