add 40h protocol support
fix 256 detection
Merge pull request #155 from dinchak/40h_protocol

40h protocol