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 serial wifi

Other Parts Discussed in Thread: CC3200

如何利用serial wifi例子將兩塊板子進行對傳

  • TI这个文档有非常详细的步骤:http://processors.wiki.ti.com/index.php/CC32xx_Serial_Wifi 

    请问具体遇到了什么问题?

  • 問題是如何像例程下面的圖傳送給另一設備

    A設備連接到AP   B設備連接到AP 怎麼透過AP對傳

    左圖是打wlan_connect指令 但除了這指令 其他指令好像都不行跑出來

    還是有其他方式可以讓兩塊板子對傳

    麻煩幫我解答 謝謝

  • 客户端1----AP----客户端2,通过AP将两个wifi的station连接到AP中,获取到两个Station的IP地址及对应的端口后,建立TCP或者UDP的服务器和子设备,通过对应IP地址和端口号就可以发送数据了;

    通过串口转wifi也是先用UART将数据传输到RAM中,再通过RAM中的数据发送到另一IP地址的Station。

  • 所以是跑SDK裡的TCP或UDP的例程,可是他只能SEND,RECEIVE就會卡住

    另一台電腦也是

     

    我跑serial wifi例程看傳回值-111

    好像連接失敗但不知原因 我已看socket.h

    #define SL_ECONNREFUSED                       (-111) /* Connection refused */

    *************************************************
    CC3200 WLAN STATION Application
    *************************************************

    Host Driver Version: 1.0.0.10
    Build Version 2.6.0.5.31.1.4.0.1.1.0.3.34
    Device is configured in default state
    Device started as STATION
    [WLAN EVENT] STA Connected to the AP: DSPlab202_2 ,BSSID: f0:79:59:d1:68:9c
    [NETAPP EVENT] IP Acquired: IP=192.168.1.224 , Gateway=192.168.1.1
    Connection established w/ AP and IP is aquired
    pass 2
    pass iStatus = -111
    Error [-2004] at line [560] in function [BsdTcpClient]
    TCP Server failed

    麻煩請更詳細說明要改哪個例程可以完成對傳工作

    謝謝