Python SMS PDU Decoder
Project description
SMS-PDU Decoder
This library will help you to decode raw SMS data you can get from a GSM modem.
It has some encoding functionality as well.
It is recommended to read GSM 03.40 to facilitate understanding.
Requires Python 3.6 or 3.7.
How to install
pip install smspdudecoder
How to test
If you want to experiment with it, clone the repository, do some changes, and type tox
(tox needs to be installed) to launch tests.
How to use
Please take a look at the source code, which comes with documentation and examples.
For instance, you can use GSM and UCS2 encodings just like that:
>>> from smspdu.codecs import GSM, UCS2
>>> GSM.decode('C8F71D14969741F977FD07')
'How are you?'
>>> UCS2.decode('004C006F00720065006D00200049007000730075006D')
'Lorem Ipsum'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smspdudecoder-1.2.2.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for smspdudecoder-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0a6375e2ca03224517ce767335fa9fc1ac5de6a6458f16e7f869413891cec90 |
|
MD5 | 40bbb3f34b4c89ac99b112c025dff4ce |
|
BLAKE2b-256 | 2887778b0574d1180f8db8ee3431885883164ca5ab3c315fce61092c23625110 |