beautypg.com

ThingMagic Mercury xPRESS Platform v1.7 User Manual

Page 63

background image

Power-Over-Ethernet Module

A D I V I S I O N O F T R I M B L E

Using the Optional Modules

63

1. POE_DHCP_MODE: Sets DHCP mode ON or OFF. If DHCP is ON, Check for

Console debug log statements to learn the module IP and Port number details.

2. POE_IP_MODE: Sets the PoE module configuration to be UDPclient or TCPclient or

TCPserver or HTTPclient.

You will need to edit this statement to select the mode::

#define

POE_IP_MODE ( POE_TCP_CLIENT )

Inside the parenthesis, enter one of the following values:

POE_UDP_CLIENT

[PoE interface configured as UDP client]

POE_TCP_SERVER

[PoE interface configured as TCP server]

POE_TCP_CLIENT

[PoE interface configured as TCP client]

POE_HTTP_CLIENT

[PoE interface configured as HTTP client]

Note

For HTTP client mode, there is no need to use this combination with TCP as
you must for the WiFi module.

If this mode is changed, you will likely need to reconfigure the settings for "Remote
host configurations" as shown below.

3. POE_LOCAL_PORT_NUMBER: A PoE module port number is required if the module

is configured as a TCPserver



The best practice is to use port number within the range assigned for "Dynamic,

private or ephemeral ports".

http://en.wikipedia.org/wiki/Well-

known_ports#Dynamic.2C_private_or_ephemeral_ports

4. POE Static IP Attributes: Manually assign the following attributes for the PoE

module StaticIP configuration if DHCP is OFF



POE_MODULE_IP_ADDRESS



POE_SUBNET_MASK



POE_GATEWAY_ADDRESS

5. Remote Host Attributes: Some of these attributes will need to be configured for all

of the supported modes.



POE_REMOTE_HOST_NAME