Perform a group formation and launch as GO (nonpersistent) by automatic connection with no fast connection after each reset or disconnection. The device does not store the parameters of the last connection. At least one profile should be configured in the system.
- DISCONNECT – Tear down the group immediately.
- Hard reset or after tearing down – Perform a profile P2P find with the stored network, examine the results, and initiate a negotiation request with the policy parameters (negotiate with intent = 15 results as GO).
- Configure P2P global parameters.
- Configure P2P profile policy with SL_P2P_ROLE_GROUP_OWNER (intent 15), and with SL_P2P_NEG_INITIATOR_RAND_BACKOFF (negotiation initiator don't care). SL_P2P_POLICY(SL_P2P_ROLE_GO, SL_P2P_NEG_INITIATOR_RAND_BACKOFF)
- Configure P2P profile policy connection with auto-start and fast connection. SL_CONNECTION_POLICY(true, false, false, false)
- Configure P2P profile according to the willing parameters of the remote device such as name, MAC address, and so forth.
- If the peer parameters are unknown, operate a discover P2P operation, find P2P peers, and then configure profiles.