dgallegos / edidreader

JavaScript EDID Parser
MIT License
85 stars 14 forks source link

Edid.prototype.parseDtd does not parse all descriptor blocks #6

Open KSebion opened 7 years ago

KSebion commented 7 years ago

I saw that edidreader does not handle all descriptor block types in bytes 54 - 125. Wikipedia shows the different types of descriptor blocks. For example, I have a dell monitor.

($edid[90..107] | %{ '{0:X2}' -f $_}) -join ' '
00 00 00 FC 00 44 45 4C 4C 20 53 32 34 31 35 48 0A 20
($edid[95..105] | %{ '{0:X2}' -f $_}) -join ' '; ($edid[95..105] | %{ [char]$_ }) -join '  '
44 45 4C 4C 20 53 32 34 31 35 48
D  E  L  L     S  2  4  1  5  H

Please implement parsing of all descriptor block types.

dgallegos commented 7 years ago

Yea, this is a feature that isn't implemented, but needs to be.