} else {
DBG("Headless Confirmation");
- if (TIZEN_FEATURE_BLUEZ_SPEAKER_REFERENCE) {
- /* Reply the ssp confirmation automaticaly */
+ /* Reply the ssp confirmation automaticaly */
+ if (TIZEN_FEATURE_DA_REFERENCE && !TIZEN_FEATURE_FHUB_REFERENCE) {
+ DBG("DA Headless Device. Auto Accept");
gap_agent_reply_confirmation(agent, GAP_AGENT_ACCEPT, NULL);
goto done;
- }
-
- if (TIZEN_FEATURE_ROBOT_REFERENCE) {
+ } else if (TIZEN_FEATURE_BLUEZ_SPEAKER_REFERENCE) {
+ gap_agent_reply_confirmation(agent, GAP_AGENT_ACCEPT, NULL);
+ goto done;
+ } else if (TIZEN_FEATURE_ROBOT_REFERENCE) {
DBG("Robot Device. Auto Accept");
- /* Reply the ssp confirmation automaticaly */
gap_agent_reply_confirmation(agent, GAP_AGENT_ACCEPT, NULL);
goto done;
}