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: CC3200, CC3200SDK

使用该demo时,配合手机端的“magic iperf”APP 可以成功连接到模块,但是无法进行数据交互,使用常规的TCP调试工具也是无法将数据发送到模块。改demo是否有这项功能?

另外,使用的手机多半无法成功通过WiFi直连连接成功,仅有个别手机可以,请问是什么原因导致,是否有解决办法

  • 您可以看一下

    processors.wiki.ti.com/.../CC3200_P2P_Application

    请确认您已经配置正确。

    Different supported P2P roles of CC3200 are:

    SL_P2P_ROLE_GROUP_OWNER: CC3200 will be configured in 'Group-Owner' mode
    SL_P2P_ROLE_CLIENT: CC3200 will be configured in 'Client' mode
    SL_P2P_ROLE_NEGOTIATE: CC3200 will negotiate with remote device for client/GO role.
    CC3200 can be configure in below modes to initiate negotiation:

    SL_P2P_NEG_INITIATOR_ACTIVE: CC3200 will perform discovery - Once the remote device is found, it sends the negotiation request immediately
    SL_P2P_NEG_INITIATOR_PASSIVE: CC3200 will perform discovery - Once the remote device is found, CC3200 waits for it to start negotiation
    SL_P2P_NEG_INITIATOR_RAND_BACKOFF: CC3200 will perform discovery - Once the remote device is found, it triggers a random timer (1-7 seconds) and waits for the remote device to negotiate. On timer expiry, CC3200 starts negotiation itself
    Supported security types used during p2p negotiation are:

    SL_SEC_TYPE_P2P_PBC
    SL_SEC_TYPE_P2P_PIN_DISPLAY
    SL_SEC_TYPE_P2P_PIN_KEYPAD
    CC3200 can be configured in 'any_p2p' mode as well - When configured, CC3200 will perform discovery and connect to the first found device using security type 'SL_SEC_TYPE_P2P_PBC'
  • 请问,该模式是如何配置的?在程序中吗?还是通过PC端的串口直接配置?现在使用的是默认的配置模式。如果要使模块可以收发数据应该使用哪种模式
  •  你好。

    1. 确认下,你使用的WIFI STACK版本? 你用的是哪个DEMO程序?有做过哪个修改?

    2.   你安桌 版本多少? 苹果手机 结果如何?

    2. 你是连接自己模块还是 TI开发板? 同样的配置,连接TI Launchpad是否存在一样的。

    3. 你如果使能3200串口的打印,打印记录是什么?

  • 你好。
    1.我使用的是官网下载的"CC3200SDK_1.3.0->example->p2p",未作修改。
    2.我使用的手机分别是华为P10(安卓8.0),华为mate8(安卓7.0),华为Nova2(安卓7.0),魅蓝5(安卓6.0)苹果手机暂未使用(苹IOS版的TCP测试工具不知道该用什么)。以上手机,只有Nova2可以较为轻松地连接上。
    3.我连接的是自己的模块,TI Launchapad并未使用。
    4.打印记录如下“Recevied TCP packets successfully ”
    "Test passed .exiting application..."但是没有数据展示出来。这个例程是否只是这样的功能?那么怎样用手机给它发数据并且展示出来,或者它又该怎样给手机发送数据?
  • 你好,通过使用其他的调试工具,我们暂时解决了数据收发的问题。谢谢您的回复