This source file contains functions that will run as task for maintaining the device list.
More...
Go to the source code of this file.
|
#define | ACCOUNTID_SIZE 30 |
|
#define | MAC_ADDR_SIZE 18 |
|
#define | IPv4_ADDR_SIZE 16 |
|
#define | IPv6_ADDR_SIZE 128 |
|
#define | BOOL unsigned char |
|
|
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 () |
|
|
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) |
|
This source file contains functions that will run as task for maintaining the device list.
Definition in file idm_client.h.
◆ device_info_t
Definition at line 49 of file idm_client.h.
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.
Data Fields |
gchar |
interface[32] |
|
unsigned int |
port |
|
unsigned int |
discovery_interval |
|
unsigned int |
loss_detection_window |
|
gchar |
base_mac[32] |
|