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 example doesn't work (doesn't get IP)

Other Parts Discussed in Thread: CC3200, CC3200-LAUNCHXL

Hi

I am using CC3200 LaunchPad dev board, I have tested wlan_ap, wlan_station and out_of_box examples, but when I run p2p example from sdk (it is up to date), these messages are seen on console:

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

Scan Wi-FI direct device in your handheld device

Host Driver Version: 1.0.0.1

Build Version 2.2.7.1.31.1.2.4.2.1.5.3.23

Device is configured in default state

Started SimpleLink Device: P2P Mode

Connect to cc3200-p2p-device


but it doesn't connect to my tablet. My tablet is ASUS ME173X and I can see the cc3200-p2p-device when wifi direct search is done by my tablet.

  • Hi Saleh,


    We tested p2p example with Motorola G(1st gen), Xiomi MI3 and HTC one. It perfectly working with moto-g and mi3. But, having issue with HTC same as what you are facing. We are looking into the issue why its not working with selected devices. We suggest you by meantime please try with some other devices.


    Regards,
    Aashish
  • Hi Aashish
    Thank you!!!
    A thing I didn't mention is: The Tablet sees the cc3200 device and when I press the connect button, the status of cc3200 device in my tablet becomes "Invited", but eventually it's name becomes removed from Tablet peer devices list and again becomes available but is not connected and this procedure repeats if again I press the connect button in my tablet.
    I will use another device and I release the results here as soon as possible.
  • I tried ASUS ME170C tablet, it connects to the board and gets IP (192.168.1.2) but no data is transfered.
    In console the last line ask me to connect to the cc3200 (Connect to cc3200-p2p-device ) while the tablet is connected.
  • Hi Saleh,

    Which data are you referring to? can you please elaborate on what is your application doing?
    Did you open a client or server socket?
    Was the socket creation and then socket connection successful?

    Thanks,
    Alon
  • Hi Alon

    I am running "p2p" example of CC3200 SDK as it was released by TI (I am using CC3200-LAUNCHXL) and just I want to run the example to connect CC3200 and an Android tablet to communicate data using WiFi Direct.

    I didn't change any line of the code and definitions of the "p2p" example (defibed in main.c) are:

    #define APPLICATION_VERSION "1.1.0"

    #define P2P_REMOTE_DEVICE "remote-p2p-device"
    #define P2P_DEVICE_NAME "cc3200-p2p-device"
    #define P2P_SECURITY_TYPE SL_SEC_TYPE_P2P_PBC
    #define P2P_SECURITY_KEY ""
    #define P2P_CONFIG_VALUE "1-0050F204-1"
    #define Delay(x) MAP_UtilsDelay(x * 8000)


    #define APP_NAME "P2P Demo"
    #define LISENING_CHANNEL 11
    #define REGULATORY_CLASS 81
    #define OPERATING_CHANNEL 6
    #define TCP_PACKET_COUNT 1000
    #define PORT_NUM 5001 /* Port to be used by TCP server*/
    #define BUF_SIZE 1400

    #define P2P_ROLE_TYPE_NEGOTIATE

    Thanks
    Saleh
  • Hi Saleh,

    OK, I understand.
    How are you sending the packets from your tablet? did you download iperf for Android?

    Thanks,
    Alon
  • Hi Saleh,

    I am closing the thread, if issue still exist please open a new thread and add a link to this one for reference.

    Thanks,
    Alon
  • HI ,
    It's necessario to have iperf for what ?? For sending data from the tablet to the CC3200 board?