Commit 96177c3d7789168856b755b4ba8f8b633c4c5be5

Start obexd, obex-client services when bt is enable.
Stop obexd, obex-client services when bt power is Off.
  
183183 LOGE("Failed to start hcid");
184184 goto out;
185185 }
186 LOGI("Starting obex deamon");
187 if (property_set("ctl.start", "obexd") < 0) {
188 LOGE("Failed to start obexd");
189 goto out;
190 }
191 LOGI("Starting obex client");
192 if (property_set("ctl.start", "obex-client") < 0) {
193 LOGE("Failed to start obex-client");
194 goto out;
195 }
186196 sleep(HCID_START_DELAY_SEC);
187197
188198 ret = 0;
211211 LOGI("Stopping hcid deamon");
212212 if (property_set("ctl.stop", "hcid") < 0) {
213213 LOGE("Error stopping hcid");
214 goto out;
215 }
216 LOGI("Stopping obex deamon");
217 if (property_set("ctl.stop", "obexd") < 0) {
218 LOGE("Error stopping obexd");
219 goto out;
220 }
221 LOGI("Stopping obex client");
222 if (property_set("ctl.stop", "obex-client") < 0) {
223 LOGE("Error stopping obex-client");
214224 goto out;
215225 }
216226 usleep(HCID_STOP_DELAY_USEC);