| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
There is a couple of things that I don't really like about this implementation:
Could you adjust the implementation perhaps?
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you for your comments. I created some new parallel functions for read_once, read_pdu and send_message to avoid affection on already implemented systems.
pdu, submit_sm_resp = client.send_message_rawpdu
deliver_pdu = client.read_once_rawpdu()
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I had the need to read hexadecimal PDU responses from server.
As discussed in Read raw_pdu #242 I have done some modifications in client.py.
Now send_message and read_once functions return not only decoded PDU but also hexadecimal ASCII PDU.
Examples:
pdu, submit_sm_resp = client.send_message(...)
deliver_sm = client.read_once()
submit_sm_resp 00000019800000040000000000000002354532443736353100