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 p2p demo 测试不成功

Other Parts Discussed in Thread: CC3200SDK, CC3200

你好!

       使用CC3200 LUNCHXL开发板,下载CC3200SDK_1.1.0中的P2P样例,运行以后,终端出现如下信息

*************************************************
CC3200 P2P Demo Application
*************************************************

Scan Wi-FI direct device in your handheld device
Host Driver Version: 1.0.0.10
Build Version 2.0.7.0.31.0.0.4.1.1.5.3.3
Device is configured in default state
Started SimpleLink Device: P2P Mode
Connect to cc3200-p2p-device

一直不能获取到CC3200的IP地址,使用的红米手机进行wifi direct直连

  • 你的手机的P2P模式打开了吗?能收索到CC3200的信号吗?

    谢谢

  • 你好,

           手机上能够搜索到cc3200-p2p-device的信号,点击后没有效果。

           通过在demo中打log发现,WlanConnect函数里面一直在下面循环

           // Wait till Device acquired an IP in P2P mode
          while(! IS_P2P_REQ_RCVD(g_ulStatus))
          {
               _SlNonOsMainLoopTask();
          }

       

           

  • 手机的WIFI DIRECT是打开的,也能够搜索到cc3200-p2p-device

    通过打log发现在,代码在函数WlanConnect中,一直在等待请求的IP

    // Wait till Device acquired an IP in P2P mode
    while(! IS_P2P_REQ_RCVD(g_ulStatus))
    {
    _SlNonOsMainLoopTask();
    }

    请问是手机方的问题吗?

  • 是自己用的SDK里面的例程,有修改过关于P2P属性的设置吗?

    相关的加密方式以及密码有没有改变或是输入正确?

    谢谢

  • 你好,

           使用的是SDK里面的例程,没有修改过代码。

           这边换了一部TCL的android 4.4.4的手机成功成功测试

           但是使用红米1的android 4.2.4的手机,始终不能获取到IP

           是否与手机或者android系统版本有关系

  • 各位大侠和TI老师:你们好!

           使用CC3200 LUNCHXL开发板,下载CC3200SDK_1.1.0中的P2P样例,运行以后,终端出现如下信息

    *************************************************
    CC3200 P2P Demo Application
    *************************************************

    Scan Wi-FI direct device in your handheld device
    Host Driver Version: 1.0.0.10
    Build Version 2.0.7.0.31.0.0.4.1.1.5.3.3
    Device is configured in default state
    Started SimpleLink Device: P2P Mode

    Error [-7] at line [920] in function [P2PConfiguration]

    Setting P2P configuration failed

    为什么会这样。blinky 和 wlan_station 运行正常。希望给点提示,谢谢。

  • 我在http://www.deyisupport.com/question_answer/wireless_connectivity/wifi/f/105/t/95002.aspx已经回你了,请参考一下。

  • 你好,

    请问你的问题当时解决了吗?现在我也碰到一样的兼容性问题,只有个别手机比如华为的Nova2可以顺利连接上,很多手机无法正常连接上。