mirror of
https://github.com/4IceG/luci-app-3ginfo-lite.git
synced 2026-04-25 11:25:50 +03:00
[GH-ISSUE #126] Consider supporting uqmi device interface #100
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/luci-app-3ginfo-lite#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cybermaus on GitHub (Jun 14, 2025).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/126
My device, a tp-link mr200, has an internal USB modem that is internally a Android device, and I understand this is not uncommon anymore nowadays. it has the
/dev/cdc-wdm0device, but I am unable to make it present additional/dev/ttyUSBdevices.However, all needed data is presented in JSON format through the
uqmiutility, and I wonder since that utility is broader in use for all QMI devices if that is not also a good generic status exchange protocol.some examples below, but first the raw USB data:
Some
uqmiexamples:@MADRAFi commented on GitHub (Jun 17, 2025):
I use modem RM520N-GL. It creates device /dev/wwan0mbim0 that can be interact with. Other devices do not work.
Can you add support for uqmi for it?
uqmi -m -d /dev/wwan0mbim0 --get-system-info
{
"wcdma": {
"service_status": "none",
"true_service_status": "none",
"preferred_data_path": false
},
"lte": {
"service_status": "available",
"true_service_status": "available",
"preferred_data_path": false,
"domain": "cs-ps",
"service": "cs-ps",
"roaming_status": "off",
"forbidden": false,
"mcc": "260",
"mnc": "03",
"tracking_area_code": 58145,
"enodeb_id": 181606,
"cell_id": 15,
"voice_support": true,
"ims_voice_support": true,
"cell_access_status": "all calls",
"registration_restriction": 0,
"registration_domain": 0,
"5g_nsa_available": true,
"dcnr_restriction": false
},
"5gnr": {
"service_status": "none",
"true_service_status": "none",
"preferred_data_path": false
}
}
uqmi -m -d /dev/wwan0mbim0 --get-lte-cphy-ca-info
{
"primary": {
"cell_id": 454,
"channel": 6200,
"band": 20,
"frequency": 800,
"duplex": "FDD",
"bandwidth": "10"
}
}
uqmi -m -d /dev/wwan0mbim0 --get-serving-system
{
"registration": "registered",
"radio_interface": [
"lte"
],
"plmn_mcc": 260,
"plmn_mnc": 3,
"plmn_description": "Orange",
"roaming": false
}
uqmi -m -d /dev/wwan0mbim0 --get-signal-info
{
"type": "lte",
"rssi": -65,
"rsrq": -12,
"rsrp": -94,
"snr": 6.000000
}
@4IceG commented on GitHub (Jun 21, 2025):
Hi,
Currently I am not planning to add anything to the package.
I plan to rewrite the package to show more data, but what will come out of that I don't know.