Perform a group formation and launch as GO (nonpersistent) or CL, without storing any parameter. At least one profile should be configured in the system.
- DISCONNECT – If GO, then 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 = 7 results as GO or CL).
- Configure P2P global parameters.
- Configure P2P profile policy with SL_P2P_ROLE_NEGOTIATE (intent 7), 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.