Table of Contents Index NMS Glossary Previous Page Next Page (Page 1 of 7 in this chapter) Version


Chapter 3

Alphabetical Function Reference


3.1 Introduction
dtmGetTrunkStatus 24
dtmRefreshTrunkStatus 26
dtmResetCounters 27
dtmSendAlarm 28
dtmStartTrunkMonitor 29
dtmStopTrunkMonitor 32

3.1 IntroductionTop of Page

This chapter provides a summary and a comprehensive, alphabetically-ordered reference to the DTM service functions.

The DTM service provides the following functions:
Function

S / A*

Description

dtmGetTrunkStatus

S

Retrieves complete status and statistics for a digital trunk.

dtmRefreshTrunkStatus

A

Requests a status event from a board.

dtmResetCounters

A

Resets error accumulators.

dtmSendAlarm

S

Starts or stops sending an alarm on a digital trunk.

dtmStartTrunkMonitor

A

Starts monitoring a specified trunk.

dtmStopTrunkMonitor

A

Stops monitoring a specified trunk.

*Synchronous or Asynchronous

A prototype of each function is shown with the function description and details of all arguments and return values. A typical function description includes

Prototype

The prototype is shown followed by a listing of the function's arguments. Natural MicroSystems data types include:

· 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. For asynchronous functions, a return value of SUCCESS indicates the function was initiated; subsequent events indicate the status of the operation.

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.

Refer to Appendix A for details about DTM events.

Example

Example functions which start with Demo are excerpts taken from demonstration function libraries shipped with the product.

Example functions which start with my are excerpts taken from sample application programs shipped with the product.

The notation /* ... */ indicates additional code which is not shown.



Table of Contents Index NMS Glossary Previous Page Next Page (Page 1 of 7 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2001, Natural MicroSystems, Inc. All rights reserved.