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 september. 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 Gallery

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-01-28 11:56 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.39 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) 43 6.98 - 7.51 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: 2023-01-28 06:28 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: 2023-01-28 06:37 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: 2023-01-28 07:15 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 - 7.51 supervisor service for mobiled. AVM
Runs as proc mobiled (process) 12* 6.98 - 7.39 Mobile modem daemon AVM
Registers wdog mobiled (watchdog) 12* 6.98 - 7.39 Mobile modem daemon AVM
Serving sock me_mobiled.ctl 12* 6.98 - 7.39 avmipc endpoint of mobiled (also trigger to create KPI) AVM
Serving sock mobiled (socket) 12* 6.98 - 7.39 TODO AVM
Depends on lib ld.so 25 7.08 - 7.51 Dynamic linker / loader Linux
Depends on lib libacsrpc.so 43 6.98 - 7.51 RPC endpoint communication API. AVM
Depends on lib libavmcsock.so 43 6.98 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libbacktrace.so 43 6.98 - 7.51 Crash handler and logger AVM
Depends on lib libboxlib.so 43 6.98 - 7.51 Box status, logging and statistics functions AVM
Depends on lib libboxnotify.so 1 7.39 boxnotifyd client API (old) AVM
Depends on lib libc.so 43 6.98 - 7.51 Standard C library Linux
Depends on lib libdl.so 32 6.98 - 7.50 Dynamic linking library Linux
Depends on lib libemailservice.so 43 6.98 - 7.51 Email sender using mailer AVM
Depends on lib libewnwlinux.so 43 6.98 - 7.51 Linux networking functions AVM
Depends on lib libgpiod.so 7 7.39 Linux GPIO character device API LibGpiod
Depends on lib libled2.so 43 6.98 - 7.51 LED API - second+third generation AVM
Depends on lib liblua.so 43 6.98 - 7.51 Lua 5.1.4 interpreter library Linux
Depends on lib libm.so 34 6.98 - 7.50 C math library Linux
Depends on lib libmxml.so 43 6.98 - 7.51 Mini-XML parser / generator Linux
Depends on lib libpthread.so 34 6.98 - 7.50 POSIX threading library Linux
Depends on lib libsvctl.so 26 7.39 - 7.51 supervisor control library AVM
Depends on lib libz.so 43 6.98 - 7.51 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: 2023-01-28 05:56 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.01 - 7.02 /bin 83.1k - 83.2k
FRITZ!Box 4040 6.98 - 7.39 /bin 73.8k - 154k
FRITZ!Box 4060 7.26 - 7.39 /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 (arm) 7.27 - 7.39 /bin 114k - 118k
FRITZ!Box 6430 Cable (arm) 7.01 - 7.29 /bin 78.8k - 114k
FRITZ!Box 6430 Cable (atom) 7.01 - 7.29 /bin 78.8k - 114k
FRITZ!Box 6490 Cable (arm) 7.00 - 7.39 /bin 78.8k - 118k
FRITZ!Box 6490 Cable (atom) 7.00 - 7.39 /bin 78.8k - 118k
FRITZ!Box 6590 Cable (arm) 6.110 - 7.39 /bin 78.8k - 118k
FRITZ!Box 6590 Cable (atom) 6.110 - 7.39 /bin 78.8k - 118k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.39 /bin 78.9k - 126k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.39 /bin 78.9k - 126k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.39 /bin 86.6k - 126k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.39 /bin 86.6k - 126k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.50 /bin 118k - 126k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.50 /bin 118k - 126k
FRITZ!Box 6820 LTE v1 6.98 - 7.29 /bin 73.8k - 139k
FRITZ!Box 6820 LTE v2 6.98 - 7.29 /bin 73.8k - 139k
FRITZ!Box 6820 LTE v3 7.19 - 7.29 /bin 102k - 139k
FRITZ!Box 6850 LTE 7.21 - 7.39 /bin 94.0k - 183k
FRITZ!Box 6850 5G 7.24 - 7.39 /bin 134k - 154k
FRITZ!Box 6890 LTE 6.98 - 7.39 /bin 88.1k - 183k
FRITZ!Box 6890 LTE v1 6.98 - 7.39 /bin 88.1k - 183k
FRITZ!Box 6890 LTE v2 6.98 - 7.39 /bin 88.1k - 183k
FRITZ!Box 7362 SL 6.98 - 7.13 /bin 82.1k - 106k
FRITZ!Box 7430 6.98 - 7.29 /bin 82.1k - 123k
FRITZ!Box 7490 (main) 6.98 - 7.51 /bin 82.1k - 127k
FRITZ!Box 7510 7.30 - 7.39 /bin 114k - 154k
FRITZ!Box 7520 6.98 - 7.50 /bin 74.9k - 118k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.50 /bin 114k - 118k
FRITZ!Box 7530 6.98 - 7.51 /bin 74.0k - 154k
FRITZ!Box 7530 AX 7.20 - 7.39 /bin 106k - 118k
FRITZ!Box 7560 6.98 - 7.29 /bin 100k - 147k
FRITZ!Box 7580 6.98 - 7.29 /bin 100k - 147k
FRITZ!Box 7581 6.98 - 7.16 /bin 73.6k - 98.0k
FRITZ!Box 7582 7.01 - 7.16 /bin 73.7k - 98.0k
FRITZ!Box 7583 7.01 - 7.31 /bin 101k - 147k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /bin 134k - 147k
FRITZ!Box 7590 6.98 - 7.51 /bin 100k - 187k
FRITZ!Box 7590 AX 7.19 - 7.39 /bin 134k - 187k
43 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-01-28 07:15 GMT.

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