35 Commits

Author SHA1 Message Date
Guillaume DOTT
ff6dc617dc Remove support for string datetime in SMS 2013-09-12 10:37:13 +02:00
Guillaume DOTT
f4218e1025 Add timestamp class to convert from PDU format to DateTime 2013-09-12 10:37:13 +02:00
Guillaume DOTT
f049777a00 Remove mutation of argument string 2013-09-12 10:37:13 +02:00
Guillaume DOTT
e790ac07c4 Raise a CmsError or CmeError when AT responds with error 2013-09-12 10:37:13 +02:00
Guillaume DOTT
276f0b0093 Improve Hayes#send to check for prompt and wait for answer 2013-09-12 10:37:13 +02:00
Guillaume DOTT
ea3106cfc2 Add minimum length for Modem#wait 2013-09-12 10:37:12 +02:00
Guillaume DOTT
2de794042d Move GSM7Bit and UCS2 into Biju::PDU::Encoding submodule 2013-09-12 10:37:12 +02:00
Guillaume DOTT
1c3521586a Move PDU fields methods into their own classes 2013-09-12 10:37:12 +02:00
Guillaume DOTT
dbd2f09ec2 Return length in encode method for gsm7bit and ucs2 2013-09-12 10:37:12 +02:00
Guillaume DOTT
885ac26cd1 Accept prompt in parser 2013-09-12 10:37:12 +02:00
Guillaume DOTT
3c677b7d29 Disable text mode and generate Sms objects in PDU mode
Text mode is only useful for debug purposes.
To parse answers, PDU mode is required (multiline messages, ...).
2013-09-12 10:37:12 +02:00
Guillaume DOTT
b4f49569bb Add +CMGF? support and text_mode? method 2013-09-12 10:37:12 +02:00
Guillaume DOTT
c0a3fe8ef0 Add request before response in parser 2013-09-12 10:37:12 +02:00
Guillaume DOTT
955654365a Add UCS-2 encoding / decoding for SMS user data 2013-09-12 10:37:12 +02:00
Guillaume DOTT
cf655b2b3c Add length parameter to GSM7Bit decode 2013-09-12 10:37:12 +02:00
Guillaume DOTT
84fbedc46b Modify parser for PDU mode 2013-09-12 10:37:12 +02:00
Guillaume DOTT
1446be3c14 Remove useless self from to_hayes methods 2013-09-12 10:37:12 +02:00
Guillaume DOTT
be87792382 Add timezone to DateTime format 2013-09-12 10:37:12 +02:00
Guillaume DOTT
548e5cd4cd Use Forwardable in Biju::Modem 2013-09-12 10:37:11 +02:00
Guillaume DOTT
a001604ee7 Add PDU mode support and GSM 7Bit encoding / decoding 2013-09-12 10:37:11 +02:00
Guillaume DOTT
67571dd12e Move AT commands in Hayes class and use Modem to send to SerialPort 2013-09-12 10:37:11 +02:00
Guillaume DOTT
b1568bbf24 Add to_hayes method to some basic classes 2013-09-12 10:37:11 +02:00
Guillaume DOTT
404f7d8290 Use DateTime object for date in Sms class 2013-09-12 10:37:11 +02:00
Guillaume DOTT
dcbafff75b Add AT parser 2013-09-12 10:37:11 +02:00
Thomas Kienlen
b17822b4eb at regex 2013-09-12 10:37:11 +02:00
Thomas Kienlen
c087eb3973 hayes begins 2013-09-12 10:37:11 +02:00
Tomtom
e3fc62c7dd receive command select all message (sim+mem) 2012-06-21 23:03:22 +02:00
Tomtom
154646323b added send command 2012-06-20 23:08:43 +02:00
Rodrigo Pinto
c72bdaa942 bump version 2012-06-06 16:03:38 -03:00
Rodrigo Pinto
c5750f264a Add method delete to Modem class 2012-05-29 16:15:12 -03:00
Rodrigo Pinto
997b4993e5 Add better comments 2012-05-29 16:12:40 -03:00
Rodrigo Pinto
1d4ce23ddb Start to doc modem class and put connectio method to private 2012-05-18 17:35:45 -03:00
Rodrigo Pinto
209df5b5fb Add class Modem. [meaculpa] it is missing test for a while, fix it soon 2012-05-18 14:19:28 -03:00
Rodrigo Pinto
693613dfae Add Sms class and respective spec 2012-05-17 21:38:41 -03:00
Rodrigo Pinto
e0c5555cf1 Initial commit. 2012-05-16 18:33:34 -03:00