comgt-ncm: add support for UNISOC SL8563 based TOZED TL70-C
authorArınç ÜNAL <arinc.unal@arinc9.com>
Mon, 17 Apr 2023 20:11:29 +0000 (23:11 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 18 May 2023 12:44:07 +0000 (14:44 +0200)
commitc42847989eae6ec6fb9762163871291079cb609e
tree0c9226dcc1644e203b2530209c14287430bcc9bf
parent10a29216ce93017f05f7d19495ff09fbc6ad8086
comgt-ncm: add support for UNISOC SL8563 based TOZED TL70-C

TOZED TL70-C is an LTE CAT6 cellular modem based on UNISOC SL8563. UNISOC
was formerly called Spreadtrum hence the manufacturer name detected on the
modem is spreadtrum.

The connect and disconnect commands bring up and down the usb0 interface.
They are Base64 encoded as that's what the AT command accepts. The modem
can do up to 4 APNs by bringing the USB interfaces, usb0 to usb3, up.

Setting the USB interfaces up:

connmanctl ndisdial AT^NDISDUN="usb0",1,1
connmanctl ndisdial AT^NDISDUN="usb1",1,2
connmanctl ndisdial AT^NDISDUN="usb2",1,3
connmanctl ndisdial AT^NDISDUN="usb3",1,4

Setting the USB interfaces down:

connmanctl ndisdial AT^NDISDUN="usb0",0,1
connmanctl ndisdial AT^NDISDUN="usb1",0,2
connmanctl ndisdial AT^NDISDUN="usb2",0,3
connmanctl ndisdial AT^NDISDUN="usb3",0,4

Co-developed-by: Andre Cruz <me@1conan.com>
Signed-off-by: Andre Cruz <me@1conan.com>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
package/network/utils/comgt/files/ncm.json