M3UARteCfg

Dependent functions: M3uaGetRteCfg, M3uaInitRteCfg, M3uaSetRteCfg

The following M3UARteCfg structure contains M3UA route configuration entry parameters. Bold text indicates fields you can set. Unbolded fields are either unused or for internal use only. They are set to correct values by M3uaInitRteCfg and must not be overridden.

typedef struct _M3UARteCfg          /* Routing entry */
{
    U8              nwkId;          /* network ID */
    U8              rtType;         /* Route Type */

    U16             spare1;         /* alignment */
    M3UARtFilter    rtFilter;       /* M3UA routing filter */
    U32             psId;           /* Peer Server ID */

    Bool            noStatus;       /* TRUE if status suppressed */
    Bool            nSapIdPres;     /* Upper SAP ID present */
    S16             nSapId;         /* Upper SAP ID */

} M3UARteCfg;

The following table describes the fields in the M3UARteCfg structure that you can set. These fields are not re-configurable.

Field

Type

Default

Description

nwkId

U8

1

Network identifier. Valid range is 1 - 255.

rtType

U8

M3UA_RTTYPE_PS

Route type. Only valid value is:

M3UA_RTTYPE_PS = Route to a peer server.

rtFilter

Structure

Refer to structure

Routing filter parameters specified in M3UARtFilter.

psId

U32

0

(Valid when rtType is M3UA_RTTYPE_PS.) Identifier of the peer server associated with this route.

nSapIdPres

Bool

FALSE

Determines whether an NSAP identifier is associated with this route. Valid values are:

TRUE = NSAP identifier is associated with this route. Use this value for local (up) routes.

FALSE = NSAP identifier is not associated with this route. Use this value for remote (down) routes.

nSapId

S16

0

(Valid when nSapIdPres is TRUE.) NSAP identifier with which this route is associated.


For more information about configuring routes, see M3UA route configuration.