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:libalwncpmgmt.so

From BoxMatrix


BoxMatrix >> Shell-Commands >> libalwncpmgmt.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

Shared-Library

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

Details

libalwncpmgmt.so is the ZigBee Network Co-Processor (NCP) low-level management utilities library.
It was introduced in fw 7.90 and replaces the former libalwswdutil.so.

This library is a low-level interface for resetting, booting and flashing the NCP.
It supports a product dependent configurable set of communication methods to perform its job.

Product configuration

Product configuration comes from /etc/lrwpan/config.json and is handled by alw_product_* functions.
It is parsed using libyajl.so.

todo: example like in libalwswdutil.so.

Communication lines

todo: like in libalwswdutil.so.

Detection of firmware versions

The alw_imgversion_* functions of libalwswdutil.so detect installed and update image firmware versions.
Firmware blobs are located at /lib/firmware/lrwpan/hw${HWRevision}_${hwvar}.
hwvar is not the HWSubRevision - a HWSubRevision 3 model has hwvar 2.

  • The Bootloader blob is named mcuboot-<version>.bin
  • The Application blob is named zncp-<version>.bin - the only blob which appeared in FRITZ!OS so far
  • The Production test blob is named ptest-<version>.bin

<version> is matched by the regular expression ([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3}).

From alw_runtime.log fw x.xx:

todo: like in libalwswdutil.so.

Updating the firmware

todo: like in libalwswdutil.so.

ZigBee stack:

Dependencies

Daily updated index of all dependencies of this library. Last update: 2025-05-26 06:16 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 libavmcsock.so 3 7.63 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libc.so 3 7.63 - 7.90 Standard C library Linux
Depends on lib libgpiod.so 3 7.63 - 7.90 Linux GPIO character device API LibGpiod
Depends on lib libyajl.so 3 7.63 - 7.90 Event-driven JSON parser Linux
Required by lib libalwptest.so 3 7.63 - 7.90 ZigBee production test AVM
Required by lib liblrwpan.so 3 7.63 - 7.90 ctlmgr plugin library for ZigBee configuration AVM
Required by cmd alw_zb_gw_app 3 7.63 - 7.90 ZigBee Network Co-Processor management daemon. AVM
Required by cmd alw_zb_gw_cli 3 7.63 - 7.90 Commandline frontend for the ZigBee daemon alw_zb_gw_app. AVM
8 dependencies for this library

Model-Matrix

Daily updated index of the presence, path and size of this library for each model. Last update: 2025-05-26 04:32 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 6670 Cable (atom) 7.90 /lib 45.6k, Link
FRITZ!Box 7690 7.90 /lib 41.4k, Link
FRITZ!Smart Gateway 7.63 /lib 41.4k, Link
3 models use this library

Symbols

Daily updated index of all symbols of this library. Last update: 2025-05-26 06:16 GMT.

Firmware Symbol
7.63 - 7.90 alw_gpio_bootloader_pin_available
7.63 - 7.90 alw_gpio_close
7.63 - 7.90 alw_gpio_get_chip_mode
7.63 - 7.90 alw_gpio_hold_reset
7.63 - 7.90 alw_gpio_init
7.63 - 7.90 alw_gpio_reboot_application
7.63 - 7.90 alw_gpio_reboot_bootloader
7.63 - 7.90 alw_gpio_reboot_bootloader_available
7.63 - 7.90 alw_gpio_set_bootloader_stateless
7.63 - 7.90 alw_gpio_set_reset_stateless
7.63 - 7.90 alw_imgversion_get_bin_file_info
7.63 - 7.90 alw_imgversion_get_target_folder_path
7.63 - 7.90 alw_imgversion_locate_bin_files
7.63 - 7.90 alw_imgversion_swd_read_app_version
7.63 - 7.90 alw_imgversion_swd_read_bootloader_version
7.63 - 7.90 alw_imgversion_swd_tag_read
7.63 - 7.90 alw_product_config_get
7.63 - 7.90 alw_product_config_load
7.63 - 7.90 alw_swd_close
7.63 - 7.90 alw_swd_connect
7.63 - 7.90 alw_swd_dl_clear_sticky_errors
7.63 - 7.90 alw_swd_dl_empty_transaction
7.63 - 7.90 alw_swd_dl_init
7.63 - 7.90 alw_swd_dl_read_reg
7.63 - 7.90 alw_swd_dl_write_reg
7.63 - 7.90 alw_swd_dp_init
7.63 - 7.90 alw_swd_flash_get_rwe_mode
7.63 - 7.90 alw_swd_flash_nrf52_bin
7.63 - 7.90 alw_swd_flash_nrf52_check_approtect
7.63 - 7.90 alw_swd_flash_nrf52_erase_all
7.63 - 7.90 alw_swd_flash_nrf52_erase_all_ctrl_ap
7.63 - 7.90 alw_swd_flash_nrf52_erase_page
7.63 - 7.90 alw_swd_flash_set_rwe_mode
7.63 - 7.90 alw_swd_halt
7.63 - 7.90 alw_swd_init
7.63 - 7.90 alw_swd_mem_ap_async_read_u32
7.63 - 7.90 alw_swd_mem_ap_async_write_u32
7.63 - 7.90 alw_swd_mem_ap_atomic_read_u32
7.63 - 7.90 alw_swd_mem_ap_atomic_write_u32
7.63 - 7.90 alw_swd_mem_ap_init
7.63 - 7.90 alw_swd_mem_ap_read_buff
7.63 - 7.90 alw_swd_mem_ap_write_buff
7.63 - 7.90 alw_swd_read_ap
7.63 - 7.90 alw_swd_read_ap_plain
7.63 - 7.90 alw_swd_read_dp
7.63 - 7.90 alw_swd_readblock
7.63 - 7.90 alw_swd_reset
7.63 - 7.90 alw_swd_write_ap
7.63 - 7.90 alw_swd_write_ap_plain
7.63 - 7.90 alw_swd_write_dp
7.63 - 7.90 alw_swd_writeblock
7.90 alw_uart_flash_connection_test
7.90 alw_uart_flash_send_image
53 symbols for this library

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

l