RUTX12 modbus SIM2 registers

Hello, I am downloading data usage statistics from the router via Modbus. However, the documentation only provides registers related to SIM1. I have 2 SIM cards in my device and I wonder if it is possible to receive statistics from the SIM2 card: Mobile data received last 24h, Mobile data sent last 24h. I also obtain the mobile signal strength and the name of the network type, as I understand it, these parameters are also from SIM1. Maybe there are some hidden registers not included in the documentation?

Hello,

The RUTX12 device is a bit different from others because it has two modems that enable simultaneous operation of two SIM cards. Due to this, only one SIM card can be monitored via MODBUS, and the modems themselves have to be switched.

Here are the commands to switch the modem. Please note that your computer needs to be connected to a router, with MODBUS server enabled, and the command executed from a Linux environment (WSL or similar):

To switch to the first modem:

printf "\x00\x00\x00\x00\x00\x13\x01\x10\x01\x48\x00\x06\x0C3-1\x00\x00\x00\x00\x00\x00\x00\x00\x00" | nc 192.168.1.1 502 | od -An -tx1

To switch to the second modem:

printf "\x00\x00\x00\x00\x00\x13\x01\x10\x01\x48\x00\x06\x0C1-1.2\x00\x00\x00\x00\x00\x00\x00" | nc -w 5  192.168.1.1 502 | od -An -tx1

These are the MODBUS registers that allow you to check which modem is active:

Best regards,