open-dis-python
open-dis-python copied to clipboard
DataPdu Not finished - needs example
I am struggling to find an example of how to use a DataPdu. The nature of python makes it difficult to read your code and decipher how to create a simple DataPdu to send a simple integer as the variable length data.
This may be because DataPdu is unfinished. Could you
- Provide an example of creating a
DataPduwith a variable length record to send an integer as the payload - Finish the DataPdu section?
Hi @DuffyScottC I see we have a unit test for the SetDataPdu, but not DataPdu yet.
https://github.com/open-dis/open-dis-python/blob/master/tests/testSetDataPdu.py
Does that help?