From 59b5e5f18cf970688ab8f69e5c849ff94b776752 Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 14 Aug 2019 18:01:29 -0500 Subject: Move to L4N1 and L4E1 support, temporarily on gitlab --- .../multitech/config/ppp/peers/README.fwswitch | 75 ++++++++++++++++++++++ .../multitech/config/ppp/peers/README.lna3 | 75 ---------------------- recipes-support/multitech/libmts-io_1.0.18.bb | 30 --------- recipes-support/multitech/libmts-io_1.0.19.bb | 31 +++++++++ recipes-support/multitech/radio-cmd_0.4.bb | 22 ------- recipes-support/multitech/radio-cmd_0.6.bb | 23 +++++++ recipes-support/multitech/radio-query_0.7.bb | 22 ------- recipes-support/multitech/radio-query_0.8.bb | 23 +++++++ 8 files changed, 152 insertions(+), 149 deletions(-) create mode 100644 recipes-core/multitech/config/ppp/peers/README.fwswitch delete mode 100644 recipes-core/multitech/config/ppp/peers/README.lna3 delete mode 100644 recipes-support/multitech/libmts-io_1.0.18.bb create mode 100644 recipes-support/multitech/libmts-io_1.0.19.bb delete mode 100644 recipes-support/multitech/radio-cmd_0.4.bb create mode 100644 recipes-support/multitech/radio-cmd_0.6.bb delete mode 100644 recipes-support/multitech/radio-query_0.7.bb create mode 100644 recipes-support/multitech/radio-query_0.8.bb diff --git a/recipes-core/multitech/config/ppp/peers/README.fwswitch b/recipes-core/multitech/config/ppp/peers/README.fwswitch new file mode 100644 index 0000000..3e6e5fb --- /dev/null +++ b/recipes-core/multitech/config/ppp/peers/README.fwswitch @@ -0,0 +1,75 @@ +LNA3 firmware/SIM switching instructions + +To automatically set the APN, bring up the system +with the desired SIM installed (AT&T or Verizon). + +Execute with a Verizon SIM installed +(switch to Verizon Firmware and Chat): + +root@mtcap:~# /usr/sbin/mlinux-switch-apn +Cellular radio is ready. +Setting chat script to /etc/ppp/peers/lna3_chat_vz + +root@mtcap:~# ls -ld /etc/ppp/peers/lna3_chat +lrwxrwxrwx 1 root root 27 Aug 31 16:30 /etc/ppp/peers/lna3_chat -> /etc/ppp/peers/lna3_chat_vz + +root@mtcap:~# radio-query --active-firmware +1 + +Firmware image 1 is Verizon, and lna3_chat should point at the Verizon chat scripts lna3_chat_vz. + +To switch to an AT&T SIM (the default): + +root@mtcap:~# mlinux-switch-apn +Cellular radio is ready. +Setting chat script to /etc/ppp/peers/lna3_chat_non_vz + +It is critical that you do not use an AT&T chat script with a Verizon SIM, +because it will set the wrong APN, and it will be remembered as belonging +to the SIM/device combination. + + +The following are not recommended: +To manually set the chat script: + +mlinux-switch-apn [0|1] + +To manually switch the firmware setting: +mlinux-switch-cell-fw [0|1|-1] [timeout] + +This command sets the chat to this readme file. Then it will be needed to +set the symlink for the chat script, which can be done by using mlinux-switch-apn +with 0 for AT&T, and 1 for Verizon. + + + + + + +Put the desired SIM into the device. + +The default APN is "phone" for the LNA3. + +Set the APN using: + +kkk # mlinux-set-apn "YOURAPN" + +Do not put a "AT+CGDCONT" in the lna3_chat_vz script. It will cause trouble. + +To pick a firmware based on the + +To switch to the Verizon firmware and chat script: + + # mlinux-switch-cell-fw 1 + +To switch to the non-Verizon firmware and chat script: + + # mlinux-switch-cell-fw 0 + +Verizon provided APN setting over the air. If you set the APN on a Verizon SIM, +and they push a new APN, you will need to change the APN on the device. + +It is best not to set the APN. To switch from a manually set APN or incorrect APN +to letting Verizon set the APN, remove the SIM, and put it in another device. +Then register with the Verizon network. With the APN setting removed, put the SIM +back into this device. diff --git a/recipes-core/multitech/config/ppp/peers/README.lna3 b/recipes-core/multitech/config/ppp/peers/README.lna3 deleted file mode 100644 index 3e6e5fb..0000000 --- a/recipes-core/multitech/config/ppp/peers/README.lna3 +++ /dev/null @@ -1,75 +0,0 @@ -LNA3 firmware/SIM switching instructions - -To automatically set the APN, bring up the system -with the desired SIM installed (AT&T or Verizon). - -Execute with a Verizon SIM installed -(switch to Verizon Firmware and Chat): - -root@mtcap:~# /usr/sbin/mlinux-switch-apn -Cellular radio is ready. -Setting chat script to /etc/ppp/peers/lna3_chat_vz - -root@mtcap:~# ls -ld /etc/ppp/peers/lna3_chat -lrwxrwxrwx 1 root root 27 Aug 31 16:30 /etc/ppp/peers/lna3_chat -> /etc/ppp/peers/lna3_chat_vz - -root@mtcap:~# radio-query --active-firmware -1 - -Firmware image 1 is Verizon, and lna3_chat should point at the Verizon chat scripts lna3_chat_vz. - -To switch to an AT&T SIM (the default): - -root@mtcap:~# mlinux-switch-apn -Cellular radio is ready. -Setting chat script to /etc/ppp/peers/lna3_chat_non_vz - -It is critical that you do not use an AT&T chat script with a Verizon SIM, -because it will set the wrong APN, and it will be remembered as belonging -to the SIM/device combination. - - -The following are not recommended: -To manually set the chat script: - -mlinux-switch-apn [0|1] - -To manually switch the firmware setting: -mlinux-switch-cell-fw [0|1|-1] [timeout] - -This command sets the chat to this readme file. Then it will be needed to -set the symlink for the chat script, which can be done by using mlinux-switch-apn -with 0 for AT&T, and 1 for Verizon. - - - - - - -Put the desired SIM into the device. - -The default APN is "phone" for the LNA3. - -Set the APN using: - -kkk # mlinux-set-apn "YOURAPN" - -Do not put a "AT+CGDCONT" in the lna3_chat_vz script. It will cause trouble. - -To pick a firmware based on the - -To switch to the Verizon firmware and chat script: - - # mlinux-switch-cell-fw 1 - -To switch to the non-Verizon firmware and chat script: - - # mlinux-switch-cell-fw 0 - -Verizon provided APN setting over the air. If you set the APN on a Verizon SIM, -and they push a new APN, you will need to change the APN on the device. - -It is best not to set the APN. To switch from a manually set APN or incorrect APN -to letting Verizon set the APN, remove the SIM, and put it in another device. -Then register with the Verizon network. With the APN setting removed, put the SIM -back into this device. diff --git a/recipes-support/multitech/libmts-io_1.0.18.bb b/recipes-support/multitech/libmts-io_1.0.18.bb deleted file mode 100644 index 34115be..0000000 --- a/recipes-support/multitech/libmts-io_1.0.18.bb +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION = "MultiTech IO C++ Library" -HOMEPAGE = "http://www.multitech.net/" -LICENSE = "LGPL-2.1" -LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" - -DEPENDS = "libmts jsoncpp cmake-native cppunit" -BBCLASSEXTEND = "native" - -PR = "r0" -SRCREV = "${PV}" -SRC_URI = "git://git.multitech.net/libmts-io;branch=master" - -S = "${WORKDIR}/git" - -do_compile() { - oe_runmake -} - -# build and run tests for native recipe -do_compile_append_virtclass-native() { - cd test - cmake . - oe_runmake - ./TestRunnerClient -} - -do_install() { - oe_runmake install DESTDIR=${D} -} - diff --git a/recipes-support/multitech/libmts-io_1.0.19.bb b/recipes-support/multitech/libmts-io_1.0.19.bb new file mode 100644 index 0000000..3572e17 --- /dev/null +++ b/recipes-support/multitech/libmts-io_1.0.19.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "MultiTech IO C++ Library" +HOMEPAGE = "http://www.multitech.net/" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = "libmts jsoncpp cmake-native cppunit" +BBCLASSEXTEND = "native" + +PR = "r0" +SRCREV = "${PV}" +#SRC_URI = "git://git.multitech.net/libmts-io;branch=master" +SRC_URI = "git://git@${MTS_INTERNAL_GIT}/mirrors/libmts-io.git;protocol=ssh;branch=master" + +S = "${WORKDIR}/git" + +do_compile() { + oe_runmake +} + +# build and run tests for native recipe +do_compile_append_virtclass-native() { + cd test + cmake . + oe_runmake + ./TestRunnerClient +} + +do_install() { + oe_runmake install DESTDIR=${D} +} + diff --git a/recipes-support/multitech/radio-cmd_0.4.bb b/recipes-support/multitech/radio-cmd_0.4.bb deleted file mode 100644 index b8e5b23..0000000 --- a/recipes-support/multitech/radio-cmd_0.4.bb +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "MultiTech cellular radio command tool" -HOMEPAGE = "http://www.multitech.net/" -LICENSE = "GPL-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" - -DEPENDS = "jsoncpp libmts libmts-io" - -PR = "r0" -SRCREV = "${PV}" - -SRC_URI = "git://git.multitech.net/radio-cmd;branch=master" - -S = "${WORKDIR}/git" - -do_compile() { - oe_runmake -} - -do_install() { - oe_runmake install DESTDIR=${D} -} - diff --git a/recipes-support/multitech/radio-cmd_0.6.bb b/recipes-support/multitech/radio-cmd_0.6.bb new file mode 100644 index 0000000..afa7308 --- /dev/null +++ b/recipes-support/multitech/radio-cmd_0.6.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "MultiTech cellular radio command tool" +HOMEPAGE = "http://www.multitech.net/" +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" + +DEPENDS = "jsoncpp libmts libmts-io" + +PR = "r0" +SRCREV = "${PV}" + +#SRC_URI = "git://git.multitech.net/radio-cmd;branch=master" +SRC_URI = "git://git@${MTS_INTERNAL_GIT}/mirrors/radio-cmd.git;protocol=ssh;branch=master" + +S = "${WORKDIR}/git" + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake install DESTDIR=${D} +} + diff --git a/recipes-support/multitech/radio-query_0.7.bb b/recipes-support/multitech/radio-query_0.7.bb deleted file mode 100644 index 5e0b60a..0000000 --- a/recipes-support/multitech/radio-query_0.7.bb +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "MultiTech cellular radio query tool" -HOMEPAGE = "http://www.multitech.net/" -LICENSE = "GPL-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" - -DEPENDS = "jsoncpp libmts libmts-io" - -PR = "r0" -SRCREV = "${PV}" - -SRC_URI = "git://git.multitech.net/radio-query;branch=master" - -S = "${WORKDIR}/git" - -do_compile() { - oe_runmake -} - -do_install() { - oe_runmake install DESTDIR=${D} -} - diff --git a/recipes-support/multitech/radio-query_0.8.bb b/recipes-support/multitech/radio-query_0.8.bb new file mode 100644 index 0000000..f548cf6 --- /dev/null +++ b/recipes-support/multitech/radio-query_0.8.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "MultiTech cellular radio query tool" +HOMEPAGE = "http://www.multitech.net/" +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" + +DEPENDS = "jsoncpp libmts libmts-io" + +PR = "r0" +SRCREV = "${PV}" + +#SRC_URI = "git://git.multitech.net/radio-query;branch=master" +SRC_URI = "git://git@${MTS_INTERNAL_GIT}/mirrors/radio-query.git;protocol=ssh;branch=master" + +S = "${WORKDIR}/git" + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake install DESTDIR=${D} +} + -- cgit v1.2.3