2 * Copyright (c) 2010 Samsung Electronics, Inc.
5 * This software is a confidential and proprietary information
6 * of Samsung Electronics, Inc. ("Confidential Information"). You
7 * shall not disclose such Confidential Information and shall use
8 * it only in accordance with the terms of the license agreement
9 * you entered into with Samsung Electronics.
11 #ifndef __OICAPP_UTILS_H__
12 #define __OICAPP_UTILS_H__
14 #include "oicapp-sampleConsumer.h"
21 void oicapp_fail_popup(oicappData *ad , char *title , char *text , int timeout);
22 void oicapp_util_update(oicappData *ad);
23 char *oicapp_util_wifi();
25 int oicapp_client_start(oicappData *ad);
26 void oicapp_client_stop();
27 int oicapp_client_put(int power , int level);
29 int oicapp_server_start(oicappData *ad);
30 void oicapp_server_stop();
31 void oicapp_server_put(int power , int level);
33 extern void *ChangeLightRepresentation(void *param);
35 void findResourceCandidate(oicappData *ad);
36 void startObserve(oicappData *ad);
43 #endif //__OICAPP_UTILS_H__