-
Couldn't load subscription status.
- Fork 218
add specification for Fullhan .FLS files #671
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| meta: | ||
| id: fullhan_fls | ||
| title: Fullhan FLS | ||
| file-extension: fls | ||
| license: CC0-1.0 | ||
| endian: le | ||
| encoding: UTF-8 | ||
| doc: | | ||
| Test files: | ||
|
Comment on lines
+8
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for declaring where to find test files (I'll check them out), but I think |
||
| - https://www.nvripc.com/new-chinese-ip-camera-firmwares-update/ | ||
| - https://www.herospeed.net/hs/ipc_test/fuhan/ | ||
| seq: | ||
| - id: header | ||
| type: header | ||
| - id: entries | ||
| type: entry | ||
| repeat: expr | ||
| repeat-expr: header.num_entries | ||
| - id: data | ||
| size: header.len_file - ofs_data | ||
| type: dummy | ||
| instances: | ||
| ofs_data: | ||
| value: header._sizeof + header.num_entries * sizeof<entry> | ||
| types: | ||
| dummy: {} | ||
| header: | ||
| seq: | ||
| - id: model | ||
| size: 8 | ||
| type: strz | ||
| - id: submodel | ||
| size: 8 | ||
| type: strz | ||
| - id: len_file | ||
| type: u4 | ||
| - id: num_entries | ||
| type: u4 | ||
| entry: | ||
| seq: | ||
| - id: name | ||
| size: 128 | ||
| type: strz | ||
| - id: len_data | ||
| type: u4 | ||
| - id: ofs_data | ||
| type: u4 | ||
| - id: unknown | ||
| size: 120 | ||
| instances: | ||
| data: | ||
| io: _root.data._io | ||
| pos: ofs_data - _root.ofs_data | ||
| size: len_data | ||
Uh oh!
There was an error while loading. Please reload this page.