DDNS_POINTERS Structure

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
DDNS_POINTERS Structure
C
typedef struct {
  union {
    BYTE * szRAM;
    ROM BYTE * szROM;
  } CheckIPServer;
  WORD CheckIPPort;
  union {
    BYTE * szRAM;
    ROM BYTE * szROM;
  } UpdateServer;
  WORD UpdatePort;
  union {
    BYTE * szRAM;
    ROM BYTE * szROM;
  } Username;
  union {
    BYTE * szRAM;
    ROM BYTE * szROM;
  } Password;
  union {
    BYTE * szRAM;
    ROM BYTE * szROM;
  } Host;
  struct {
    unsigned char CheckIPServer : 1;
    unsigned char UpdateServer : 1;
    unsigned char Username : 1;
    unsigned char Password : 1;
    unsigned char Host : 1;
  } ROMPointers;
} DDNS_POINTERS;
Description

This structure of pointers configures the Dynamic DNS Client. Initially, all pointers will be null and the client will be disabled. Set DDNSClient.[field name].szRAM to use a string stored in RAM, or DDNSClient.[field name].szROM to use a string stored in ROM. (Where [field name] is one of the parameters below.) 

If a ROM string is specified, DDNSClient.ROMPointers.[field name] must also be set to 1 to indicate that this field should be retrieved from ROM instead of RAM.

Parameters
Parameters 
Description 
CheckIPServer 
The server used to determine the external IP address 
CheckIPPort 
Port on the above server to connect to 
UpdateServer 
The server where updates should be posted 
UpdatePort 
Port on the above server to connect to 
Username 
The user name for the dynamic DNS server 
Password 
The password to supply when making updates 
Host 
The host name you wish to update 
ROMPointers 
Indicates which parameters to read from ROM instead of RAM. 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.