router_set_cell_lock
Locks or unlocks a TP-Link router to a specific cellular tower using EARFCN and PCI. Unlocking returns to auto roaming; requires confirmation due to link renegotiation.
Instructions
Locks or unlocks the router to a specific cellular base station tower (EARFCN + PCI).
IMPORTANT: Changing the cell tower momentarily drops and renegotiates the cellular link. You MUST provide confirm=True to execute.
Args: enable: True to lock to cell, False to unlock (return to auto roaming). earfcn: E-UTRA Absolute Radio Frequency Channel Number (e.g. '1550' for Band 3). pci: Physical Cell Identity (e.g. '58'). confirm: Safety confirmation. Set to True to proceed with connection renegotiation. force: Set to True to bypass Network Guard safety check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pci | No | ||
| force | No | ||
| earfcn | No | ||
| enable | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |