|
RDK Documentation (Open Sourced RDK Components)
|
36 int main(
int argc,
char** argv)
38 #ifdef ENABLE_MFR_WIFI
43 printf(
"Client Entering\r\n");
46 param.requestType=WIFI_GET_CREDENTIALS;
50 printf(
"IARM_Bus_Call Success...\n");
54 printf(
"Problem with IARM_Bus_Call \n");
56 printf(
"\n The value of SSID is %s \n The value of Security mode is %d ",param.wifiCredentials.cSSID,param.wifiCredentials.iSecurityMode);
58 while(getchar()!=
'x') {
64 printf(
"Client Exiting\r\n");
66 printf(
"WIFI NOT SUPPORTED IN THIS DEVICE Exiting\r\n");
IARM_Result_t IARM_Bus_Term(void)
This API is used to terminate the IARM-Bus library.
IARM_Result_t IARM_Bus_Call(const char *ownerName, const char *methodName, void *arg, size_t argLen)
This API is used to Invoke RPC method by its application name and method name.
IARM_Result_t IARM_Bus_Disconnect(void)
This API disconnect Application from IARM Bus so the application will not receive any IARM event or R...
RDK IARM-Bus API Declarations.
#define IARM_BUS_MFRLIB_NAME
IARM_Result_t IARM_Bus_Connect(void)
This API is used to connect application to the IARM bus daemon. After connected, the application can ...
IARM_Result_t IARM_Bus_Init(const char *name)
This API is used to initialize the IARM-Bus library.