(Page 1 of 29 in this chapter)
Version
Chapter 8
Alphabetical Function Reference
8.1 Introduction
swiCallDriver 55
swiCloseSwitch 59
swiConfigBoardClock 60
swiConfigLocalStream 65
swiConfigLocalTimeslot 68
swiConfigNetrefClock 71
swiConfigSec8KClock 74
swiConfigStreamSpeed 76
swiDisableOutput 78
swiDisableSwitch 80
swiEnableSwitch 82
swiGetBoardClock 83
swiGetBoardInfo 88
swiGetDriverInfo 91
swiGetLastError 93
swiGetLocalStreamInfo 94
swiGetLocalTimeslotInfo 97
swiGetOutputState 100
swiGetStreamsBySpeed 103
swiGetSwitchCaps 105
swiGetTimingReference 111
swiMakeConnection 114
swiMakeFramedConnection 117
swiOpenSwitch 120
swiResetSwitch 122
swiSampleInput 124
swiSendPattern 126
swiSetVerify 129
8.1 Introduction
This chapter provides a comprehensive, alphabetically-ordered reference to the functions available in the CT Access Switching service. A prototype of each function is shown with the function description and details of all its arguments and return values. A typical function includes:
swiDoSomeThing
Prototype
The prototype is followed by a listing of the function's arguments. Natural MicroSystems data types include the following:
·
WORD
·
DWORD
·
INT16
·
INT32
·
BYTE
16 bit unsigned
32-bit unsigned
16-bit signed
32-bit signed
8-bit unsigned
If a function argument is a data structure, the complete data structure is defined.
Return Values
The return value for a function is either
SUCCESS
or an error code.
Refer to Appendix B for a listing of all errors returned by the Switching service functions.
Events
If events are listed, the function is asynchronous and is complete when the
DONE
event is returned. If there are no events listed, the function is synchronous.
Additional information such as reason codes and return values may be provided in the
value
field of the event.
Example
Example functions which start with
Demo
are excerpts taken from the demonstration code which is shipped with the product.
Example functions which start with
my
are excerpts taken from sample application programs.
The notation
/* ... */
indicates additional code which is not shown.
(Page 1 of 29 in this chapter)
Version
Want to send us feedback on our documentation? Email:
Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.