Table of Contents

Overview

This example demonstrates how to connect the CC3200 to a P2P device. The application starts a TCP server on port 5001 and waits for a P2P device to connect to send data.

Supported P2P roles:

The CC3200 can be configured in the following modes to initiate negotiation:

Supported security types for P2P negotiation:

The CC3200 can be configured in any_p2p mode as well. When configured, the CC3200 will perform discovery and connect to the first found device using security type SL_SEC_TYPE_P2P_PBC.

Application details

This example configures the device with following settings:

Usage

  1. Setup a serial communication application. Open a serial terminal on a PC with the following settings:
    • Port: Enumerated COM port
    • Baud rate: 115200
    • Data: 8 bit
    • Parity: None
    • Stop: 1 bit
    • Flow control: None
  2. Run the reference application.
    • Open the project in CCS/IAR. Build the application and debug to load to the device, or flash the binary using UniFlash.
  3. Start a remote P2P device. The CC3200 will be visible cc3200-p2p-device by default, set by P2P\_DEVICE\_NAME.
  4. Connect to the CC3200. On successful connection, the acquired IP address will be printed to the serial terminal.
  5. Additionally, you can open an Iperf client on the remote P2P device and connect on PORT_NUM

    Iperf.exe -c  -p  -i 1

Limitations/Known Issues