List of R2D2 Commands: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
|[[R2D2 - GetCDRLine|GetCDRLine]] | |[[R2D2 - GetCDRLine|GetCDRLine]] | ||
|Get Line of CDR File | |Get Line of CDR File | ||
|PortIndex | |PortIndex CdrFileName LineNumber | ||
|CdrLine, [[R2D2 Error Codes|Error Code]] in case of error | |CdrLine, [[R2D2 Error Codes|Error Code]] in case of error | ||
|CDR | |CDR | ||
Line 36: | Line 36: | ||
|[[R2D2 - StartPortLog|StartPortLog]] | |[[R2D2 - StartPortLog|StartPortLog]] | ||
|Start Log for a Port | |Start Log for a Port | ||
|PortIndex | |PortIndex UniqueID | ||
|[[R2D2 Error Codes|Error Code]] in case of error | |[[R2D2 Error Codes|Error Code]] in case of error | ||
|Logs | |Logs | ||
Line 42: | Line 42: | ||
|[[R2D2 - StopPortLog|StopPortLog]] | |[[R2D2 - StopPortLog|StopPortLog]] | ||
|Stop Log for a Port | |Stop Log for a Port | ||
|PortIndex | |PortIndex UniqueID | ||
|[[R2D2 Error Codes|Error Code]] in case of error | |[[R2D2 Error Codes|Error Code]] in case of error | ||
|Logs | |Logs | ||
Line 48: | Line 48: | ||
|[[R2D2 - GsmRegistrationMode|GsmRegistrationMode]] | |[[R2D2 - GsmRegistrationMode|GsmRegistrationMode]] | ||
|Set/Get GSM Auto Registration Mode | |Set/Get GSM Auto Registration Mode | ||
|Port index | |Port index [Registration mode] | ||
|Command status or Registration mode | |Command status or Registration mode | ||
|Network | |Network | ||
Line 90: | Line 90: | ||
|[[R2D2 - SendAtCommand|SendAtCommand]] | |[[R2D2 - SendAtCommand|SendAtCommand]] | ||
|Send AT Command to GSM Port | |Send AT Command to GSM Port | ||
|PortIndex | |PortIndex ATCommand | ||
|Response from the GSM modem | |Response from the GSM modem | ||
|General | |General | ||
Line 96: | Line 96: | ||
|[[R2D2 - SendSmsText|SendSmsText]] | |[[R2D2 - SendSmsText|SendSmsText]] | ||
|Send a specified Text as a SMS | |Send a specified Text as a SMS | ||
|PortIndex | |PortIndex Number SMS text [SMSC [Timeout]] | ||
|[[R2D2 Error Codes|Error Code]] in case of error | |[[R2D2 Error Codes|Error Code]] in case of error | ||
|SMS | |SMS | ||
|} | |} |
Revision as of 22:54, 5 June 2024
R2D2 Command | Description | Input Arguments | Returns | Category |
---|---|---|---|---|
BackupCDR | Backup CDR files | BackupFileName | Error Code in case of error | CDR |
DeletePortLogs | Delete Logs of a Port | PortIndex | Error Code in case of error | Logs |
GetCDR | Get CDR File Path | None. | CDR File Path | CDR |
GetCDRLine | Get Line of CDR File | PortIndex CdrFileName LineNumber | CdrLine, Error Code in case of error | CDR |
ResetCDR | Purges CDR, GSM and Data Logs | None. | None. | CDR |
StartPortLog | Start Log for a Port | PortIndex UniqueID | Error Code in case of error | Logs |
StopPortLog | Stop Log for a Port | PortIndex UniqueID | Error Code in case of error | Logs |
GsmRegistrationMode | Set/Get GSM Auto Registration Mode | Port index [Registration mode] | Command status or Registration mode | Network |
GetModemInfo | Get Modem Informations | PortIndex | Modem informations | General |
ImsiAttach | Attach a SIM to the Network | PortIndex | Error Code in case of error | Network |
ImsiDetach | Detach a SIM from the Network | PortIndex | Error Code in case of error | Network |
ImsiStatus | Get SIM Registration status | PortIndex | IMSI status (ATTACHED or DETACHED) | Network |
StartGsmPort | Open/Start a GSM Port | PortIndex | Error Code in case of error | General |
StopGsmPort | Close/Stop a GSM Port | PortIndex | Error Code in case of error | General |
SendAtCommand | Send AT Command to GSM Port | PortIndex ATCommand | Response from the GSM modem | General |
SendSmsText | Send a specified Text as a SMS | PortIndex Number SMS text [SMSC [Timeout]] | Error Code in case of error | SMS |