tpMIFI 4G LTE Modem API.
$tp = new \TPLink\TPLinkM7200("MODEM_PASSWORD");
$l = $tp->authentication();
$tp->rebootDevice($l->getToken());
The modem uses 2 encryption methods, these are: AES
and RSA
encryption methods.
example post data
{
"data":"896PxtQw9XZsQGxHQ+pT3arDvAxGzzWitDTBFVLAqk3KrZ3/2HT10gRMmHuUrnWymZI7jQIdP1mNfwW++rbdy3sdksT4su690Si5xlKKKx/XLe22lk5ItMYZy7bbfz7T",
"sign":"3daaf3e1447ab187b68a7b9736d85b2cc511f709d6c73e48e02e0a0b560d15dbe1ed116bc2f98452e73571202238cc117560bc2cb8dd3e6dd42a8d73c0b65cb082cec0e45c6b7d199bcbce9fbbd7c343b92dff2eb69ee5aac32f89ccc91706a461ceb964ac84c2247a00fa96d64637401bf486004a05443f308c8175e984f4b7"
}
{
"data" : "ENCRYPTED AES DATA",
"sign" : "ENCRYPTED RSA DATA"
}
- getConfig: 0
- setConfig: 1
- getConfig: 0
- setConfig: 1
- connectAp: 2
- scanAp: 3
- checkConnStatus: 4
- load: 0
- login: 1
- getAttempt: 2
- logout: 3
- update: 4
- getConfig: 0
- editName: 1
- getConfig: 0
- setConfig: 1
- getConfig: 0
- setConfig: 1
- getConf: 0
- setConf: 1
- getLog: 0
- clearLog: 1
- saveLog: 2
- refresh: 3
- setMdLog: 4
- getMdLog: 5
- getBlack: 0
- setBlack: 1
- getConfig: 0
- setConfig: 1
- readMsg: 2
- sendMsg: 3
- saveMsg: 4
- delMsg: 5
- markRead: 6
- getSendStatus: 7
- getConfig: 0
- setConfig: 1
- delPT: 2
- getConfig: 0
- setConfig: 1
- restoreConf: 0
- reboot: 0
- powerOff: 1
- getConfig: 0
- enablePin: 1
- disablePin: 2
- updatePin: 3
- unlockPin: 4
- unlockPuk: 5
- autoUnlock: 6
- getStatus: 0
- getConf: 0
- setConf: 1
- getConf: 0
- saveConf: 1
- queryTime: 2
- getConfig: 0,
- checkNew: 1,
- serverUpdate: 2,
- pauseLoad: 3,
- reqLoadPercentage: 4,
- checkUploadResult: 5,
- startUpgrade: 6,
- clearCache: 7,
- ignoredFW: 8,
- remindMe: 9,
- upgradeNow: 10
- getConfig: 0
- setConfig: 1
- getUpnpDevList: 2
- getConfig: 0
- setConfig: 1
- delVS: 2
- getConfig: 0
- sendUssd: 1
- cancelUssd: 2
- getSendStatus: 3
- getConfig: 0,
- saveConfig: 1,
- addProfile: 2,
- deleteProfile: 3,
- wzdAddProfile: 7,
- setNetworkSelectionMode: 8,
- quaryAvailabelNetwork: 9,
- getNetworkSelectionStatus: 10,
- getDisconnectReason: 11,
- cancelSearch: 14,
- updateISP: 15,
- bandSearch: 16,
- getBandSearchStatus: 17,
- setSelectedBand: 18,
- cancelBandSearch: 19
- getLang: 0,
- setLang: 1,
- keepAlive: 2,
- unsetDefault: 3,
- getModuleList: 4,
- getFeatureList: 5,
- getWithoutAuthInfo: 6
- getConfig: 0
- setConfig: 1
- setNoneWlan: 2
- get: 0
- set: 1
- start: 2
- cancel: 3
- login: 1
- keepAlive: 2
- close: 3
- update: 4