• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AdvancedClimateSystems / uModbus / 321 / 2
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 27 Aug 2020 08:06PM UTC
Files 15
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Aug 2020 08:05PM UTC coverage: 95.819% (-0.2%) from 96.068%
321.2

push

travis-ci

web-flow
Fix byte count when for WriteMultipleCoils (#105)

For full bytes, the Byte Count field was calculated too high:
    8 // 8 + 1 = 2
while only one byte is needed to represent 8 coils.

Offset the values length before the truncating division to correctly
round to whole bytes.  This is easier than what the standard
formulates:
    N = Quantity of Outputs / 8, if the
    remainder is different of 0 ==> N = N+1

Note that the actual data bytes were already handled with the correct
length.  So in case of 8 coils, uModbus would send a Byte Count of 2,
but only one data byte before the checksum.

848 of 885 relevant lines covered (95.82%)

0.96 hits per line

Source Files on job 321.2
  • Tree
  • List 0
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 316
  • Travis Job 321.2
  • b928ff46 on github
  • Prev Job for on master (#319.1)
  • Next Job for on master (#322.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc