+void CAManagerLEStopScan()
+{
+ OIC_LOG(DEBUG, TAG, "CAManagerLEStopScan");
+ CALERestartScanWithInterval(0, 0, BLE_SCAN_DISABLE);
+}
+
+void CAManagerSetConfigure(CAUtilConfig_t config)
+{
+ OIC_LOG_V(INFO, TAG, "set configure for bleFlags : %d", config.bleFlags);
+ caglobals.bleFlags = config.bleFlags;
+}
+
+CAResult_t CAManagerLEStartAdvertising()
+{
+ CAResult_t ret = CALEServerStartAdvertise();
+ if (CA_STATUS_OK != ret)
+ {
+ OIC_LOG(ERROR, TAG, "CALEServerStartAdvertise has failed");
+ }
+ return ret;
+}
+
+CAResult_t CAManagerLEStopAdvertising()
+{
+ CAResult_t ret = CALEServerStopAdvertise();
+ if (CA_STATUS_OK != ret)
+ {
+ OIC_LOG(ERROR, TAG, "CAManagerLEStopAdvertising has failed");
+ }
+ return ret;
+}
+