[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [milo-dev] DataSetFieldFlags Decoding
|
Sure, I guess so. I've read the PubSub spec but obviously not implemented any of it yet, so I don't really know what you're decoding right now.
Ok so from the sample data below (array of bytes):
1 0 0 0 0 1 0 0 0 1
I need to read the first 2 bytes which is 1 0 and interpret that as DataSetFieldFlags. Is that correct?
Randy's answer was correct, the DataSetFieldFlags datatype is basically just an alias for UInt16 with some additional semantics defining what each bit represents. Currently only 1 bit has an assigned value (bit 0, PromotedField).
When decoding this you will just read a UInt16 (2 bytes).
Is there a way to understand how to parse the DataSetFieldFlags? Unfortunately I could not understand what is given in the Spec! It is very brief. I even raised a question to the OPC discussion forum, but no satisfying reply!
Do you have an idea how to decode this information?
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev