(Page 28 of 29 in this chapter) Version
Mtp3SetNSapCfg
Description
- Configures the MTP 3 task with the network SAP configuration values contained in the MTP3NSapCfg structure provided.
Prototype
- MTP3_STATUS Mtp3SetNSapCfg (U8 board,
MTP3NSapCfg *pNSapCfg,
S16 nSapNo)
- board TX board number on which the desired MTP 3 task resides. Valid range is 1 to MAXBOARD (currently 8).
- pNSapCfg Pointer to the MTP3NSapCfg structure containing the network SAP configuration values.
- nSapNo Network SAP number to assign to this NSAP. Valid range is 0 to the maximum number of NSAPs - 1, as specified in the Mtp3SetGenCfg call.
Return Values
Details:
- An application must set the field values in the MTP3NSapCfg structure before calling this function. This can be done by calling Mtp3InitNSapCfg, or by setting each field from within the application, or with a combination of the two, such as calling Mtp3InitNSapCfg and then overriding specific fields before passing the MTP3NSapCfg structure to this function.
- This function is typically called once for each configured NSAP.
- Refer to the MTP3NSapCfg structure in the Mtp3InitNSapCfg description for more information about its fields and their default values.
See Also
- Mtp3InitNSapCfg, Mtp3MgmtInit, Mtp3SetGenCfg
(Page 28 of 29 in this chapter) Version
tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights
reserved.