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.

LAUNCHXL-CC3235SF: p2p(WiFi direct) in network terminal

Part Number: LAUNCHXL-CC3235SF

Hi,

I'm trying to connect two Launchpad-CC3235SF via p2p mode with the network terminal example.

But I can't connect both devices in spite of using the 'p2pstart' command.

I found a forum link(below) that asked about the same issue, and tried to manually link it, as suggested in the link.

https://e2e.ti.com/support/wireless-connectivity/wifi/f/wi-fi-forum/878528/ccs-boostxl-cc3135-issue-with-p2p-in-network-terminal

Unfortunately, device name is changing continuously(mysimplelink_xx, xx is random characters and it internally generated in NWP. see section 4.5.3.1 of Network processor User guide) 

So, I can't connect the two devices again. (Because the device name changes when restarted)

What should I do? Please give me some advice.

Thanks.

  • Hi,

    Is using P2P mode a hard requirement? In this case, it will be difficult to persistently add a Wi-Fi profile to ensure pairing.

    It might be easier to make one of the two devices startup in AP mode, and have the other CC3235 connect to it as a station. WIth AP mode, you can set a persistent SSID, so you can add a profile on your STA CC3235 to ensure that you can reconnect the two devices together without having to perform provisioning again.

    Regards,

    Michael

  • Is using P2P mode a hard requirement? In this case, it will be difficult to persistently add a Wi-Fi profile to ensure pairing.

    No, This is for study to become familiar with WiFi direct. Then, Can I understand that it is difficult(or impossible) to connect TI WiFi chips using p2p mode?

    so you can add a profile on your STA CC3235 to ensure that you can reconnect the two devices together without having to perform provisioning again

    And could I see an example of adding a profile?

    Thanks.

  • Hi,

    You can connect TI Wi-FI devices in P2P mode, but connecting two of them automatically using the saved profile feature is difficult since the device name is randomized. Perhaps a better approach would be to always manually scan for P2P peers and manually connect instead of relying on the profile feature.

    To add a profile, please use the sl_WlanProfileAdd command. In network terminal, this is the addprofile command. With that command, you should add the SSID of the AP mode CC3235, which will allow for auto connection.


    Regards,

    Michael