Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ SMS Tool for 3G/4G/5G modem

* sms tool for various of 3g/4g modem
* read sms as raw pdu or decoded text
* support ucs2 decoding
* support ucs2 decoding and UTF-8/UCS-2 sending
* split long GSM-7 and UCS-2 messages into concatenated SMS parts

Usage:
----------------
Expand Down
8 changes: 6 additions & 2 deletions pdu_lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ ucs2_to_utf8:
pdu_decoder: pdu.o pdu_decoder.o ucs2_to_utf8
$(CC) $(CFLAGS) ucs2_to_utf8.o pdu.o pdu_decoder.o -lm -o pdu_decoder
clean:
rm -f *.o pdu_decoder
test: clean ALL
rm -f *.o pdu_decoder pdu_test
test: clean ALL pdu_test
echo "0891683108501405F8240BA10156686616F60008414090912385235C6D4191CF6C4752A860015BC67801FF1A00350030003900360036FF0C4EB2FF0C8BB05F9762BD59566BCF592990FD8981676554E6FF0C611F89C9597D76848BDD63A883507ED960A87684670B53CBFF019884795D60A84E2D5956FF01"|./pdu_decoder
echo "0891683108501405F8640BA10156686616F6000841400100957423830608048A3002026B21767B5F556D4191CF6C475373900100356D4191CF5E01FF0853EF63620035004D6D4191CFFF09FF0C731B623394FE63A5FF1A0068007400740070003A002F002F007300680061006B0065002E00730064002E006300680069006E0061006D006F00620069006C0065002E0063006F006D30025C714E1C79FB52A8"|./pdu_decoder
./pdu_test

pdu_test: pdu.o pdu_test.o
$(CC) $(CFLAGS) pdu.o pdu_test.o -lm -o pdu_test
Loading