gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-42


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-428-g18d3c9a
Date: Sun, 20 Jan 2013 13:18:59 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  18d3c9a60564e83add48b083d0d18763d508d3b3 (commit)
      from  85d8df4aa19b0c0c11f78beb567445d6442e77ff (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=18d3c9a60564e83add48b083d0d18763d508d3b3


commit 18d3c9a60564e83add48b083d0d18763d508d3b3
Author: Daniele Forsi <address@hidden>
Date:   Sun Jan 20 14:14:56 2013 +0100

    Update the fake driver and the testsuite to test TP-Validity-Period

diff --git a/ChangeLog b/ChangeLog
index b3cc093..c732ac8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,8 @@
  * fake driver updates
     o always autodetect if PDU SMS starts with SMSC (Daniele Forsi)
     o make it usable with gnome-phone-manager       (Daniele Forsi)
+    o set TP-Validity-Period and update the testsuite to test is
+                                                    (Daniele Forsi)
  * documentation updates
     o samples for connect and disconnect scripts for Portech
       devices                                   (Guillermo Benitez)
diff --git a/common/phones/fake.c b/common/phones/fake.c
index fb246f7..1c22e55 100644
--- a/common/phones/fake.c
+++ b/common/phones/fake.c
@@ -113,7 +113,7 @@ static gn_error at_sms_write(gn_data *data, struct 
gn_statemachine *state, char*
 
        req2[offset + 4] = data->raw_sms->pid;
        req2[offset + 5] = data->raw_sms->dcs;
-       req2[offset + 6] = 0x00; /* Validity period */
+       req2[offset + 6] = data->raw_sms->validity[0];
        req2[offset + 7] = data->raw_sms->length;
        memcpy(req2 + offset + 8, data->raw_sms->user_data, 
data->raw_sms->user_data_length);
 
diff --git a/testsuite/out.1.sms b/testsuite/out.1.sms
index fbb3fd1..e497c53 100644
--- a/testsuite/out.1.sms
+++ b/testsuite/out.1.sms
@@ -1,3 +1,3 @@
 AT+CMGS=101
-0011000A8180002143650000006454747A0E4ACF41F377BB0CA2BFE961363B0FAABBD36DF85B4E0FBBE9207A794E07B5CBF379F85C76819220F2DB7DA283D8E9751934D697C76810BDCC2E8FDF6DD0FC0D4A9EDAA079D94D4EBBCFA0341D447F83E8E872DB05
+0011000A8180002143650000A96454747A0E4ACF41F377BB0CA2BFE961363B0FAABBD36DF85B4E0FBBE9207A794E07B5CBF379F85C76819220F2DB7DA283D8E9751934D697C76810BDCC2E8FDF6DD0FC0D4A9EDAA079D94D4EBBCFA0341D447F83E8E872DB05
 Send succeeded with reference 1!
diff --git a/testsuite/out.10.oplogo b/testsuite/out.10.oplogo
index 37f6ec7..94cdbf0 100644
--- a/testsuite/out.10.oplogo
+++ b/testsuite/out.10.oplogo
@@ -1,4 +1,4 @@
 Sending operator logo.
 AT+CMGS=153
-0051000A81800021436500F5008C0605041582000002F31000480E010000F800000061B0000001FC00000061B0000001AC0000006000000000F80E3E1C6DB0000001741F3F366DB00000032631B36379B00000030631B3637DB0000006073FB3366DB0000006071FB31C65B000000607018000000000000E0F018000000000001F0F8F8000000000001F1F078000000000000FFE000000000000
+0051000A81800021436500F5A98C0605041582000002F31000480E010000F800000061B0000001FC00000061B0000001AC0000006000000000F80E3E1C6DB0000001741F3F366DB00000032631B36379B00000030631B3637DB0000006073FB3366DB0000006071FB31C65B000000607018000000000000E0F018000000000001F0F8F8000000000001F1F078000000000000FFE000000000000
 Send succeeded with reference 1!
diff --git a/testsuite/out.11.ringtone b/testsuite/out.11.ringtone
index e10c786..fc7618e 100644
--- a/testsuite/out.11.ringtone
+++ b/testsuite/out.11.ringtone
@@ -1,3 +1,3 @@
 AT+CMGS=92
-0051000A81604043133000F5004F06050415810000024A3A514DD185C8040052D9149A61861541541541361841841A41861A61C41A61861561341341341341A61861541541541341061841841A41861A61C41A61861541341541540000
+0051000A81604043133000F5A94F06050415810000024A3A514DD185C8040052D9149A61861541541541361841841A41861A61C41A61861561341341341341A61861541541541341061841841A41861A61C41A61861541341541540000
 Send succeeded with reference 1!
diff --git a/testsuite/out.13.emspicture b/testsuite/out.13.emspicture
index b142c3f..e662366 100644
--- a/testsuite/out.13.emspicture
+++ b/testsuite/out.13.emspicture
@@ -1,4 +1,4 @@
 Sending EMS-compliant Picture Message.
 AT+CMGS=145
-0051000A81604043133000F5008483128100090E07800000000001F0001FE00000000007FC003FF0000000000FFE007FF8000000000CCE007FC0000000000D5600FF00000000000EEE00FC06318C6318CFFE63FC06318C6318CFFE63FF00000000000FFE007FC0000000000EAE007FF8000000000D56003FF0000000000FFE001FE0000000000CE600078000000000084200
+0051000A81604043133000F5A98483128100090E07800000000001F0001FE00000000007FC003FF0000000000FFE007FF8000000000CCE007FC0000000000D5600FF00000000000EEE00FC06318C6318CFFE63FC06318C6318CFFE63FF00000000000FFE007FC0000000000EAE007FF8000000000D56003FF0000000000FFE001FE0000000000CE600078000000000084200
 Send succeeded with reference 1!
diff --git a/testsuite/out.14.oplogo-xpm b/testsuite/out.14.oplogo-xpm
index 37f6ec7..94cdbf0 100644
--- a/testsuite/out.14.oplogo-xpm
+++ b/testsuite/out.14.oplogo-xpm
@@ -1,4 +1,4 @@
 Sending operator logo.
 AT+CMGS=153
-0051000A81800021436500F5008C0605041582000002F31000480E010000F800000061B0000001FC00000061B0000001AC0000006000000000F80E3E1C6DB0000001741F3F366DB00000032631B36379B00000030631B3637DB0000006073FB3366DB0000006071FB31C65B000000607018000000000000E0F018000000000001F0F8F8000000000001F1F078000000000000FFE000000000000
+0051000A81800021436500F5A98C0605041582000002F31000480E010000F800000061B0000001FC00000061B0000001AC0000006000000000F80E3E1C6DB0000001741F3F366DB00000032631B36379B00000030631B3637DB0000006073FB3366DB0000006071FB31C65B000000607018000000000000E0F018000000000001F0F8F8000000000001F1F078000000000000FFE000000000000
 Send succeeded with reference 1!
diff --git a/testsuite/out.15.emspicture2 b/testsuite/out.15.emspicture2
index 40ab9a1..e41d8bb 100644
--- a/testsuite/out.15.emspicture2
+++ b/testsuite/out.15.emspicture2
@@ -1,4 +1,4 @@
 Sending EMS-compliant Picture Message.
 AT+CMGS=148
-0051000C9124604043133000F50086851283000420000000000002C0000005A0000005A000001FF800003F1C00007C020000D0018000E0008000640440018A062003040430060000180400001C1800181E1448700A174FC00B0EF848010480480403006800000060000300000004800030148000403FF0038027DE0C001E4718000AC0E000178000001E0000000000000000000000
+0051000C9124604043133000F5A986851283000420000000000002C0000005A0000005A000001FF800003F1C00007C020000D0018000E0008000640440018A062003040430060000180400001C1800181E1448700A174FC00B0EF848010480480403006800000060000300000004800030148000403FF0038027DE0C001E4718000AC0E000178000001E0000000000000000000000
 Send succeeded with reference 1!
diff --git a/testsuite/out.16.imelody b/testsuite/out.16.imelody
index 14667dd..74a71e7 100644
--- a/testsuite/out.16.imelody
+++ b/testsuite/out.16.imelody
@@ -1,3 +1,3 @@
 AT+CMGS=145
-0051000A81604043133000F50084830C8100424547494E3A494D454C4F44590D0A56455253494F4E3A312E300D0A464F524D41543A434C415353312E300D0A4D454C4F44593A6134673465336533653364342A33623467336733613367346134623361346734653464342A3362336433643364336134673465336533653364342366340D0A454E443A494D454C4F44590D0A
+0051000A81604043133000F59084830C8100424547494E3A494D454C4F44590D0A56455253494F4E3A312E300D0A464F524D41543A434C415353312E300D0A4D454C4F44593A6134673465336533653364342A33623467336733613367346134623361346734653464342A3362336433643364336134673465336533653364342366340D0A454E443A494D454C4F44590D0A
 Send succeeded with reference 1!
diff --git a/testsuite/out.18.emsanimation b/testsuite/out.18.emsanimation
index 4452766..35df6ef 100644
--- a/testsuite/out.18.emsanimation
+++ b/testsuite/out.18.emsanimation
@@ -1,3 +1,3 @@
 AT+CMGS=145
-0051000A81604043133000F50084830E8100FFFFCFFFD7FFB3FFBBFF9BFFE7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFFFD0FFA37F9B7F9B7FC6FFDEFFECFFF3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFFFD0FFA37F980F9377C6F9CEFECCFED3FFDFFFBFFFBFFEBFFEBFFDDFFB82238226C248B2488A504C1033E303D4F7E003E00BEC100362908CB809243122
+0051000A81604043133000F5A784830E8100FFFFCFFFD7FFB3FFBBFF9BFFE7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFFFD0FFA37F9B7F9B7FC6FFDEFFECFFF3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFFFD0FFA37F980F9377C6F9CEFECCFED3FFDFFFBFFFBFFEBFFEBFFDDFFB82238226C248B2488A504C1033E303D4F7E003E00BEC100362908CB809243122
 Send succeeded with reference 1!
diff --git a/testsuite/out.29.sendsms b/testsuite/out.29.sendsms
index 8adae4b..dc19d3b 100644
--- a/testsuite/out.29.sendsms
+++ b/testsuite/out.29.sendsms
@@ -1,3 +1,3 @@
 AT+CMGS=153
-001100098121436587F9000000A08080604028180E888462C168381E90886442A9582E988C66C3E9783EA09068442A994EA8946AC56AB95EB0986C46ABD96EB89C6EC7EBF97EC0A070482C1A8FC8A472C96C3A9FD0A8744AAD5AAFD8AC76CBED7ABFE0B0784C2E9BCFE8B47ACD6EBBDFF0B87C4EAFDBEFF8BC7ECFEFFBFF1BC586B2416D529BD786B7E96D7C1BE0A6EC72B95C2E9739CD6697E5
+001100098121436587F90000A8A08080604028180E888462C168381E90886442A9582E988C66C3E9783EA09068442A994EA8946AC56AB95EB0986C46ABD96EB89C6EC7EBF97EC0A070482C1A8FC8A472C96C3A9FD0A8744AAD5AAFD8AC76CBED7ABFE0B0784C2E9BCFE8B47ACD6EBBDFF0B87C4EAFDBEFF8BC7ECFEFFBFF1BC586B2416D529BD786B7E96D7C1BE0A6EC72B95C2E9739CD6697E5
 Send succeeded with reference 1!
diff --git a/testsuite/out.3.ucs2sms b/testsuite/out.3.ucs2sms
index 3549cbb..3d6b707 100644
--- a/testsuite/out.3.ucs2sms
+++ b/testsuite/out.3.ucs2sms
@@ -1,3 +1,3 @@
 AT+CMGS=53
-0011000A81800021436500080028017B00F30142007400610020017C0061006200610020017C00610072014200610020017C00750072
+0011000A8180002143650008C528017B00F30142007400610020017C0061006200610020017C00610072014200610020017C00750072
 Send succeeded with reference 1!
diff --git a/testsuite/out.30.emptysms b/testsuite/out.30.emptysms
index 3edc0e6..a0e9d21 100644
--- a/testsuite/out.30.emptysms
+++ b/testsuite/out.30.emptysms
@@ -1,3 +1,3 @@
 AT+CMGS=18
-00110014912143658709214365870900000000
+0011001491214365870921436587090000C400
 Send succeeded with reference 1!
diff --git a/testsuite/out.8.send161sms b/testsuite/out.8.send161sms
index 2e183e7..578d3f5 100644
--- a/testsuite/out.8.send161sms
+++ b/testsuite/out.8.send161sms
@@ -1,5 +1,5 @@
 AT+CMGS=153
-005100098121436587F9000000A0050003CE02010001C18050301C1009C582D1703C2011C98452B15C3019CD86D3F17C4021D18854329D5029D58AD572BD6031D98C56B3DD7039DD8ED7F3FD8041E19058341E9149E592D9743EA151E9945AB55EB159ED96DBF57EC161F1985C369FD169F59ADD76BFE171F99C5EB7DFF179FD9EDFF7FF378A0D6583DAA436AF0D6FD3DBF836C04DD9E572B95C
+005100098121436587F90000FFA0050003CE02010001C18050301C1009C582D1703C2011C98452B15C3019CD86D3F17C4021D18854329D5029D58AD572BD6031D98C56B3DD7039DD8ED7F3FD8041E19058341E9149E592D9743EA151E9945AB55EB159ED96DBF57EC161F1985C369FD169F59ADD76BFE171F99C5EB7DFF179FD9EDFF7FF378A0D6583DAA436AF0D6FD3DBF836C04DD9E572B95C
 AT+CMGS=27
-005100098121436587F90000000F050003CE02025CE6349B5D96CB01
+005100098121436587F90000FF0F050003CE02025CE6349B5D96CB01
 Message sent in 2 parts with reference numbers: 1 1
diff --git a/testsuite/test.16.imelody b/testsuite/test.16.imelody
index b504d59..473b17b 100644
--- a/testsuite/test.16.imelody
+++ b/testsuite/test.16.imelody
@@ -1,2 +1,2 @@
 # Testing imelody sending via SMS
-cat ../Docs/sample/ringtone/star.imelody | $GNOKII --sendsms 0604343103 -i
\ No newline at end of file
+cat ../Docs/sample/ringtone/star.imelody | $GNOKII --sendsms 0604343103 
--validity 750 --imelody
\ No newline at end of file
diff --git a/testsuite/test.18.emsanimation b/testsuite/test.18.emsanimation
index 08301a0..d937d6f 100644
--- a/testsuite/test.18.emsanimation
+++ b/testsuite/test.18.emsanimation
@@ -1,2 +1,2 @@
 # Send EMS animations
-echo "Test" | $GNOKII --sendsms 0604343103 --animation 
"data/anim1.xpm;data/anim2.xpm;data/anim3.xpm;data/anim4.xpm"
\ No newline at end of file
+echo "Test" | $GNOKII --sendsms 0604343103 --validity 1440 --animation 
"data/anim1.xpm;data/anim2.xpm;data/anim3.xpm;data/anim4.xpm"
\ No newline at end of file
diff --git a/testsuite/test.29.sendsms b/testsuite/test.29.sendsms
index cabe5dd..4e42cdc 100644
--- a/testsuite/test.29.sendsms
+++ b/testsuite/test.29.sendsms
@@ -1,2 +1,2 @@
 # Send SMS with all chars of GSM Alphabet in the order they appear in the 
standard and add chars to fill 1 SMS (the following line is UTF-8). 160 chars
-echo -e "@£\x24¥èéùìòÇ\nØø\rÅåΔ_ΦΓΛΩΠ
ΨΣΘΞ\xc2\xa0ÆæßÉ 
\x21\x22#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüÃ
 \x0c^{}\\[~]|€......filler" | $GNOKII --sendsms 123456789
+echo -e "@£\x24¥èéùìòÇ\nØø\rÅåΔ_ΦΓΛΩΠ
ΨΣΘΞ\xc2\xa0ÆæßÉ 
\x21\x22#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüÃ
 \x0c^{}\\[~]|€......filler" | $GNOKII --sendsms 123456789 --validity 2880
diff --git a/testsuite/test.3.ucs2sms b/testsuite/test.3.ucs2sms
index 8893bb1..f0822b3 100644
--- a/testsuite/test.3.ucs2sms
+++ b/testsuite/test.3.ucs2sms
@@ -1 +1 @@
-echo "Żółta żaba żarła żur" | $GNOKII --sendsms 0800123456
\ No newline at end of file
+echo "Żółta żaba żarła żur" | $GNOKII --sendsms 0800123456 --validity 
50400
\ No newline at end of file
diff --git a/testsuite/test.30.emptysms b/testsuite/test.30.emptysms
index 959d2c2..4173c5c 100644
--- a/testsuite/test.30.emptysms
+++ b/testsuite/test.30.emptysms
@@ -1,2 +1,2 @@
 # Empty SMS allowed on purpose since commit 
8c4f263c6c8b99d042231caf3006b95d54128a99 send to longest allowed number
-echo | $GNOKII --sendsms +12345678901234567890
+echo | $GNOKII --sendsms +12345678901234567890 --validity 43200
diff --git a/testsuite/test.33.send140sms8bit b/testsuite/test.33.send140sms8bit
index aadee85..9cc33ca 100644
--- a/testsuite/test.33.send140sms8bit
+++ b/testsuite/test.33.send140sms8bit
@@ -1,2 +1,2 @@
 # Send exactly 140 8-bit chars with 1 SMS
-$GNOKII --sendsms 0 --8bit <8bit-140.bin
+$GNOKII --sendsms 0 --validity 5 --8bit <8bit-140.bin
diff --git a/testsuite/test.34.send141sms8bit b/testsuite/test.34.send141sms8bit
index 7c96251..6e2c302 100644
--- a/testsuite/test.34.send141sms8bit
+++ b/testsuite/test.34.send141sms8bit
@@ -1,2 +1,2 @@
 # Send exactly 141 8-bit chars with 2 SMS
-$GNOKII --sendsms 0 --8bit <8bit-141.bin
+$GNOKII --sendsms 0 --validity 5 --8bit <8bit-141.bin
diff --git a/testsuite/test.8.send161sms b/testsuite/test.8.send161sms
index 958880c..2a196e1 100644
--- a/testsuite/test.8.send161sms
+++ b/testsuite/test.8.send161sms
@@ -1,2 +1,2 @@
 # Send a 2-parts multipart SMS with all chars of GSM Alphabet in the order 
they appear in the standard and fill up to 161 septets (the following line is 
UTF-8)
-echo -e "@£\x24¥èéùìòÇ\nØø\rÅåΔ_ΦΓΛΩΠ
ΨΣΘΞ\xc2\xa0ÆæßÉ 
\x21\x22#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüÃ
 \x0c^{}\\[~]|€......fillerr" | $GNOKII --sendsms 123456789
+echo -e "@£\x24¥èéùìòÇ\nØø\rÅåΔ_ΦΓΛΩΠ
ΨΣΘΞ\xc2\xa0ÆæßÉ 
\x21\x22#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüÃ
 \x0c^{}\\[~]|€......fillerr" | $GNOKII --sendsms 123456789 --validity 635040

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                        |    2 ++
 common/phones/fake.c             |    2 +-
 testsuite/out.1.sms              |    2 +-
 testsuite/out.10.oplogo          |    2 +-
 testsuite/out.11.ringtone        |    2 +-
 testsuite/out.13.emspicture      |    2 +-
 testsuite/out.14.oplogo-xpm      |    2 +-
 testsuite/out.15.emspicture2     |    2 +-
 testsuite/out.16.imelody         |    2 +-
 testsuite/out.18.emsanimation    |    2 +-
 testsuite/out.29.sendsms         |    2 +-
 testsuite/out.3.ucs2sms          |    2 +-
 testsuite/out.30.emptysms        |    2 +-
 testsuite/out.8.send161sms       |    4 ++--
 testsuite/test.16.imelody        |    2 +-
 testsuite/test.18.emsanimation   |    2 +-
 testsuite/test.29.sendsms        |    2 +-
 testsuite/test.3.ucs2sms         |    2 +-
 testsuite/test.30.emptysms       |    2 +-
 testsuite/test.33.send140sms8bit |    2 +-
 testsuite/test.34.send141sms8bit |    2 +-
 testsuite/test.8.send161sms      |    2 +-
 22 files changed, 24 insertions(+), 22 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]