faucamp / python-gsmmodem

Python module to control a GSM modem attached to the system: send/receive SMS messages, handle calls, etc
GNU Lesser General Public License v3.0
388 stars 307 forks source link

Add long sms concat info for received sms #93

Open yurenchen000 opened 6 years ago

yurenchen000 commented 6 years ago

Add concat property for ReceivedSms:

test output of sms_handler_demo.py

== SMS message received ==
From: +8613400000000
Time: 2018-04-13 20:00:02+08:00
concat: {}
Message:
hello, no concat

== SMS message received ==
From: +8613400000000
Time: 2018-04-13 20:00:08+08:00
concat: {'reference': 21, 'number': 2, 'parts': 2, 'dataLength': 3, 'data': [21, 2, 2], 'id': 0}
Message:
test mesage, part 2 of 2
yurenchen000 commented 6 years ago

All checks have failed, Cause travis-ci

pip 9.0.1 no such option: --use-mirrors

tomchy commented 6 years ago

This repository was abandoned a while ago. Could you create the PR to this updated fork?

babca commented 5 years ago

@yurenchen000 please post PRs to the maintained fork of python-gsmmodem. Great addition by the way!

yurenchen000 commented 5 years ago

@tomchy @babca sorry, response so late.

I create the PR to babca/python-gsmmodem right now. https://github.com/babca/python-gsmmodem/pull/73