SMS/GPRS command - scandtc
Appearance
Revision as of 13:30, 19 January 2026 by Donatas.Mazonas (talk | contribs) (Added link to SMS/GPRS command - cleardtc)
SMS/GPRS commands > SMS/GPRS command - scandtc

Description
Sends selected module fault codes back to user.
See also SMS/GPRS command - cleardtc.
Syntax
scandtc <module_id>
Arguments
| ARGUMENT | ARGUMENT DESCRIPTION |
|---|---|
| <module_id> | Module ID |
Examples
| REQUEST | OUTCOME | RESPONSE |
|---|---|---|
| scandtc 11 | Success | Empty string in response if no DTCs found |
| scandtc 11 | Success | scandtc: 1-P2205;2-P2206 |
| scandtc a | Fail | Invalid argument: not a number. |
| scandtc 11 | Fail | Failed to get DTCs. |
| Fail | Invalid argument: <argument>. |
Response Explanation
| RESPONSE ELEMENT | DESCRIPTION | EXAMPLE |
|---|---|---|
| scandtc | Command name | scandtc: |
| 1- | First reported DTC | 1-P2205 |
| 2- | Second reported DTC | 2-P2206 |