If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:mobiled (avmcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> mobiled (avmcmd) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name mobiled!
mobiled (avmcmd) Mobile modem daemon
mobiled (process) Mobile modem daemon
mobiled (socket) TODO
mobiled (uimod) TODO
mobiled (watchdog) Mobile modem daemon

AVM-Command

Goto:   Endpoints  -  Events  -  Plugins  -  Config  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

mobiled is the mobile modem management daemon, the successor of umtsd and lted.
It is extensible by Plugins and has many features, like mobile internet, telephony, SMS, etc.

Let's start with the mobile modem. which is analyzed to send the mobile_glob avmipc state covering its capabilities.
This state is received by dsld which then prepares the 'dsl' interfaces and waits until the mobile_dp1 state reaches sync.

dsld will then perform its routing setup and respond the mobile_net state. If there are multiple connections to the internet
this procedure repeats for mobile_dp2 and mobile_dp3 add the mobile_net state grows.

fw 7.29 help:

root@fritz2:/var/mod/root# mobiled -?

usage: mobiled [options]

options:
  -?                 - print this help
  -b STRING          - set the base lua script for the daemon. ("/usr/share/lte/daemon_base.lua")
  -s STRING          - set the survey lua script. ("/usr/share/lte/survey.lua")
  -F                 - unset fork. (NOTSET)
  -W                 - unset watchdog. (NOTSET)
  -T                 - unset ctlmsg. (NOTSET)
  -D STRING          - switch debug logs on. (FUNC)

Endpoints

rpctrl endpoint(s) provided by mobiled, with these functions: (endpoints + commands, collected manually)

mobiled getlist support                    # from supportdata.mobiled
mobiled getlist udev                       # from supportdata.mobiled, supportdata_argo.mobiled
mobiled mobiled getlist% <0-4> trace       # from supportdata.mobiled
mobiled getlist pictured_if getlist dblist # from supportdata.dect
mobiled getlist argo                       # from supportdata_argo.mobiled
mobiled getlist temperature                # from kpi

mobiled shutdown                           # from udev-mobiled
mobiled get mstate                         # from udev-mobiled
mobiled setlist udev <action> <subsys> <subdevpath> <devname> <vendorid> <modelid> <usbid>
                                           # from udev-mobiled

Events

Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this command. Last update: 2023-12-10 05:13 GMT.
The owners of Event-Sinks and Event-Sources are manual research, which may be incomplete or even wrong.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.
A ** in the Mod column marks info from Supportdata2 probes, which by their nature will stay way more incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the item occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
Endpoint sock me_mobiled.ctl 12* 6.98 - 7.51 avmipc endpoint of mobiled (also trigger to create KPI) AVM
Listens to avmipc @ 7** 7.29 - 7.39 Special event for listeners of nameless private messages. AVM
Listens to avmipc KPI_PRE_INFORM_NOTIFY 3** 7.39 Trigger event to create KPI. AVM
Listens to avmipc mobile_net 7** 7.29 - 7.39 State of the currently active mobile internet routings in JSON format. AVM
Command cmd mobiled (avmcmd) Mobile modem daemon AVM
Sends avmipc mobile_dp1 - 7.39 State of the first mobile internet connection in JSON format. AVM
Sends avmipc mobile_glob - 7.29 - 7.51 State of the mobile modem capabilities in JSON format. AVM
Sends avmipc TR069_AVM_LTE_DumpFile_Available - 7.30 - 7.31 Trigger event announcing a mobile modem diagnosis dump. AVM
8 event relations for this command

Plugins

mobiled is highly modular and is extended by plugin Lua code in /usr/share/lte.
AVM decided to compile these plugins to Lua bytecode, likely to hide their source code.
These are no Dependencies but they are optionally loaded if they are present there.

This is a subset of the Lua-Scripts, filtered for the path /usr/share/lte.

Daily updated index of all lua plugins found scanning Firmware-Probes . Last update: 2024-04-19 06:26 GMT.
The label (static) in the Script column shows there are other objects in this wiki using this name.
The Mod column shows the amount of models using the respective script. Click the column header to sort by this number.

Config

Daily updated index of Configuration files accessed by this command. Last update: 2024-04-19 06:38 GMT.
A - in the Mod column marks manual research, the Firmware then shows where the item occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
Config from tffs crash.log (tffs) - 4.67 - 7.29 Persistent user mode crash log / final dump. AVM
1 config relation for this command

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:

$ strings /bin/mobiled | grep -e '\.c$' -e '\.cpp$'

/GU/LTE_TOOLS_cortexa9_build/mobiled/ltehandler.c
/GU/LTE_TOOLS_cortexa9_build/mobiled/ttyaccess.c
/GU/LTE_TOOLS_cortexa9_build/mobiled/luaaccess.c
/GU/LTE_TOOLS_cortexa9_build/mobiled/tracing.c
/GU/LTE_TOOLS_cortexa9_build/mobiled/webvars.c
/GU/LTE_TOOLS_cortexa9_build/mobiled/mbimhandler.c
/GU/LTE_TOOLS_cortexa9_build/mobiled/qmihandler.c
/GU/LTE_TOOLS_cortexa9_build/mobiled/capiaccess.c
/GU/LTE_TOOLS_cortexa9_build/RpcLuaCom/tableiterator.c  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-18 19:26 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Started by serv mobiled.service 56 7.24 - 7.90 supervisor service for mobiled. AVM
Runs as proc mobiled (process) 12* 6.98 - 7.51 Mobile modem daemon AVM
Registers wdog mobiled (watchdog) 12* 6.98 - 7.51 Mobile modem daemon AVM
Serving sock me_mobiled.ctl 12* 6.98 - 7.51 avmipc endpoint of mobiled (also trigger to create KPI) AVM
Serving sock mobiled (socket) 12* 6.98 - 7.51 TODO AVM
Depends on lib ld.so 25 7.08 - 7.90 Dynamic linker / loader Linux
Depends on lib libacsrpc.so 58 6.98 - 7.90 RPC endpoint communication API. AVM
Depends on lib libavmcsock.so 58 6.98 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libbacktrace.so 58 6.98 - 7.90 Crash handler and logger AVM
Depends on lib libboxlib.so 58 6.98 - 7.90 Box status, logging and statistics functions AVM
Depends on lib libboxnotify.so 12 7.39 - 7.90 boxnotifyd client API (old) AVM
Depends on lib libc.so 58 6.98 - 7.90 Standard C library Linux
Depends on lib libdl.so 52 6.98 - 7.90 Dynamic linking library Linux
Depends on lib libemailservice.so 58 6.98 - 7.90 Email sender using mailer AVM
Depends on lib libewnwlinux.so 58 6.98 - 7.90 Linux networking functions AVM
Depends on lib libgpiod.so 13 7.39 - 7.90 Linux GPIO character device API LibGpiod
Depends on lib libled2.so 58 6.98 - 7.90 LED API - second+third generation AVM
Depends on lib liblua.so 58 6.98 - 7.90 Lua 5.1.4 interpreter library Linux
Depends on lib libm.so 52 6.98 - 7.90 C math library Linux
Depends on lib libmxml.so 58 6.98 - 7.90 Mini-XML parser / generator Linux
Depends on lib libpthread.so 52 6.98 - 7.90 POSIX threading library Linux
Depends on lib libsvctl.so 50 7.39 - 7.90 supervisor notification library AVM
Depends on lib libz.so 58 6.98 - 7.90 Zlib compressor / decompressor Linux
23 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-19 05:14 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 3490 (main) 7.01 - 7.30 /bin 83.0k - 123k
FRITZ!Box 4020 7.39 /bin 83.1k - 126k
FRITZ!Box 4040 6.98 - 7.57 /bin 73.8k - 154k
FRITZ!Box 4050 7.57 /bin 118k
FRITZ!Box 4060 7.26 - 7.57 /bin 114k - 126k
FRITZ!Box 5490 (main) 7.01 - 7.29 /bin 83.0k - 123k
FRITZ!Box 5491 (main) 7.01 - 7.29 /bin 83.0k - 123k
FRITZ!Box 5530 Fiber (main) 7.39 /bin 126k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.90 /bin 114k - 126k
FRITZ!Box 5690 Pro (arm) 7.59 /bin 118k
FRITZ!Box 6430 Cable (arm) 7.01 - 7.57 /bin 78.8k - 126k
FRITZ!Box 6430 Cable (atom) 7.01 - 7.29 /bin 78.8k - 114k
FRITZ!Box 6490 Cable (arm) 7.00 - 7.57 /bin 78.8k - 126k
FRITZ!Box 6490 Cable (atom) 7.00 - 7.51 /bin 78.8k - 118k
FRITZ!Box 6590 Cable (arm) 6.110 - 7.57 /bin 78.8k - 126k
FRITZ!Box 6590 Cable (atom) 6.110 - 7.51 /bin 78.8k - 118k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.57 /bin 78.9k - 126k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.57 /bin 78.9k - 126k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.57 /bin 86.6k - 126k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.57 /bin 86.6k - 126k
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /bin 126k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /bin 126k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.57 /bin 118k - 126k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.57 /bin 118k - 126k
FRITZ!Box 6820 LTE v1 6.98 - 7.51 /bin 73.8k - 151k
FRITZ!Box 6820 LTE v2 6.98 - 7.51 /bin 73.8k - 151k
FRITZ!Box 6820 LTE v3 7.19 - 7.57 /bin 102k - 151k
FRITZ!Box 6840 LTE 7.39 /bin 126k
FRITZ!Box 6850 LTE 7.21 - 7.58 /bin 94.0k - 183k
FRITZ!Box 6850 5G 7.24 - 7.51 /bin 126k - 154k
FRITZ!Box 6890 LTE 6.98 - 7.51 /bin 88.1k - 183k
FRITZ!Box 6890 LTE v1 6.98 - 7.51 /bin 88.1k - 183k
FRITZ!Box 6890 LTE v2 6.98 - 7.51 /bin 88.1k - 183k
FRITZ!Box 7272 7.39 /bin 126k
FRITZ!Box 7362 SL 6.98 - 7.14 /bin 82.1k - 106k
FRITZ!Box 7430 6.98 - 7.39 /bin 82.1k - 126k
FRITZ!Box 7490 (main) 6.98 - 7.57 /bin 82.1k - 127k
FRITZ!Box 7510 7.30 - 7.57 /bin 114k - 154k
FRITZ!Box 7520 6.98 - 7.51 /bin 74.9k - 126k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.57 /bin 114k - 126k
FRITZ!Box 7530 6.98 - 7.56 /bin 74.0k - 154k
FRITZ!Box 7530 AX 7.20 - 7.90 /bin 106k - 126k
FRITZ!Box 7560 6.98 - 7.39 /bin 100k - 147k
FRITZ!Box 7580 6.98 - 7.30 /bin 100k - 147k
FRITZ!Box 7581 6.98 - 7.16 /bin 73.6k - 98.0k
FRITZ!Box 7582 7.01 - 7.17 /bin 73.7k - 98.0k
FRITZ!Box 7583 7.01 - 7.57 /bin 101k - 151k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /bin 134k - 147k
FRITZ!Box 7590 6.98 - 7.90 /bin 100k - 191k
FRITZ!Box 7590 AX 7.19 - 7.90 /bin 126k - 191k
FRITZ!Box 7690 7.59 /bin 118k
FRITZ!Repeater 600 7.39 /bin 126k
FRITZ!Repeater 1200 7.39 /bin 126k
FRITZ!WLAN Repeater 1750E 7.39 /bin 126k
FRITZ!Repeater 2400 7.39 /bin 126k
FRITZ!Repeater 3000 7.39 /bin 126k
FRITZ!Repeater 3000 AX 7.39 /bin 126k
FRITZ!Powerline 1260E 7.39 /bin 126k
58 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-18 19:26 GMT.

Firmware Symbol
6.98 - 7.90 AddWebVarsRPCIface
6.98 - 7.90 ConnectWebVarsRPCIface
6.98 - 7.90 DisconnectWebVarsRPCIface
6.98 - 7.90 GetWVStr
6.98 - 7.90 GetWebVar
6.98 - 7.90 RemoveWebName
6.98 - 7.90 SetWebVarNum
6.98 - 7.90 SetWebVarStr
6.98 - 7.90 SetWebVarsCallback
6.98 - 7.90 capicmd_close
6.98 - 7.90 capicmd_open
6.98 - 7.90 capicmd_send
7.19 - 7.90 checkusbmsg
7.19 - 7.90 convert_hex2byte
7.19 - 7.90 convert_hex2nibble
6.98 - 7.90 hlte_crashcb
7.08 - 7.19 hlte_crashreport
6.98 - 7.90 hlte_create
6.98 - 7.90 hlte_destroy
6.98 - 7.90 hlte_free
7.39 - 7.90 hlte_getvalue
7.08 - 7.90 hlte_ipcregnot
7.39 - 7.90 hlte_juis_result
6.98 - 7.08 hlte_kpievent
7.24 - 7.90 hlte_luacom
6.98 - 7.39 hlte_mstate
6.98 - 7.90 hlte_signal
6.98 - 7.90 hlte_support
6.98 - 7.90 hlte_systest
7.08 - 7.90 hlte_udev_signal
7.08 - 7.90 intern_rawread
6.98 ltereset_gpio_reset
6.98 - 7.08 ltereset_hard
6.98 - 7.08 ltereset_panic
6.98 - 7.08 ltereset_soft
7.39 - 7.90 luaac_juisresult
7.24 - 7.90 luaacc_configget
7.24 - 7.90 luaacc_configset
6.98 - 7.90 luaacc_create
7.24 - 7.90 luaacc_externcom
6.98 - 7.90 luaacc_free
7.39 - 7.90 luaacc_getvalue
7.08 - 7.90 luaacc_ipcstatechg
6.98 - 7.39 luaacc_mstate
6.98 - 7.90 luaacc_signal
6.98 - 7.90 luaacc_supportprint
6.98 - 7.24 luaacc_systest
7.24 - 7.90 luatable_from_list
7.24 - 7.90 luatable_from_mxml
7.24 - 7.90 luatable_to_list
7.24 - 7.90 luatable_to_mxml
6.98 - 7.90 main
6.98 - 7.90 mbim_close
6.98 - 7.90 mbim_open
6.98 - 7.90 mbim_send
7.08 - 7.31 msgep_state_cb_net
7.19 - 7.90 qmi_close
7.19 - 7.90 qmi_open
7.19 - 7.90 qmi_send
6.98 - 7.90 read_4g_voice_data
6.98 - 7.90 send_4g_conn_req
6.98 - 7.90 send_4g_stop_req
6.98 - 7.90 send_4g_voice
6.98 - 7.90 sendusbmsg
6.98 - 7.15 tracing_active
6.98 - 7.90 tracing_atcmds
6.98 - 7.90 tracing_base64
6.98 - 7.90 tracing_deinit
6.98 - 7.90 tracing_history
6.98 - 7.90 tracing_init
7.08 - 7.19 tracing_mbims
6.98 - 7.90 tracing_notify
6.98 - 7.90 tracing_output
7.08 - 7.90 tracing_udev
7.39 - 7.90 tracing_voice
7.19 - 7.90 tracing_wdm
6.98 - 7.90 ttyacc_close
6.98 - 7.90 ttyacc_ioctl
6.98 - 7.90 ttyacc_ioctl_wdmmax
6.98 - 7.90 ttyacc_open
6.98 - 7.90 ttyacc_recvdata
6.98 - 7.90 ttyacc_recvfree
7.19 - 7.90 ttyacc_recvmaxlen
6.98 - 7.90 ttyacc_send
6.98 - 7.90 udev_getids
6.98 - 7.90 udev_signal
6.98 - 7.90 utf16be_to_utf8
7.08 - 7.90 utf16le_to_utf8
7.19 - 7.90 utf8_to_utf16be
7.19 - 7.90 utf8_to_utf16le
7.08 - 7.19 wrap_timer_setup_ex
7.08 - 7.19 wrap_timer_unsetup
92 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.