Guillaume DOTT
6767b99b4a
Add TODO note for UDH and SMS longer than 140 octets
2013-10-08 15:02:46 +02:00
Guillaume DOTT
926d7ec544
Add count on repeat when at least one occurence is required
2013-10-03 11:14:28 +02:00
Guillaume DOTT
3656fd6d82
Allow for an id or an enumerable for Biju::Hayes#delete
2013-10-03 11:11:21 +02:00
Guillaume DOTT
77105b180a
Ignore PDU message lines in response when sending SMS
...
Tested with TP-LINK MA180.
It returns the PDU message when sending a message with a length greater
than 56 (i don't really know why for now). These lines are ignored and
only the last one with the status is parsed.
2013-10-03 11:07:45 +02:00
Guillaume DOTT
9475bdfb5c
Flush serialport output before every AT command
2013-10-03 11:05:35 +02:00
Guillaume DOTT
a3a9c43d8b
Clean Biju::PDU.decode method
2013-10-01 15:08:29 +02: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
001cbacfca
Do not use ATZ command on initialization
...
ATZ can reset settings like SMSC number on some 3G keys.
2013-10-01 14:54:41 +02:00
Guillaume DOTT
be53921802
Modify README and add comments for some cryptic methods
2013-09-12 10:37:50 +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
aabb2027b0
Add timeout to raise exception when Modem#wait is stuck
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
2f4f1f81f3
Modify Hayes#messages to always return an array
2013-09-12 10:37:13 +02:00
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
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
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
45de11cb3b
Add tests for GSM7Bit
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
4ca3d259c1
Remove useless file
2013-09-12 10:37:11 +02:00
Guillaume DOTT
75509ac23a
Add tests using Rspec
2013-09-12 10:37:11 +02:00
Guillaume DOTT
34224a072c
Add swap files to gitignore
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
Rodrigo Pinto
898d8d73a9
Merge pull request #1 from kmmndr/master
...
added more methods
2012-08-21 14:24:54 -07:00
Tomtom
c8bd2145c8
added readme example for sending message
2012-06-21 23:09:20 +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