Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataPdu Not finished - needs example #12

Open
DuffyScottC opened this issue May 14, 2020 · 1 comment
Open

DataPdu Not finished - needs example #12

DuffyScottC opened this issue May 14, 2020 · 1 comment

Comments

@DuffyScottC
Copy link

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

  1. Provide an example of creating a DataPdu with a variable length record to send an integer as the payload
  2. Finish the DataPdu section?
@leif81
Copy link
Member

leif81 commented May 15, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants