(Page 21 of 29 in this chapter) Version


Mtp3NSapStatus

Description

Obtains network service access point status information from the MTP 3 task, including the NSAP state (bound or unbound) and the flow control state (on or off).

Prototype

MTP3_STATUS Mtp3NSapStatus (U8 board,
S16 nsapNo,
MTP3NSapStatus *pStatus)

board TX board number on which the desired MTP 3 task resides. This value must be from 1 to MAXBOARD (currently 8).

nsapNo NSAP number for which to obtain status information. This number must have previously defined via the Mtp3SetNSapCfg function.

pStatus Pointer to a buffer provided by the application where the requested status information will be returned.

Return Values

Details

Refer to the MTP3NSapStatus structure for detailed information.

This structure is filled by the MTP 3 task in response to an Mtp3NSapStatus request.

typedef struct _Mtp3NSapStatus   /* MTP Level 3 - SAP status */
{
  U8  sapState;                  /* SAP state                */
  U8  flcSt;                     /* Flow control state       */
} MTP3NSapStatus;
Field Name

Possible values

Description

sapState

SN_UNBND
SN_BND

State of the service access point.

Unbound. No application has bound to this SAP.
Bound. An application has bound to this SAP.

flcSt

True
False

Flow control state:

Flow control is on
Flow control is off

See Also

Mtp3MgmtInit, Mtp3SetNSapCfg



(Page 21 of 29 in this chapter) Version


tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.