I cannot see in the spec that it says we must limit bdSeq to 255 (and start over from 0).
Currently the code does do MOD 256 at FB_SparkplugBSimple.GetBDSeqNum line 3.
1. confirm if bdseq should be MOD 256, perhaps look at java sample code.
2. if not, correct the code so it counts up to MAX_ULINT
according to the Java example, it does do MOD 256.
So, we will leave the code as is.
Reflecting on this ticket:
The spec only explains the seqnum counting.
Ps, I implemented BDSeq according to the python example (= MOD 256)