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.
Property:matterd (avmcmd)
BoxMatrix >> Shell-Commands >> matterd (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 |
Name-Collision - multiple objects in this wiki use the name matterd!
|
AVM-Command
Command: | matterd (avmcmd) - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /usr/sbin Lab+Rel: /usr/sbin | ||||||
Properties: | Size: 80.2k - 80.4k - Firmware: 7.61 - 7.63 | ||||||
Function: | Matter gateway management daemon. |
Goto: Endpoints - Logs - Source - GPL-Browser - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
matterd is the Matter gateway management daemon.
This comes from the official Matter source, or is derived from it. Note that Matter was called Project CHIP
before.
The official Matter stack is written in C++ and is completely open source.
AVM adds a subset of this stack, in form of Shared-Libraries, which matterd loads, see the Depedencies - .
This is future proof, since it keeps the stack easily updatable. Both Matter and the stack are ongoing development.
By default matterd is not running, it is started by ctlmgr if a Matter controller is or is about to be registered.
All communication between matterd and the remainder of FRITZ!OS happens through the API library libavmmatter.so.
matterd serves two Network-Ports:
- Port-5540-udp - Matter Operational Discovery and Communication
- Port-5353-udp - Multicast DNS (mDNS) for DNS Service Discovery (DNS-SD)
All local communication is explained in the libavmmatter.so article.
matterd does not store any configuration. Configuration is handled through libavmmatter.so by aha and libcmapi.so for ctlmgr.
See ahausr.cfg.
fw 7.63 help:
root@fritz:/var/mod/root# matterd -? usage: matterd matterd [options] options: -? - print this help -f - run in forground. (NOTSET) -s - stop daemon. (NOTSET) -v - verbose. (NOTSET) -p STRING - Pidfile of matterd. ("/var/run/matterd.pid") -D STRING - switch debug logs on. (FUNC) start daemon: matterd stop daemon: matterd -s start verbose: matterd -v start in foreground: matterd -f
Matter stack:
- Lexicon: Matter, DNS-SD
- Environment: CONFIG_MATTER
- Sockets: me_matterd.ctl, me_libavmmatter_2.ctl, me_libavmmatter_4.ctl
- Ports: Port-5540-udp, Port-5353-udp
- Commands: matterd, matter.support.sh, matter_argo.support.sh
- Libraries: libavmmatter.so, libASN1.so, libCHIPAppServer.so, libCHIPDataModel.so, libChipCore.so
- Libraries: libChipCrypto.so, libCredentials.so, libDefaultAttestationVerifier.so, libDeviceLayer.so
- Libraries: libInetLayer.so, libLinux.so, libMessagingLayer.so, libSecureChannel.so
- Libraries: libSupportLayer.so, libSystemLayer.so, libTransportLayer.so, libaddress_resolve.so, libdnssd.so
- Config: ahausr.cfg
- UI-Modules: matter
- Tempfiles: chip_config.ini, chip_counters.ini, chip_ factory.ini, chip_kvs
- Tempfiles: matterd($num).slab, matterd($num).slab.done
- Logs: .srb_matter_info, .srb_matter_info.sem, .srb_matter_error, .srb_matter_error.sem
Endpoints
aicmd endpoint(s) provided by matterd, with these functions: (fw 7.63)
root@fritz:/var/mod/root# aicmd matterd # provided by matterd: - fw 7.63+ HELP - show help SLABDUMP - show slab allocation SLABSHOW - show slab information QUIT - disconnect show bridged_devices - Show all bridged devices show trusted_fabrics - Show all trusted fabrics (matter networks) # provided by libewnwlinux.so: - fw 7.01+ ewnwlinux show csockshell - show shells running ewnwlinux show genetlink - show gerneric netlink families # provided by libewnwlinux.so: - fw 7.90+ ewnwlinux netlink show - show internal information ewnwlinux netlink getroute [address] - get route for inet address ewnwlinux netlink interfaces - show interfaces ewnwlinux netlink routes [ 4 | 6 ] - show routes # provided by libavmcsock.so: - fw 7.01+ avmcsock show csock - show all csock avmcsock show dnsconfig - show all dns context avmcsock show timercb - show all timer avmcsock show debughandles - show all debughandles avmcsock show cprocess - show all processes avmcsock set debug - set debug flags # provided by libavmcsock.so: - fw 7.29+ avmcsock show cbcontext - show all cbdata avmcsock show daemon - show daemon status avmcsock show cbuf - show cbuf status # provided by libavmcsock.so: - fw 7.39+ avmcsock getsymbol <address> - get symbol for address avmcsock show dnsglobal - show all dns global values avmcsock show dnscache - show cache avmcsock show dnsqueries - show all pending queries avmcsock show avmipc [endpoint shmatch] - show avmipc events and states avmcsock ctimer show - show all timer avmcsock ctimer overview - show ctimer overview avmcsock iotrace format unctrl|hexdump - set format for csock iotrace avmcsock iotrace file - enable iotrace to file avmcsock iotrace enable - enable iotrace via debugmsg avmcsock iotrace disable - disable iotrace avmcsock iotrace match help|<match> - show allowed matches or set match avmcsock iotrace reset - remove all matches avmcsock iotrace show - show configuration # provided by libavmcsock.so: - fw 7.90+ avmcsock show signals - show signal handler avmcsock show connector [cache|stats] - show connector information avmcsock show clogger - show clogger information avmcsock set clogmod [ <module> [ '.' <submodule ] ... ] [ '=' <level> ] - set clogmod log level avmcsock slab check - red zone/free check avmcsock slab reap [heavy] - call slab_reap/slab_reap_heavy avmcsock slab dump [long] - show slab allocation avmcsock slab show - show slab information avmcsock slab ewma [show|activate|deactivate|reset] - show average allocates/freed per second avmcsock avmipc notifier [endpoint shmatch] - show registered notifier avmcsock avmipc set [endpoint shmatch] - show states/events sent avmcsock avmipc csv [endpoint shmatch] - show states/events sent and listing as csv
Logs
This is a subset of the Temp-Files section, filtered for logfiles of matterd:
Daily updated index of all matterd logfiles found scanning Supportdata-Probes. Last update: 2024-12-20 07:02 GMT.
The label (temp)
in the Logfile
column shows there are other objects in this wiki using this name.
The Mod
column shows the amount of models using the respective logfile. Click the column header to sort by this number.
Logfile | Mod | Firmware | Description | Path | Size/Bytes | Type | Origin |
---|---|---|---|---|---|---|---|
.srb_matter_info | 1 | 7.63 | shringbuf log for matterd | /var | 4.0k | AVM | |
1 logfiles |
Source
The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.63 source files:
$ strings /usr/sbin/matterd | grep -e '\.c$' -e '\.cpp$' src/matterd/dynamic_endpoints.cpp src/matterd/chipbridge.cpp src/matterd/bridged-actions-stub.cpp src/connectedhomeip/src/access/AccessControl.cpp src/connectedhomeip/src/access/examples/ExampleAccessControlDelegate.cpp src/connectedhomeip/src/access/examples/PermissiveAccessControlDelegate.cpp src/matterd/data-provider/FOSDataProvider.cpp
GPL-Browser
Daily updated index of all matterd code findings on the GPL-Browser. Last update: 2024-12-20 05:01 GMT.
The Browse
column points to the Path
containing the respective source code on the gpl.boxmatrix.info service.
The SoC
column lists the Chip-Codenames, the Model
column lists the nicks of the Box-Models.
The Diff
column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download
column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.
Browse | Path | SoC | Arch | Model | Firmw | Diff | Download |
---|---|---|---|---|---|---|---|
zzzz-none-000 | packages/connectedhomeip/src/access | none | none | none | 0.00 | none | Download |
1 directory containing matterd source code |
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-12-20 07:46 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Runs as | proc | matterd (process) | 1* | 7.63 | Process running matterd | AVM |
Registers | wdog | matterd (watchdog) | 1* | 7.63 | Watchdog for matterd | AVM |
Serving | port | Port-5353-udp | 84* | 5.04 - 8.00 | mDNS - Multicast Domain Name System and DNS-SD | AVM |
Serving | port | Port-5540-udp | 1* | 7.63 | Matter - Matter Operational Discovery and Communication | AVM |
Serving | sock | me_libavmmatter_4.ctl | 1* | 7.63 | Matter communication API of matterd | AVM |
Serving | sock | me_matterd.ctl | 1* | 7.63 | avmipc_command endpoint of matterd | AVM |
Depends on | lib | libASN1.so | 1 | 7.61 - 7.63 | Matter ASN1 reader / writer | Matter |
Depends on | lib | libCHIPAppServer.so | 1 | 7.61 - 7.63 | Matter application server | Matter |
Depends on | lib | libCHIPDataModel.so | 1 | 7.61 - 7.63 | Matter data model | Matter |
Depends on | lib | libChipCore.so | 1 | 7.61 - 7.63 | Matter core library | Matter |
Depends on | lib | libChipCrypto.so | 1 | 7.61 - 7.63 | Matter crypto support | Matter |
Depends on | lib | libCredentials.so | 1 | 7.61 - 7.63 | Matter credentials and certificates | Matter |
Depends on | lib | libDeviceLayer.so | 1 | 7.61 - 7.63 | Matter device layer | Matter |
Depends on | lib | libInetLayer.so | 1 | 7.61 - 7.63 | Matter network layer | Matter |
Depends on | lib | libLinux.so | 1 | 7.61 - 7.63 | Matter Linux device layer (config I/O) | Matter |
Depends on | lib | libMessagingLayer.so | 1 | 7.61 - 7.63 | Matter messaging layer | Matter |
Depends on | lib | libSecureChannel.so | 1 | 7.61 - 7.63 | Matter secure channel layer | Matter |
Depends on | lib | libSupportLayer.so | 1 | 7.61 - 7.63 | Matter support function layer | Matter |
Depends on | lib | libSystemLayer.so | 1 | 7.61 - 7.63 | Matter system layer | Matter |
Depends on | lib | libTransportLayer.so | 1 | 7.61 - 7.63 | Matter transport layer | Matter |
Depends on | lib | libaddress_resolve.so | 1 | 7.61 - 7.63 | Matter address resolving of nodes / peers | Matter |
Depends on | lib | libavmcsock.so | 1 | 7.61 - 7.63 | Networking, I/O and helper functions | AVM |
Depends on | lib | libavmmatter.so | 1 | 7.61 - 7.63 | AVM Matter core API | AVM |
Depends on | lib | libboxenv.so | 1 | 7.61 - 7.63 | API to the rc.conf enhanced Config-Environment | AVM |
Depends on | lib | libc.so | 1 | 7.61 - 7.63 | Standard C library | Linux |
Depends on | lib | libcrypto.so | 1 | 7.61 - 7.63 | OpenSSL general crypto and X.509 library | Linux |
Depends on | lib | libdnssd.so | 1 | 7.61 - 7.63 | Matter DNS Service Discovery (DNS-SD) | Matter |
Depends on | lib | libewnwlinux.so | 1 | 7.61 - 7.63 | Linux networking functions | AVM |
Depends on | lib | libgcc_s.so | 1 | 7.61 - 7.63 | GCC low-level runtime library | Linux |
Depends on | lib | libssl.so | 1 | 7.61 - 7.63 | OpenSSL implementations of SSL and TLS | Linux |
Depends on | lib | libstdc++.so | 1 | 7.61 - 7.63 | GNU C++ library | Linux |
31 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-20 05:43 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!Smart Gateway | 7.61 - 7.63 | /usr/sbin | 80.2k - 80.4k |
1 model uses this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-12-20 07:46 GMT.
Firmware | Symbol |
---|---|
7.61 - 7.63 | MatterActionsPluginServerInitCallback |
7.61 - 7.63 | chip::Access::AccessControl::AddEntryListener |
7.61 - 7.63 | chip::Access::AccessControl::Check |
7.61 - 7.63 | chip::Access::AccessControl::CreateEntry |
7.61 - 7.63 | chip::Access::AccessControl::DeleteEntry |
7.61 - 7.63 | chip::Access::AccessControl::Finish |
7.61 - 7.63 | chip::Access::AccessControl::Init |
7.61 - 7.63 | chip::Access::AccessControl::UpdateEntry |
7.61 - 7.63 | chip::Access::GetAccessControl |
7.61 - 7.63 | chip::Access::ResetAccessControlToDefault |
7.61 - 7.63 | chip::Access::SetAccessControl |
7.61 - 7.63 | emberAfActionsClusterInstantActionCallback |
7.61 - 7.63 | emberAfExternalAttributeReadCallback |
7.61 - 7.63 | emberAfExternalAttributeWriteCallback |
14 symbols for this command |