GetDedicatedChannelInfo: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
(Created page with " This command allows to accept an incoming call once presented on the specified port. '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |AcceptCall |PortIndex |Error Code in case of error. |} '''OUTPUT''' Command status: <br> "%s\n", status (CONNECTED or NO INCOMING CALL) '''EXAMPLE''' <syntaxhighlight lang="text"> ~# AcceptCall 0<br> CONNECTED<br> ~# AcceptCall 2<br> NO INCOMING CALL </syntaxhighlight> Category:SMS|R2D...")
Tag: 2017 source edit
 
m (removed Category:Voice using HotCat)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:


This command allows to accept an incoming call once presented on the specified port.
This command writes to the standard output GSM dedicated Channel information for the connected call on the specified GSM port.


'''COMMAND'''
'''COMMAND'''
Line 8: Line 8:
!Returns
!Returns
|-
|-
|AcceptCall
|GetDedicatedChannelInfo
|PortIndex  
|PortIndex  
|[[R2D2 Error Codes|Error Code]] in case of error.
|Dedicated Channel info (status, channel, time slot, timing advance, PWR, RxLevel, quality, mode).
|}
|}


'''OUTPUT'''
'''OUTPUT'''<br>Command output in the following format:
Command status: <br>
 
"%s\n", status (CONNECTED or NO INCOMING CALL)
"%s %s %d %d %d %d %d %d %s\n", registration_status, access_technology, channel,timeslot, time_advance, pwr, signal_level, quality, channel_mode


'''EXAMPLE''' <syntaxhighlight lang="text">
'''EXAMPLE''' <syntaxhighlight lang="text">
~# GetDedicatedChannelInfo 1
CONNECTED 2G 178 1 0 5 -76 0 S_HR


~# AcceptCall 0<br>
~# GetDedicatedChannelInfo 0
CONNECTED<br>
NO_CONNECTION 3G
 
~# AcceptCall 2<br>
NO INCOMING CALL
 
</syntaxhighlight>
</syntaxhighlight>
[[Category:SMS|R2D2]]
[[Category:R2D2]]
[[Category:Voice|R2D2]]
[[Category:NETWORK]]
[[Category:CDR|R2D2]]

Latest revision as of 21:14, 1 April 2025

This command writes to the standard output GSM dedicated Channel information for the connected call on the specified GSM port.

COMMAND

Command Line Arguments Returns
GetDedicatedChannelInfo PortIndex Dedicated Channel info (status, channel, time slot, timing advance, PWR, RxLevel, quality, mode).

OUTPUT
Command output in the following format:

"%s %s %d %d %d %d %d %d %s\n", registration_status, access_technology, channel,timeslot, time_advance, pwr, signal_level, quality, channel_mode

EXAMPLE

~# GetDedicatedChannelInfo 1
CONNECTED 2G 178 1 0 5 -76 0 S_HR

~# GetDedicatedChannelInfo 0
NO_CONNECTION 3G