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

HikInfo.cs parsing logic #1

Open
jkldgoefgkljefogeg opened this issue May 22, 2020 · 0 comments
Open

HikInfo.cs parsing logic #1

jkldgoefgkljefogeg opened this issue May 22, 2020 · 0 comments

Comments

@jkldgoefgkljefogeg
Copy link

jkldgoefgkljefogeg commented May 22, 2020

this is the last 14 bytes after MAC

0000 0004 0000 40ab 6412 0400 0000

the logic here doesn't make sense
https://github.com/ToltingColtAcres/HikNAS/blob/master/HikInfo.cs#L30-L34

my guess is 4 datadirs, 256MB for each file, 274 mp4 files in each datadir

BitConverter.ToUInt32 results in numbers much larger

u_dataDirs is UINT16 - Big Endian (AB)?

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

1 participant