[no subject]

2021-11-28 Thread Henrik Ginstmark
Hi Is it possible to add dms_get_operating_mode command? Then it would be possible to verify if the modem is in flight mode or not. BR Henrik Ginstmark --- commands-dms.c @@ -375,6 +375,38 @@ qmi_set_dms_reset_request(msg); return QMI_CMD_REQUEST; } +static void

uqmi: add dms_get_operating_mode

2021-11-30 Thread Henrik Ginstmark
Hi Is it possible to add dms_get_operating_mode command? Then it would be possible to verify if the modem is in flight mode or not. Or how can I contribute to uqmi? BR Henrik Ginstmark --- commands-dms.c @@ -375,6 +375,38 @@ qmi_set_dms_reset_request(msg); return QMI_CMD_REQUEST; } +static

[uqmi] dms: add --get-operating-mode

2021-12-04 Thread Henrik Ginstmark
dms: add --get-operating-mode This command make it possible to query if the modem is in flight mode or not. If you need to change your APN setting it should be done during flight mode on. To make it possible to automate change of APN setting --get-operating-mode is needed. Signed-off-by: Henrik

Re: [uqmi] dms: add --get-operating-mode

2021-12-04 Thread Henrik Ginstmark
Hi Sergey Den lör 4 dec. 2021 kl 23:19 skrev Sergey Ryazanov : > > Hello Henrik, > > On Sat, Dec 4, 2021 at 6:22 PM Henrik Ginstmark wrote: > > This command make it possible to query if the modem is in flight mode or > > not. > > > > If you need to chang

Re: [uqmi] dms: add --get-operating-mode

2021-12-05 Thread Henrik Ginstmark
Hi My intention was to speed up the registration to the LTE network. When the LTE terminal is powered on it will attach with the modem default APN profile. If that is empty, then the network will assign the network default APN and you get an IP address. But if the modem default APN is incorrect,

Re: [uqmi] dms: add --get-operating-mode

2021-12-05 Thread Henrik Ginstmark
|chap|both|none: Use network authentication type\n" \ But, if you don't see any benefit with my proposal I´m fine. /Henrik Den sön 5 dec. 2021 kl 18:56 skrev Sergey Ryazanov : > > On Sun, Dec 5, 2021 at 7:43 PM Henrik Ginstmark wrote: > > My intention was to speed up the r

[PATCH uqmi] nas: add decoding of cell_id

2021-12-07 Thread Henrik Ginstmark
and cell_id. h´ -> rnc_id = h´, cell_id = h´ Change order to mcc-mnc-tac/lac-enodeb_id/rnc_id-cell_id. Signed-off-by: Henrik Ginstmark --- commands-nas.c | 54 +++--- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/commands

Re: [uqmi] dms: add --get-operating-mode

2021-12-16 Thread Henrik Ginstmark
Hi I have gathered my thoughts in my own version of uqmi. I think I have dual-stack working. It's available at https://github.com/mrhaav/openwrt-packages. Feel free to take a lock and try. :) /Henrik Den mån 6 dec. 2021 kl 08:29 skrev Bjørn Mork : > > Sergey Ryazanov writes: > > > Can you revea

[PATCH] usbmode: add config #0 and delay before actual config

2022-02-07 Thread Henrik Ginstmark
Add config #0 and a 100milliseconds delay before switching to actual config. Like in USB_ModeSwitch, https://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=2710&sid=505ed44b4064fef7009f0c26aac085e2&start=15 Signed-off-by: Henrik Ginstmark --- usbmode/src/switch.c | 5 +

Re: [PATCH] usbmode: add config #0 and delay before actual config

2022-02-20 Thread Henrik Ginstmark
Henrik Den lör 19 feb. 2022 kl 11:15 skrev Petr Štetiar : > > Henrik Ginstmark [2022-02-07 22:30:40]: > > Hi, > > > Add config #0 and a 100milliseconds delay before switching to actual config. > > Like in USB_ModeSwitch, > > https://www.draisberghof.de/usb_modeswitc

[PATCH] uqmi: corrected too short received SMS

2022-03-11 Thread Henrik Ginstmark
"smsc": "+4672441", "sender": "+46xxxxx", "timestamp": "2022-03-11 18:48:10", "text": "123äÄ123" } Signed-off-by: Henrik Ginstmark --- uqmi/src/commands-wms.c | 4 ++-- 1 file changed, 2

Re: [PATCH] uqmi: corrected too short received SMS

2022-03-13 Thread Henrik Ginstmark
n't important for me at the time, so I didn't go > into fixing it. > > On Sat, Mar 12, 2022 at 12:33:54AM +0100, Henrik Ginstmark wrote: > > When characters with ascii values bigger than 0x7f are used, the > > length of the received text > > message is too short.

[no subject]

2022-03-13 Thread Henrik Ginstmark
Reply-To: Subject: In-Reply-To: ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[PATCH] uqmi: wms - added storage to read text messages

2022-03-13 Thread Henrik Ginstmark
Today it's hard coded to read text messages from SIM card. Not all devices store received text messages in SIM, they store in me, QMI_WMS_STORAGE_TYPE_NV. I have added a switch to choose sim or me for --list-messages, --get-message and --delete-message. Signed-off-by: Henrik Ginstmarh --- uqmi/

Re: [PATCH] uqmi: wms - added storage to read text messages

2022-03-14 Thread Henrik Ginstmark
Yes, that's a good proposal. I will send an updated patch for review tomorrow. Henrik Den mån 14 mars 2022 kl 21:39 skrev Sergey Ryazanov : > > On Mon, Mar 14, 2022 at 9:03 PM Henrik Ginstmark wrote: > > Yes, I agree this will break backward compatibility. --get-message

[PATCH v2] uqmi: wms - added storage to read text messages

2022-03-15 Thread Henrik Ginstmark
itted default storage is sim, as before. Signed-off-by: Henrik Ginstmark --- uqmi/src/commands-wms.c | 62 ++--- uqmi/src/commands-wms.h | 5 2 files changed, 45 insertions(+), 22 deletions(-) diff --git a/uqmi/src/commands-wms.c b/uqmi/src/commands-wms.c

Re: [PATCH v3 2/2] command-nas: fix json output

2022-03-16 Thread Henrik Ginstmark
Hi You can break down LTE global-cell-id to enodeb_id and cell_id like this: "intrafrequency_lte_info": { "tracking_area_code": 14000, "global_cell_id": 10498829, = "enodeb_id": 41011, "cell_id": 13, blobmsg_add_u32(&status, "enodeb_id",res.data.intrafrequency_lte_info_v2.global_cell_id/256); bl

Re: [PATCH v2] uqmi: wms - added storage to read text messages

2022-04-13 Thread Henrik Ginstmark
Den tis 15 mars 2022 kl 21:14 skrev Sergey Ryazanov : > > On Tue, Mar 15, 2022 at 10:36 PM Henrik Ginstmark wrote: > > Today it's hard coded to read text messages from SIM card. > > Not all devices store received text messages in SIM, they store > > in me, QMI_WM

[PATCH] uqmi: add APN profile commands

2022-09-05 Thread Henrik Ginstmark
Add commands to create and modify default APN profile --get-default-profile-number --get-profile-settings --create-profile --modify-profile Signed-off-by: Henrik Ginstmark --- uqmi/src/commands-wds.c | 346 +--- uqmi/src/commands-wds.h | 22 +++ 2 files

Re: [PATCH uqmi 3/3] wds: allow profile reconfiguration

2023-10-11 Thread Henrik Ginstmark
Hi I have a similar patch for APN profile commands, https://patchwork.ozlabs.org/project/openwrt/patch/20220905200751.998416-1-hen...@ginstmark.se/ I included commands for --get-default-profile-number --get-profile-settings --create-profile --modify-profile /Henrik Den tis 10 okt. 2023 kl 16:0