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:send cms msg

From BoxMatrix


BoxMatrix >> Shell-Commands >> send_cms_msg @ 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

Chipset-Command

Goto:   Examples  -  GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

send_cms_msg sends a Broadcom CMS message to a target service using libcms_msg.so.

7581 fw 7.17:

root@fritz:/var/mod/root# send_cms_msg

usage: send_cms_msg [-v] [-r|-o|-e] [-t timeout] [-p pid] message dest_eid

Option -v creates verbose output.
Option -r sends a request, which is default.
Option -o sends a response.
Option -e sends an event.

The message number to send can be found in the cms_msg.h include.
The dest_eid (Destination Entity ID) numbers of the target service can be found in symbol_table.txt.

Examples

From smd_brcma9.service of a 7530ax fw 7.70:

ExecStop=/bin/send_cms_msg -r 0x1000080D 20

This sends a CMS_MSG_TERMINATE (0x1000080D) message to the EID_SMD (20) service to shut down smd.

7581 fw 7.17:

root@fritz:/var/mod/root# send_cms_msg -v -r 0x1000080D 20

flag_request=1
flag_response=0
flag_event=0
pid=-1
timeout_ms=0
msg_type=0x1000080d
dest_eid=20
smd received Terminate msg!!  Terminate all apps and then exit.
Received response (msg_type=0x1000080d wordData=0x0

GPL-Browser

Daily updated index of all send_cms_msg code findings on the GPL-Browser. Last update: 2024-11-14 05:08 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.

Dependencies

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

Relation Typ Object Mod Firmware Info Origin
Stopped by serv smd_brcma9.service 1 7.20 - 8.00 supervisor service for smd AVM
Depends on lib ld.so 1 7.20 - 8.00 Dynamic linker / loader Linux
Depends on lib libbcm_boardctl.so 3 6.98 - 8.00 Simple Broadcom board control functions Broadcom
Depends on lib libbcm_crc.so 2 6.54 - 7.18 Broadcom CRC32 calculation. Broadcom
Depends on lib libbcm_flashutil.so 3 6.54 - 8.00 Broadcom flash updater utility Broadcom
Depends on lib libbcm_util.so 1 7.20 - 8.00 Broadcom logging and environmental info Broadcom
Depends on lib libc.so 3 6.54 - 8.00 Standard C library Linux
Depends on lib libcms_boardctl.so 2 6.54 - 6.85 Broadcom CMS board control functions Broadcom
Depends on lib libcms_msg.so 3 6.54 - 8.00 Broadcom CMS messaging API Broadcom
Depends on lib libcms_util.so 3 6.54 - 8.00 Broadcom CMS utility functions Broadcom
Depends on lib libcrypt.so 3 6.54 - 8.00 Encoding and decoding handling routines. Linux
Depends on lib libgen_util.so 1 7.20 - 8.00 Generic Broadcom utility functions. Broadcom
Depends on lib libsys_util.so 1 7.20 - 8.00 Broadcom system utilities Broadcom
13 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-14 05:50 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 7530 AX 7.20 - 8.00 /bin 9.4k - 9.5k
FRITZ!Box 7581 6.54 - 7.18 /bin 5.6k - 5.9k
FRITZ!Box 7582 6.83 - 7.18 /bin 5.6k - 5.9k
3 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-11-14 07:42 GMT.

Firmware Symbol
7.20 - 7.31 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.