Difference between revisions of "Unit SIP"
From Ultibo.org
								
												
				 (Created page with "Return to Unit Reference   === Description === ----  ''To be documented''  === Constants === ----  ''To be documented''  === Type definitions === ----  ''To...")  | 
				|||
| Line 4: | Line 4: | ||
=== Description ===  | === Description ===  | ||
----  | ----  | ||
| + | |||
| + | '''Ultibo SIP interface unit'''  | ||
''To be documented''  | ''To be documented''  | ||
| Line 10: | Line 12: | ||
----  | ----  | ||
| − | ''  | + | |
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''SIP logging''' <code> SIP_LOG_* </code></div>  | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| + | |-  | ||
| + | | <code>SIP_LOG_LEVEL_DEBUG = LOG_LEVEL_DEBUG;</code>  | ||
| + | | SIP debugging messages  | ||
| + | |-  | ||
| + | | <code>SIP_LOG_LEVEL_INFO = LOG_LEVEL_INFO;</code>  | ||
| + | | SIP informational messages  | ||
| + | |-  | ||
| + | | <code>SIP_LOG_LEVEL_WARN = LOG_LEVEL_WARN;</code>  | ||
| + | | SIP warning messages  | ||
| + | |-  | ||
| + | | <code>SIP_LOG_LEVEL_ERROR = LOG_LEVEL_ERROR;</code>  | ||
| + | | SIP error messages  | ||
| + | |-  | ||
| + | | <code>SIP_LOG_LEVEL_NONE = LOG_LEVEL_NONE;</code>  | ||
| + | | No SIP messages  | ||
| + | |-  | ||
| + | |}  | ||
| + | </div></div>  | ||
| + | <br />  | ||
=== Type definitions ===  | === Type definitions ===  | ||
----  | ----  | ||
| − | ''  | + | ''None defined''  | 
=== Public variables ===  | === Public variables ===  | ||
----  | ----  | ||
| − | ''  | + | |
| + | '''SIP logging'''  | ||
| + | |||
| + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | ||
| + | |-  | ||
| + | | <code>SIP_DEFAULT_LOG_LEVEL:LongWord = SIP_LOG_LEVEL_DEBUG;</code>  | ||
| + | | style="width: 40%;"|Minimum level for SIP messages. Only messages with level greater than or equal to this will be printed.  | ||
| + | |-  | ||
| + | |}  | ||
| + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | ||
| + | |-  | ||
| + | | <code>SIP_LOG_ENABLED:Boolean;</code>  | ||
| + | | style="width: 40%;"|  | ||
| + | |-  | ||
| + | |}  | ||
| + | <br />  | ||
=== Function declarations ===  | === Function declarations ===  | ||
----  | ----  | ||
| − | |||
| + | '''Initialization functions'''  | ||
| + | |||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">  | ||
| + | <pre style="border: 0; padding-bottom:0px;">procedure SIPInit;</pre>  | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>  | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| + | |-  | ||
| + | ! '''Note'''  | ||
| + | | None documented  | ||
| + | |-  | ||
| + | |}  | ||
| + | </div></div>  | ||
| + | <br />  | ||
| + | |||
| + | '''SIP helper functions'''  | ||
| + | |||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">  | ||
| + | <pre style="border: 0; padding-bottom:0px;">procedure SIPLog(Level:LongWord; const AText:String);</pre>  | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>  | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| + | |-  | ||
| + | ! '''Note'''  | ||
| + | | None documented  | ||
| + | |-  | ||
| + | |}  | ||
| + | </div></div>  | ||
| + | <br />  | ||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">  | ||
| + | <pre style="border: 0; padding-bottom:0px;">procedure SIPLogInfo(const AText:String); inline;</pre>  | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>  | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| + | |-  | ||
| + | ! '''Note'''  | ||
| + | | None documented  | ||
| + | |-  | ||
| + | |}  | ||
| + | </div></div>  | ||
| + | <br />  | ||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">  | ||
| + | <pre style="border: 0; padding-bottom:0px;">procedure SIPLogWarn(const AText:String); inline;</pre>  | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>  | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| + | |-  | ||
| + | ! '''Note'''  | ||
| + | | None documented  | ||
| + | |-  | ||
| + | |}  | ||
| + | </div></div>  | ||
| + | <br />  | ||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">  | ||
| + | <pre style="border: 0; padding-bottom:0px;">procedure SIPLogError(const AText:String); inline;</pre>  | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>  | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| + | |-  | ||
| + | ! '''Note'''  | ||
| + | | None documented  | ||
| + | |-  | ||
| + | |}  | ||
| + | </div></div>  | ||
| + | <br />  | ||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">  | ||
| + | <pre style="border: 0; padding-bottom:0px;">SIPLogDebug(const AText:String); inline;</pre>  | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>  | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| + | |-  | ||
| + | ! '''Note'''  | ||
| + | | None documented  | ||
| + | |-  | ||
| + | |}  | ||
| + | </div></div>  | ||
| + | <br />  | ||
Return to [[Unit_Reference|Unit Reference]]  | Return to [[Unit_Reference|Unit Reference]]  | ||
Revision as of 02:40, 27 March 2018
Return to Unit Reference
Description
Ultibo SIP interface unit
To be documented
Constants
SIP logging 
 SIP_LOG_*  SIP_LOG_LEVEL_DEBUG = LOG_LEVEL_DEBUG;
 | 
SIP debugging messages | 
 SIP_LOG_LEVEL_INFO = LOG_LEVEL_INFO;
 | 
SIP informational messages | 
 SIP_LOG_LEVEL_WARN = LOG_LEVEL_WARN;
 | 
SIP warning messages | 
 SIP_LOG_LEVEL_ERROR = LOG_LEVEL_ERROR;
 | 
SIP error messages | 
 SIP_LOG_LEVEL_NONE = LOG_LEVEL_NONE;
 | 
No SIP messages | 
Type definitions
None defined
Public variables
SIP logging
 SIP_DEFAULT_LOG_LEVEL:LongWord = SIP_LOG_LEVEL_DEBUG;
 | 
Minimum level for SIP messages. Only messages with level greater than or equal to this will be printed. | 
 SIP_LOG_ENABLED:Boolean;
 | 
Function declarations
Initialization functions
procedure SIPInit;
Description: To be documented
| Note | None documented | 
|---|
SIP helper functions
procedure SIPLog(Level:LongWord; const AText:String);
Description: To be documented
| Note | None documented | 
|---|
procedure SIPLogInfo(const AText:String); inline;
Description: To be documented
| Note | None documented | 
|---|
procedure SIPLogWarn(const AText:String); inline;
Description: To be documented
| Note | None documented | 
|---|
procedure SIPLogError(const AText:String); inline;
Description: To be documented
| Note | None documented | 
|---|
SIPLogDebug(const AText:String); inline;
Description: To be documented
| Note | None documented | 
|---|
Return to Unit Reference