RDK Documentation (Open Sourced RDK Components)
idm_client.h File Reference

This source file contains functions that will run as task for maintaining the device list. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _gwyDeviceData
 
struct  device_info_t
 
struct  _discovery_config_t
 

Macros

#define ACCOUNTID_SIZE   30
 
#define MAC_ADDR_SIZE   18
 
#define IPv4_ADDR_SIZE   16
 
#define IPv6_ADDR_SIZE   128
 
#define BOOL   unsigned char
 

Typedefs

typedef struct _gwyDeviceData GwyDeviceData
 
typedef struct _discovery_config_t discovery_config_t
 

Functions

gboolean init_gwydata (GwyDeviceData *gwydata)
 Initializes gateway attributes such as serial number, IP details , MAC details, URL details etc. More...
 
gboolean getserialnum (GString *ownSerialNo)
 This function is used to get the serial number of the device from the vendor specific file. More...
 
gboolean discovery_interval_configuration (guint seconds, guint loss_detection_window)
 
unsigned char getAccountId (char *outValue)
 
int idm_server_start (char *interface, char *mac)
 
void free_server_memory ()
 

Variables

GList * xdevlist = NULL
 
GMainContext * main_context
 
GUPnPControlPoint * cp_bgw
 
GUPnPControlPoint * cp
 
GString * ownSerialNo
 
char accountId [30]
 
GUPnPContext * context
 
GUPnPContext * upnpContextDeviceProtect
 
static char certFile [24]
 
static char keyFile [24]
 
static GMainLoop * main_loop
 
unsigned int sleep_seconds =0
 
GMutex * mutex
 
int(* callback )(device_info_t *, uint, uint)
 

yes

This source file contains functions that will run as task for maintaining the device list.

Definition in file idm_client.h.


Data Structure Documentation

◆ device_info_t

struct device_info_t

Definition at line 49 of file idm_client.h.

Collaboration diagram for device_info_t:
Collaboration graph
Data Fields
char Ipv4[16]
char Ipv6[128]
char mac[18]

◆ _discovery_config_t

struct _discovery_config_t

Definition at line 56 of file idm_client.h.

Collaboration diagram for _discovery_config_t:
Collaboration graph
Data Fields
gchar interface[32]
unsigned int port
unsigned int discovery_interval
unsigned int loss_detection_window
gchar base_mac[32]