StartPcapTrace: 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 starts a data packets capture on the specified GSM port.
 
Data session should be active.


'''COMMAND'''
'''COMMAND'''
Line 8: Line 10:
!Returns
!Returns
|-
|-
|AcceptCall
|StartPcapTrace
|PortIndex  
|PortIndex,FilePath
|[[R2D2 Error Codes|Error Code]] in case of error.
|[[R2D2 Error Codes|Error Code]] in case of error.
|}
|}


'''OUTPUT'''
'''OUTPUT'''<br>None
Command status: <br>
"%s\n", status (CONNECTED or NO INCOMING CALL)


'''EXAMPLE''' <syntaxhighlight lang="text">
'''EXAMPLE''' <syntaxhighlight lang="text">
~# StartPcapTrace 1 /mnt/sdcard/tmp/traces/log1.cap
DATA LINK IS DOWN


~# AcceptCall 0<br>
~# StartPcapTrace 0 /mnt/sdcard/tmp/traces/log0.cap
CONNECTED<br>
OK
 
~# AcceptCall 2<br>
NO INCOMING CALL
 
</syntaxhighlight>
</syntaxhighlight>
[[Category:SMS|R2D2]]
[[Category:GENERAL]]
[[Category:Voice|R2D2]]
[[Category:R2D2]]
[[Category:CDR|R2D2]]

Latest revision as of 21:05, 1 April 2025

This command starts a data packets capture on the specified GSM port.

Data session should be active.

COMMAND

Command Line Arguments Returns
StartPcapTrace PortIndex,FilePath Error Code in case of error.

OUTPUT
None

EXAMPLE

~# StartPcapTrace 1 /mnt/sdcard/tmp/traces/log1.cap
DATA LINK IS DOWN

~# StartPcapTrace 0 /mnt/sdcard/tmp/traces/log0.cap
OK