Wiznet WIZ-iRadio Manual do Utilizador Página 25

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 28
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 24
WIZ-iRadio Users Manual
© Copyright 2008 WIZnet Inc. All rights reserved
25
Table 5. Read Configuration Data from EEPROM
4) Network setting : DHCP or Static
If DHCP is configured, the IP address is assigned by DHCP server. Or not, it is initialized
with existing IP address.
5) Socket open for configuration channel & DHCP channel
UDP is used for communication with Configuration Tool program of PC. A socket opens for
this. When using DHCP, the leased IP address should be updated. For this, a socket opens
to transmit DHCP request message through UDP.
W5100 support 4 hardware sockets. Each sockets are used as below.
socket 0 : Streaming (TCP)
socket 1 : Configuration (UDP)
socket 2 : DNS (UDP)
socket 3: DHCP (UDP)
The port for communication with Configuration program is as below.
#define REMOTE_SERVER_PORT 49005 // pc
#define REMOTE_CLIENT_PORT 49006 // board
#define REMOTE_UPDATE_PORT 49003 // board
The “REMOTE_SERVER_PORT” is the port for PC Configuration program. The
#define EEP_CONF 0x00
#define EEP_TEST (EEP_CONF)
#define EEP_MAC (EEP_TEST+1)
#define EEP_LIP (EEP_MAC + 6)
#define EEP_SN (EEP_LIP + 4)
#define EEP_GW (EEP_SN + 4)
#define EEP_CUR_CH (EEP_GW + 4)
#define EEP_DHCP (EEP_CUR_CH + 2)
#define EEP_VER (EEP_DHCP + 1)
#define EEP_SIP (EEP_VER + 2)
#define EEP_SPORT (EEP_SIP + 4)
#define EEP_STATUS (EEP_SPORT + 2)
#define EEP_DNSIP (EEP_STATUS + 1)
#define EEP_D_IP (EEP_DNSIP + 4)
Vista de página 24
1 2 ... 20 21 22 23 24 25 26 27 28

Comentários a estes Manuais

Sem comentários