Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

CRC calculations in a protocol: negative byteoffset attribute supported?

Solved940 views19th January 2022crc protocol
2
Paulo Henriques [SLC] [DevOps Member]650 7th October 2021 0 Comments

According to the Dataminer Development Library, in the CRC we can specify an offset to be added to every single byte of the CRC before applying the other calculations such as sum, mod, etc.

Example:

…

<CRC>

<Type byteoffset=”32″ mod=”95″ totaloffset=”32″>sum</Type>

…

My doubt is:

can we specify in the byteoffset a negative value, so instead an offset is added an offset would be subtracted? Like this: <Type byteoffset=”-32” mod=”95″ totaloffset=”32″>sum</Type>

I suspect it is not because the obtained result for the CRC doesn’t seem to match the expected value.

Paulo Henriques [SLC] [DevOps Member] Selected answer as best 7th October 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Brent Alleweireldt [SLC]1.64K Posted 7th October 2021 0 Comments

Hey Paulo,

Negative values are indeed not supported at this moment, to support this some changes would need to be made in the software. So if this is a requirement, you can request this feature to be implemented.

*UPDATE* After further testing by the relevant team, it has been concluded that negative offsets in CRC calculations are fully supported in the released dataminer versions

Brent Alleweireldt [SLC] Changed status to publish 19th January 2022
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs