Builds a basic configuration buffer that can be passed to TUPSetNSapCfg.
void TUPInitNSapCfg ( TUPNSapCfg *cfg, S16 spId, S16 mtpSpId, U32 opc)
Argument |
Description |
cfg |
Pointer to the configuration structure to fill: typedef struct _TUPNSapCfg
|
spId |
Network service access point to configure. |
mtpSpId |
MTP NSAP to use that matches a network service access point in the MTP 3 configuration. |
opc |
Point code of this node at this service access point. |
None.
All unlisted elements in the TUPNSapCfg structure are set for the proper operation of the TUP stack and must not be changed.
Refer to USAP and NSAP configuration for more information.