Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme with firmware files #10

Open
dmulcahey opened this issue Oct 30, 2022 · 4 comments
Open

Readme with firmware files #10

dmulcahey opened this issue Oct 30, 2022 · 4 comments

Comments

@dmulcahey
Copy link

Please add readme files with each image that contain all of the settings in the firmware that you have modified. It is very challenging to support all of the issues from your products without this information.

@Hedda
Copy link
Contributor

Hedda commented Nov 22, 2022

FYI there is a related discussion in grobasoz/zigbee-firmware#28 with some info from Daniel-zhan-itead about the config they use.

Please add readme files with each image that contain all of the settings in the firmware that you have modified.

See these examples from some different but similar README.md files for community firmware build images as reference:

@Daniel-zhan-itead can you maybe at least confirm ZBDongle-E Configuration Parameter values Table that was posted there?

Configuration Parameter Value
EMBER_APS_UNICAST_MESSAGE_COUNT 32
EMBER_PACKET_BUFFER_COUNT 250
EMBER_NEIGHBOR_TABLE_SIZE 26
EMBER_SOURCE_ROUTE_TABLE_SIZE 200
EMBER_ADDRESS_TABLE_SIZE 32

Example of more Ember configuration parameters which values in that firmware that can sometimes be useful when troubleshooting:

  • EMBER_APS_UNICAST_MESSAGE_COUNT
  • EMBER_SOURCE_ROUTE_TABLE_SIZE
  • EMBER_ROUTE_TABLE_SIZE
  • EMBER_ADDRESS_TABLE_SIZE
  • EMBER_PACKET_BUFFER_COUNT
  • EMBER_NEIGHBOR_TABLE_SIZE
  • EMBER_APS_ACK_TIMEOUT
  • EMBER_TRUST_CENTER_ADDRESS_CACHE_SIZE
  • EMBER_MULTICAST_TABLE_SIZE
  • EMBER_MAX_END_DEVICE_CHILDREN
  • EMBER_CTUNE_VALUE
  • EMBER_SUPPORTED_NETWORKS
  • EMBER_BINDING_TABLE_SIZE
  • EMBER_MAX_END_DEVICE_CHILDREN

@akauppi
Copy link

akauppi commented Feb 3, 2024

@dmulcahey wrote:

Please add readme files with each image that contain all of the settings in the firmware that you have modified. It is very challenging to support all of the issues from your products without this information.

I can provide such a table of settings, by:

Today, I used this to write down the factory configs just-in-case:

$ universal-silabs-flasher --device /dev/ttyACM0 probe` command
[...]
INFO Dumping EmberZNet Config
CONFIG_PACKET_BUFFER_COUNT=250
CONFIG_NEIGHBOR_TABLE_SIZE=26
CONFIG_APS_UNICAST_MESSAGE_COUNT=32
CONFIG_BINDING_TABLE_SIZE=32
CONFIG_ADDRESS_TABLE_SIZE=32
CONFIG_MULTICAST_TABLE_SIZE=8
CONFIG_ROUTE_TABLE_SIZE=16
[...]
CONFIG_NEW_BROADCAST_ENTRY_THRESHOLD=29
CONFIG_TRANSIENT_KEY_TIMEOUT_S=300
CONFIG_BROADCAST_MIN_ACKS_NEEDED=255
CONFIG_TC_REJOINS_USING_WELL_KNOWN_KEY_TIMEOUT_S=300
CONFIG_CTUNE_VALUE=133
CONFIG_ASSUME_TC_CONCENTRATOR_TYPE=1

Are these the kind of configs you mean? If so, we can likely just extract them from the .gbl without even needing to flash.

@dmulcahey
Copy link
Author

@dmulcahey wrote:

Please add readme files with each image that contain all of the settings in the firmware that you have modified. It is very challenging to support all of the issues from your products without this information.

I can provide such a table of settings, by:

Today, I used this to write down the factory configs just-in-case:

$ universal-silabs-flasher --device /dev/ttyACM0 probe` command
[...]
INFO Dumping EmberZNet Config
CONFIG_PACKET_BUFFER_COUNT=250
CONFIG_NEIGHBOR_TABLE_SIZE=26
CONFIG_APS_UNICAST_MESSAGE_COUNT=32
CONFIG_BINDING_TABLE_SIZE=32
CONFIG_ADDRESS_TABLE_SIZE=32
CONFIG_MULTICAST_TABLE_SIZE=8
CONFIG_ROUTE_TABLE_SIZE=16
[...]
CONFIG_NEW_BROADCAST_ENTRY_THRESHOLD=29
CONFIG_TRANSIENT_KEY_TIMEOUT_S=300
CONFIG_BROADCAST_MIN_ACKS_NEEDED=255
CONFIG_TC_REJOINS_USING_WELL_KNOWN_KEY_TIMEOUT_S=300
CONFIG_CTUNE_VALUE=133
CONFIG_ASSUME_TC_CONCENTRATOR_TYPE=1

Are these the kind of configs you mean? If so, we can likely just extract them from the .gbl without even needing to flash.

All of that + anything else you have changed from defaults in the firmware. Things like receive buffer size, or anything else that you may have changed.

Thanks!!

@lure23
Copy link

lure23 commented Feb 3, 2024

So... if that's useful, you can provide me the firmware URLs you are interested in and I'll make the tables. Reach me at the Zigbee2mqtt Discord as "asko".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants