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:libalwudsmsg.so
BoxMatrix >> Shell-Commands >> libalwudsmsg.so | @ 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 |
Command: | libalwudsmsg.so - type Link, Lib | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Shared-Libraries - Origin: AVM | ||||||
Path: | Release: /lib Lab+Rel: /lib | ||||||
Properties: | Size: 57.4k - 69.5k, Link - Firmware: 7.52 - 7.90 | ||||||
Function: | ZigBee protocol messaging library |
Goto: Messages - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
This is research in progress and may be partially or completely wrong.
libalwudsmsg.so is the ZigBee Network Co-Processor (NCP) control message Codec library.
The proprietary protocol is named UDS
and the Codec is libminneapolis.so, which is part of the ASEC security engine.
The purpose of libalwudsmsg.so is likely to crypt all NCP control messages passing the socket alw_gw_uds.sock.
MY CURRENT PERSONAL GUESS: This prevents sniffing the control protocol or inserting third party control dialogs.
alw_gw_uds.sock is used between the main and child process of alw_zb_gw_app, all its threads, and all of its client apps.
But libalwudsmsg.so is only used by alw_zb_gw_app, its child and threads, and the commandline frontends alw_zb_gw_cli and alw_lifetest_example.
ZigBee stack:
- Lexicon: ZigBee, LR-WPAN
- Components: NRF52
- Firmware: zncp-0.2.0.bin, zncp-1.0.0.bin, zncp-1.0.1.bin, zncp-1.0.2.bin
- Firmware: zncp-1.1.1.bin, zncp-1.2.0.bin, zncp-1.2.1.bin, zncp-1.3.2.bin
- Devices: ttyACM0, ttyACM1, ttyLRWPAN_NCP, ttyLRWPAN_PTEST
- Sockets: alw_gw_uds.sock
- Sinks: aflrwpan_gw_app
- Commands: alw_zb_gw_app, alw_zb_gw_cli, alw_flash_util, alw_zb_gw_stop
- Commands: supportdata.aha, zb_pcap_dump, uart_flash_tool
- Libraries: liblrwpan.so, libahamodaflrwpan.so, libalwptest.so
- Libraries: libalwncpdfu.so, libalwswdutil.so, libalwncpmgmt.so, libalwudsmsg.so
- Libraries: libcodsu.so, libudev.so, libusb.so, libgpiod.so
- Config: lrwpan.cfg, 95-lrwpan_usb.rules, 95-aflrwpan_usb.rules, alw_zb_gw_app.service
- UI-Modules: lrwpan
- Logs: alw_runtime.log, alw_zb_coordinator.log, alw_gw_crashlog.json
- Temp: supportdata.lrwpan
- Procfs: lrwpan
Messages
fsgw fw 7.57 - handcrafted comments (assumptions) - leading alw_gw_uds_ removed for readability
- A
*_req = request
message is answered by a*_cfm = confirm
message (ie. get device info) - A
*_ind = indicator
message is sent from the network without prior request (ie. button pressed event)
root@fritz:/var/mod/root# strings /lib/libalwudsmsg.so | grep '^alw_gw_uds_' | sed 's/alw_gw_uds_//' | sort # LED light color capabilities color_capabilities_caps_t color_capabilities_cfm color_capabilities_ind color_capabilities_req color_capabilities_req_t color_capabilities_t # ZigBee stack crash report crash_report_ind crash_report_rsp crash_report_t default_cfm default_cfm_t default_rsp default_rsp_t # ZigBee device handling device_basic_info_t device_connect_ind device_connect_ind_t device_connect_rsp device_connect_rsp_t device_disconnect_ind device_disconnect_req device_disconnect_t device_info_cfm device_info_cfm_t device_info_req device_info_req_t device_info_t device_interface_t device_poll_ind device_poll_ind_t device_units_info_t device_unit_t # EUI-64 MAC address list eui64_addr_list_t # Homeauto alert ha_alert_ind ha_alert_ind_t # Homeauto battery percentage ha_battery_info_ind battery_info_ind_t # Homeauto LED color ha_color_control_t ha_color_control_value_hs_t ha_color_control_values_t ha_color_control_value_temp_t ha_color_control_value_xy_t ha_color_ctrl_cfm ha_color_ctrl_ind ha_color_ctrl_req # Homeauto humidity ha_humidity_ind ha_humidity_ind_t # Homeauto LED brightness ha_level_control_t ha_level_ctrl_cfm ha_level_ctrl_ind ha_level_ctrl_req # Homeauto switch on/off ha_onoff_cfm ha_onoff_ind ha_onoff_req ha_onoff_t # Homeauto push button ha_pushbutton_ind ha_pushbutton_ind_t # Homeauto on powerup settings ha_startup_attribute_t ha_startup_color_ctrl_t ha_startup_level_ctrl_t ha_startup_onoff_t ha_startup_settings_ind ha_startup_settings_ind_t ha_startup_settings_req ha_startup_settings_t ha_state_attr_cfm ha_state_attr_cfm_t ha_state_attr_req ha_state_attr_req_t # Homeauto temperature ha_temperature_ind ha_temperature_ind_t # Homeauto window covering ha_window_covering_cmd_cfm ha_window_covering_cmd_payload_t ha_window_covering_cmd_req ha_window_covering_cmd_t ha_window_covering_dummy_t ha_window_covering_go_to_lift_percentage_t ha_window_covering_go_to_lift_value_t ha_window_covering_state_ind ha_window_covering_state_rsp ha_window_covering_state_t # Philips Hue serial number list hue_serial_number_list_t # ZigBee message message_t msg_data_t # NCP factory reset ncp_factory_reset_cfm ncp_factory_reset_cfm_t ncp_factory_reset_req ncp_factory_reset_req_t # NCP RF channel selection ncp_get_channel_cfm ncp_get_channel_cfm_t ncp_get_channel_req ncp_get_channel_req_t ncp_set_channel_cfm ncp_set_channel_cfm_t ncp_set_channel_req ncp_set_channel_req_t # NCP production test capture? ncp_lifetest_capture_cfm ncp_lifetest_capture_cfm_t ncp_lifetest_capture_ind ncp_lifetest_capture_ind_t ncp_lifetest_capture_req ncp_lifetest_capture_req_t # NCP firmware update ncp_update_cfm ncp_update_cfm_t ncp_update_req ncp_update_req_t # NCP firmware versions ncp_version_cfm ncp_version_cfm_t ncp_version_req ncp_version_req_t version_t # TODO ota_notify_req ota_notify_req_t # Register new ZigBee device register_cfm register_cfm_t register_req register_req_t # Philips Hue bulb factory reset send_hue_factory_reset_cfm send_hue_factory_reset_cfm_t send_hue_factory_reset_req send_hue_factory_reset_req_t # Status of the ZigBee stack stack_state_cfm stack_state_cfm_t stack_state_ind stack_state_ind_t stack_state_req stack_state_req_t # NCP supportdata creation supportdata_cfm supportdata_cfm_t supportdata_req supportdata_req_t # Sync ZigBee devices sync_devices_cfm sync_devices_cfm_t sync_devices_req sync_devices_req_t # Window covering capabilities window_covering_attr_attributes_t window_covering_attr_cfm window_covering_attr_ind window_covering_attr_req window_covering_attr_req_t window_covering_attr_t # ZigBee coordinator open the network zc_open_network_req zc_open_network_req_t
Dependencies
Daily updated index of all dependencies of this library. Last update: 2024-11-15 07:54 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Depends on | lib | libc.so | 4 | 7.52 - 7.90 | Standard C library | Linux |
Depends on | lib | libminneapolis.so | 4 | 7.52 - 7.90 | Minneapolis datastore encoder / decoder | AVM |
Required by | lib | libahamodaflrwpan.so | 4 | 7.52 - 7.90 | aha plugin library for ZigBee automation | AVM |
Required by | lib | libalwptest.so | 2 | 7.61 - 7.63 | ZigBee production test | AVM |
Required by | lib | libalwtools.so | 4 | 7.61 - 7.90 | Alias of libalwptest.so | AVM |
Required by | lib | liblrwpan.so | 4 | 7.52 - 7.90 | ctlmgr plugin library for ZigBee configuration | AVM |
Required by | cmd | alw_lifetest_example | 4 | 7.63 - 7.90 | ZigBee lifetest packet capturing example. | AVM |
Required by | cmd | alw_zb_gw_app | 4 | 7.52 - 7.90 | ZigBee Network Co-Processor management daemon. | AVM |
Required by | cmd | alw_zb_gw_cli | 4 | 7.52 - 7.90 | Commandline frontend for the ZigBee daemon alw_zb_gw_app. | AVM |
9 dependencies for this library |
Model-Matrix
Daily updated index of the presence, path and size of this library for each model. Last update: 2024-11-15 05:54 GMT.
Showing all models using this library. 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 5690 Pro (main) | 7.62 - 7.90 | /lib | 61.3k - 61.4k, Link |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /lib | 57.4k - 69.5k, Link |
FRITZ!Box 7690 | 7.61 - 7.90 | /lib | 61.3k - 61.4k, Link |
FRITZ!Smart Gateway | 7.52 - 7.63 | /lib | 57.4k - 61.3k, Link |
4 models use this library |
Symbols
Daily updated index of all symbols of this library. Last update: 2024-11-15 07:54 GMT.
Firmware | Symbol |
---|---|
7.52 - 7.90 | alw_gw_uds_get_msg_scope |
7.61 - 7.90 | alw_uds_open_socket |
7.61 - 7.90 | alw_uds_receive_msg |
7.61 - 7.90 | alw_uds_reconnect_socket |
7.61 - 7.90 | alw_uds_send_message |
7.61 - 7.90 | alw_uds_wait_specific_msg_with_reconnect |
7.52 - 7.90 | mnpls_calculate_alw_gw_uds_message_t_decoded_size |
7.52 - 7.90 | mnpls_calculate_alw_gw_uds_message_t_encoded_size |
7.52 - 7.90 | mnpls_calculate_alw_gw_uds_message_t_loaded_size |
7.52 - 7.90 | mnpls_calculate_alw_gw_uds_message_t_stored_size |
7.52 - 7.90 | mnpls_decode_alw_gw_uds_message_t |
7.52 - 7.90 | mnpls_decode_alw_gw_uds_message_t_with_buffer |
7.52 - 7.90 | mnpls_encode_alw_gw_uds_message_t |
7.52 - 7.90 | mnpls_encode_alw_gw_uds_message_t_with_buffer |
7.52 - 7.90 | mnpls_get_alw_gw_uds_message_t_version |
7.52 - 7.90 | mnpls_load_alw_gw_uds_message_t |
7.52 - 7.90 | mnpls_load_alw_gw_uds_message_t_with_buffer |
7.52 - 7.90 | mnpls_store_alw_gw_uds_message_t |
7.52 - 7.90 | mnpls_store_alw_gw_uds_message_t_with_buffer |
19 symbols for this library |