cmseaton42 / node-ethernet-ip

A Lightweight Ethernet/IP API written to interface with Rockwell ControlLogix/CompactLogix Controllers.
MIT License
265 stars 106 forks source link

Atomic BOOL seem to return 0x01 rather than 0xff. #30

Closed pfumagalli closed 6 years ago

pfumagalli commented 6 years ago

Description, Motivation, and Context

This simply changes the way BOOL are checked when parsed atomically

How Has This Been Tested?

Yes, locally on a Logix5572 (Firmware 31.011)

Types of changes

Checklist:

Related Issue

See issue #29

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 92


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/tag/index.js 0 1 0.0%
<!-- Total: 0 1 0.0% -->
Totals Coverage Status
Change from base Build 85: 0.08%
Covered Lines: 472
Relevant Lines: 882

💛 - Coveralls
jhenson29 commented 6 years ago

@cmseaton42 I tested this on v20 and v31. Should be okay. You can see my other comment on how we got here in issue #29.

Version increment to 1.2.1?

cmseaton42 commented 6 years ago

@pfumagalli Thanks for the catch!