Commit Graph

20 Commits (develop)

Author SHA1 Message Date
Guillaume DOTT e1e7be5d98 Add compatibility with ruby 1.9.3 2013-11-06 17:26:26 +01:00
Guillaume DOTT 4e8463e0dc Add class for PDU 'first octet' field 2013-10-01 15:04:19 +02:00
Guillaume DOTT a0757a9c69 Add generic rule for responses in parser 2013-10-01 15:01:27 +02:00
Guillaume DOTT 550a2b4d3d Add support for +CPIN? and use SIM status before entering PIN 2013-09-12 10:37:13 +02:00
Guillaume DOTT 7281b8f82d Add support for +CNUM to get SIM phone numbers 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 276f0b0093 Improve Hayes#send to check for prompt and wait for answer 2013-09-12 10:37:13 +02:00
Guillaume DOTT d1103a0772 Add spec for new PDU classes 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 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 955654365a Add UCS-2 encoding / decoding for SMS user data 2013-09-12 10:37:12 +02:00
Guillaume DOTT 45de11cb3b Add tests for GSM7Bit 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 be87792382 Add timezone to DateTime format 2013-09-12 10:37:12 +02:00
Guillaume DOTT 75509ac23a Add tests using Rspec 2013-09-12 10:37:11 +02: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