Skip to content

filesystem: fixed failing put_file call with the XBee Wi-SUN - #324

Open
kurte261 wants to merge 1 commit into
digidotcom:masterfrom
kurte261:kurte/remove-too-aggressive-file-block-size-check
Open

filesystem: fixed failing put_file call with the XBee Wi-SUN#324
kurte261 wants to merge 1 commit into
digidotcom:masterfrom
kurte261:kurte/remove-too-aggressive-file-block-size-check

Conversation

@kurte261

Copy link
Copy Markdown

Removed a check in WriteFileCmdRequest that generated an error if the write block size was greater than 248 bytes long. This is a problem on platforms such as XBee Wi-SUN which have a NP value higher than this limit. In the case of XBee Wi-SUN the higher level filesystem would calculate a much bigger block size which would fail in the lower level filesystem because of this check.

Removed a check in WriteFileCmdRequest that generated an error if the write block size was greater than 248 bytes
long. This is a problem on platforms such as XBee Wi-SUN which have a NP value higher than this limit. In the case
of XBee Wi-SUN the higher level filesystem would calculate a much bigger block size which would fail in the lower
level filesystem because of this check.
@kurte261
kurte261 force-pushed the kurte/remove-too-aggressive-file-block-size-check branch from 036da4b to d86c0ac Compare August 31, 2026 18:42
@kurte261 kurte261 closed this Aug 31, 2026
@kurte261

Copy link
Copy Markdown
Author

There is an issue with the change.

@kurte261

kurte261 commented Sep 1, 2026

Copy link
Copy Markdown
Author

After further review, I think this fix is the right one.

@kurte261 kurte261 reopened this Sep 1, 2026
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

Successfully merging this pull request may close these issues.

2 participants