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) Process running mobiled
mobiled (socket) TODO
mobiled (uimod) TODO
mobiled (watchdog) Watchdog for mobiled

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-12-21 06:51 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-12-21 07:02 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-12-21 07:44 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 39 7.24 - 8.00 supervisor service for mobiled. AVM
Runs as proc mobiled (process) 14* 6.98 - 7.61 Process running mobiled AVM
Registers wdog mobiled (watchdog) 14* 6.98 - 7.61 Watchdog for mobiled AVM
Serving sock me_mobiled.ctl 14* 6.98 - 7.61 avmipc endpoint of mobiled (also trigger to create KPI) AVM
Serving sock mobiled (socket) 14* 6.98 - 7.61 TODO AVM
Depends on lib ld.so 26 7.08 - 8.00 Dynamic linker / loader Linux
Depends on lib libacsrpc.so 42 6.98 - 8.00 RPC endpoint communication API. AVM
Depends on lib libavmcsock.so 42 6.98 - 8.00 Networking, I/O and helper functions AVM
Depends on lib libbacktrace.so 42 6.98 - 8.00 Crash handler and logger AVM
Depends on lib libboxlib.so 42 6.98 - 8.00 Box status, logging and statistics functions AVM
Depends on lib libboxnotify.so 27 7.39 - 8.00 boxnotifyd client API (old) AVM
Depends on lib libc.so 42 6.98 - 8.00 Standard C library Linux
Depends on lib libdl.so 27 6.98 - 8.00 Dynamic linking library Linux
Depends on lib libemailservice.so 42 6.98 - 8.00 Email sender using mailer AVM
Depends on lib libewnwlinux.so 42 6.98 - 8.00 Linux networking functions AVM
Depends on lib libgpiod.so 14 7.39 - 7.90 Linux GPIO character device API LibGpiod
Depends on lib libled2.so 42 6.98 - 8.00 LED API - second+third generation AVM
Depends on lib liblua.so 42 6.98 - 8.00 Lua 5.1.4 interpreter library Linux
Depends on lib libm.so 29 6.98 - 8.00 C math library Linux
Depends on lib libmxml.so 42 6.98 - 8.00 Mini-XML parser / generator Linux
Depends on lib libpthread.so 29 6.98 - 8.00 POSIX threading library Linux
Depends on lib libsvctl.so 31 7.39 - 8.00 supervisor notification library AVM
Depends on lib libz.so 42 6.98 - 8.00 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-12-21 05:44 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/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
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 /bin 83.1k - 83.2k
FRITZ!Box 4040 6.98 - 8.00 /bin 73.8k - 154k
FRITZ!Box 4050 7.58 - 7.90 /bin 118k
FRITZ!Box 4060 7.29 - 7.90 /bin 114k - 118k
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 5590 Fiber (main) 7.29 - 8.00 /bin 114k - 118k
FRITZ!Box 5690 Pro (main) 7.62 /bin 118k
FRITZ!Box 6430 Cable (atom) 7.01 - 7.29 /bin 78.8k - 114k
FRITZ!Box 6490 Cable (atom) 7.00 - 7.51 /bin 78.8k - 118k
FRITZ!Box 6590 Cable (atom) 6.110 - 7.51 /bin 78.8k - 118k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.08 /bin 78.9k - 102k
FRITZ!Box 6591 Cable (atom) 7.04 - 8.00 /bin 78.9k - 130k
FRITZ!Box 6660 Cable (atom) 7.14 - 8.00 /bin 86.6k - 130k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.90 /bin 126k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /bin 118k - 130k
FRITZ!Box 6820 LTE v1 (main) 6.98 - 7.59 /bin 73.8k - 151k
FRITZ!Box 6820 LTE v2 (main) 6.98 - 7.59 /bin 73.8k - 151k
FRITZ!Box 6820 LTE v3 (main) 7.19 - 7.57 /bin 102k - 151k
FRITZ!Box 6820 LTE v4 7.59 /bin 151k
FRITZ!Box 6850 LTE 7.21 - 7.90 /bin 94.0k - 183k
FRITZ!Box 6850 5G 7.24 - 7.90 /bin 134k - 154k
FRITZ!Box 6890 LTE (main) 6.98 - 7.57 /bin 88.1k - 183k
FRITZ!Box 6890 LTE v1 (main) 6.98 - 7.57 /bin 88.1k - 183k
FRITZ!Box 6890 LTE v2 (main) 6.98 - 7.57 /bin 88.1k - 183k
FRITZ!Box 7362 SL (main) 6.98 - 7.18 /bin 82.1k - 106k
FRITZ!Box 7430 (main) 6.98 - 7.31 /bin 82.1k - 123k
FRITZ!Box 7490 (main) 6.98 - 7.51 /bin 82.1k - 127k
FRITZ!Box 7510 7.30 - 8.00 /bin 114k - 154k
FRITZ!Box 7520 6.98 - 8.00 /bin 74.9k - 118k
FRITZ!Box 7520 v2 (main) 7.30 - 8.00 /bin 114k - 118k
FRITZ!Box 7530 6.98 - 8.00 /bin 74.0k - 154k
FRITZ!Box 7530 AX 7.20 - 8.00 /bin 106k - 118k
FRITZ!Box 7560 (main) 6.98 - 7.30 /bin 100k - 147k
FRITZ!Box 7580 (main) 6.98 - 7.30 /bin 100k - 147k
FRITZ!Box 7581 6.98 - 7.18 /bin 73.6k - 98.0k
FRITZ!Box 7582 7.01 - 7.18 /bin 73.7k - 98.0k
FRITZ!Box 7583 (main) 7.01 - 7.59 /bin 101k - 151k
FRITZ!Box 7583 VDSL (main) 7.19 - 8.00 /bin 134k - 155k
FRITZ!Box 7590 (main) 6.98 - 8.00 /bin 100k - 187k
FRITZ!Box 7590 AX (main) 7.19 - 8.00 /bin 134k - 187k
FRITZ!Box 7690 7.61 - 7.90 /bin 118k
43 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-12-21 07:44 GMT.

Firmware Symbol
6.98 - 8.00 AddWebVarsRPCIface
6.98 - 8.00 ConnectWebVarsRPCIface
6.98 - 8.00 DisconnectWebVarsRPCIface
6.98 - 8.00 GetWVStr
6.98 - 8.00 GetWebVar
6.98 - 8.00 RemoveWebName
6.98 - 8.00 SetWebVarNum
6.98 - 8.00 SetWebVarStr
6.98 - 8.00 SetWebVarsCallback
6.98 - 8.00 capicmd_close
6.98 - 8.00 capicmd_open
6.98 - 8.00 capicmd_send
7.19 - 8.00 checkusbmsg
7.19 - 8.00 convert_hex2byte
7.19 - 8.00 convert_hex2nibble
6.98 - 8.00 hlte_crashcb
7.08 - 7.19 hlte_crashreport
6.98 - 8.00 hlte_create
6.98 - 8.00 hlte_destroy
6.98 - 8.00 hlte_free
7.39 - 8.00 hlte_getvalue
7.08 - 8.00 hlte_ipcregnot
7.39 - 8.00 hlte_juis_result
6.98 - 7.08 hlte_kpievent
7.24 - 8.00 hlte_luacom
6.98 - 7.39 hlte_mstate
6.98 - 8.00 hlte_signal
6.98 - 8.00 hlte_support
6.98 - 8.00 hlte_systest
7.08 - 8.00 hlte_udev_signal
7.08 - 8.00 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 - 8.00 luaac_juisresult
7.24 - 8.00 luaacc_configget
7.24 - 8.00 luaacc_configset
6.98 - 8.00 luaacc_create
7.24 - 8.00 luaacc_externcom
6.98 - 8.00 luaacc_free
7.39 - 8.00 luaacc_getvalue
7.08 - 8.00 luaacc_ipcstatechg
6.98 - 7.39 luaacc_mstate
6.98 - 8.00 luaacc_signal
6.98 - 8.00 luaacc_supportprint
6.98 - 7.24 luaacc_systest
7.24 - 8.00 luatable_from_list
7.24 - 8.00 luatable_from_mxml
7.24 - 8.00 luatable_to_list
7.24 - 8.00 luatable_to_mxml
6.98 - 8.00 main
6.98 - 8.00 mbim_close
6.98 - 8.00 mbim_open
6.98 - 8.00 mbim_send
7.08 - 7.31 msgep_state_cb_net
7.19 - 8.00 qmi_close
7.19 - 8.00 qmi_open
7.19 - 8.00 qmi_send
6.98 - 8.00 read_4g_voice_data
6.98 - 8.00 send_4g_conn_req
6.98 - 8.00 send_4g_stop_req
6.98 - 8.00 send_4g_voice
6.98 - 8.00 sendusbmsg
6.98 - 7.18 tracing_active
6.98 - 8.00 tracing_atcmds
6.98 - 8.00 tracing_base64
6.98 - 8.00 tracing_deinit
6.98 - 8.00 tracing_history
6.98 - 8.00 tracing_init
7.08 - 7.19 tracing_mbims
6.98 - 8.00 tracing_notify
6.98 - 8.00 tracing_output
7.08 - 8.00 tracing_udev
7.39 - 8.00 tracing_voice
7.19 - 8.00 tracing_wdm
6.98 - 8.00 ttyacc_close
6.98 - 8.00 ttyacc_ioctl
6.98 - 8.00 ttyacc_ioctl_wdmmax
6.98 - 8.00 ttyacc_open
6.98 - 8.00 ttyacc_recvdata
6.98 - 8.00 ttyacc_recvfree
7.19 - 7.59 ttyacc_recvmaxlen
6.98 - 8.00 ttyacc_send
6.98 - 8.00 udev_getids
6.98 - 8.00 udev_signal
6.98 - 8.00 utf16be_to_utf8
7.08 - 8.00 utf16le_to_utf8
7.19 - 8.00 utf8_to_utf16be
7.19 - 8.00 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.