adb_at_send
Sends a single AT command to the modem and returns the response. Requires root access; automatically detects the port or uses a specified one.
Instructions
Send a single AT command to the modem and capture the response. Requires root. Use adb_at_detect to find the correct port, or specify it manually.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | AT command to send (e.g., 'AT+CSQ', 'ATI', 'AT+COPS?') | |
| port | No | Modem device node (e.g., '/dev/umts_router0'). If omitted, auto-detects. | |
| timeout | No | Response timeout in ms (1000-30000, default 5000) | |
| force | No | Bypass dangerous command safety check | |
| device | No | Device serial |