Commit Graph

134 Commits

Author SHA1 Message Date
0f84098442 Try to fallback on a corresponding trigger when unable to parse a line 2010-05-07 23:51:34 +00:00
bc082be52d The quirks really need be distinct bitwise 2010-05-07 17:54:00 +00:00
6169060acb Make sure to always set 8 bits communication with no parity 2010-05-07 13:07:53 +00:00
2e6ef2b6f2 Make sure flow control is disabled when not explicitly required 2010-05-07 12:59:54 +00:00
81ac501def This seems to allow the modem to work with -F even when not supporting it 2010-05-07 12:54:53 +00:00
dd6f561357 Revert the whole "suffix" story 2010-05-07 12:52:38 +00:00
4d5b33d259 Signal and operator reporting is now performed in a Panel applet 2010-05-07 00:40:51 +00:00
8e47df04cc Enable phone functionality only once the SIM card is ready 2010-05-02 02:56:42 +00:00
f57a3d7846 Can now sometimes determine voice calls among incoming calls 2010-05-02 02:09:11 +00:00
4204bd82f9 Enable the extended ring format by default 2010-05-02 02:01:42 +00:00
b59e76248b Also detect incoming calls in the extended format 2010-05-02 01:52:14 +00:00
17dacffd0b Added a function to answer calls 2010-05-02 01:48:19 +00:00
c972e1a914 Incoming calls are now reported as well 2010-05-02 01:43:11 +00:00
1de8062925 Ignore errors when setting the baudrate (sigh) 2010-05-02 01:28:24 +00:00
d0597d6cd1 Also set the modem to verbose mode once settled 2010-05-02 01:12:41 +00:00
6527392636 Allow a different suffix to be specified by command queued 2010-05-02 01:01:46 +00:00
8e8c887592 Reverted last changes 2010-05-02 00:46:39 +00:00
da50d43cae Have a global quirk about carriage returns instead 2010-05-01 20:22:10 +00:00
6f39850241 Added another quirk for the Openmoko Freerunner 2010-05-01 19:49:02 +00:00
3a2c08debb Fixed sending the SIM PIN on the Openmoko Freerunner 2010-05-01 19:12:03 +00:00
e19a39ef2e Now consider that just "\r" or "\n" are enough to break a line 2010-05-01 18:38:27 +00:00
44ca5038ed Also support answers to COPS with only 3 arguments 2010-05-01 17:32:07 +00:00
65bd9451f8 Always enable the phone functionality 2010-05-01 17:05:09 +00:00
1001b38564 The Openmoko Freerunner's model identification string has quotes 2010-05-01 16:28:21 +00:00
c9bb017597 Support the Openmoko Freerunner's differing syntax when entering the SIM PIN code 2010-05-01 16:19:24 +00:00
df5e598e0b Some code shouldn't have survived the latest debugging session 2010-05-01 15:49:29 +00:00
ba6d6b7f6a Let hardware flow be optional 2010-05-01 05:25:53 +00:00
02833219c9 There was probably a race condition when trying to settle with the modem 2010-05-01 03:30:53 +00:00
a48cbb2c4c On Linux realloc(0xg00d, 0) may return NULL without being an error 2010-05-01 03:04:29 +00:00
e2c3b06bda Was probably having two read watchers in some cases 2010-05-01 02:50:49 +00:00
bce582c623 Letting gsm.c be more robust 2010-05-01 02:22:57 +00:00
b6b619c1af Hopefully fixed the last issue with tracking the PIN code status 2010-04-30 16:08:11 +00:00
3cd62b7fab Another attempt at getting SIM PIN interaction right 2010-04-30 15:45:54 +00:00
68d3c2a338 Implemented progress bar while checking the PIN code (untested) 2010-04-30 15:30:29 +00:00
ca60e90bc6 Tracking correctly if messages are sent 2010-04-30 15:16:43 +00:00
02d871d159 Avoid a potential memory leak 2010-04-30 03:57:18 +00:00
f9b27fcd10 Trying to avoid insertion of commands while in PDU mode 2010-04-30 03:55:05 +00:00
4e99b47eab Avoid some warnings 2010-04-30 03:27:38 +00:00
529471d850 Print out errors coherently 2010-04-30 03:25:54 +00:00
db7c61e9b9 Successfully sending SMS messages 2010-04-30 02:11:46 +00:00
9dff3cb94e Almost able to send SMS messages by now 2010-04-29 16:09:15 +00:00
9faadcf143 Attempt to convert contacts' names to UTF-8 2010-04-28 23:11:23 +00:00
7059a15680 Really implemented the callback mechanism this time 2010-04-28 22:57:15 +00:00
8bd75384fb Avoid a compilation warning 2010-04-28 22:55:01 +00:00
c9cd795a14 Much better error handling (should also track when the SIM is ready) 2010-04-28 22:53:36 +00:00
db87372b65 Only set the operator format once registered 2010-04-28 22:24:22 +00:00
0bb685f962 Improved status handling a lot (should register automatically now) 2010-04-28 21:24:05 +00:00
efe3a0a347 Send an event when the PIN code is known to be accepted already 2010-04-28 19:55:49 +00:00
2ce576a7cf Added a button to call the contact selected (untested) 2010-04-28 00:46:00 +00:00
ab895ba9b1 Probably fix compilation on Linux 2010-04-28 00:12:57 +00:00
99a36e265e Using more enumerated types 2010-04-28 00:09:46 +00:00
09bd6c126c Using more enumerated types 2010-04-27 23:57:48 +00:00
278bccfebe Default to the long operator format 2010-04-27 23:55:35 +00:00
4b6b043ec0 Tracking which events are not handled 2010-04-27 22:31:32 +00:00
fd5b309a3d Trying to remove ambiguities from the API 2010-04-27 22:18:41 +00:00
6f980ceb95 Optimizing GSM event reports 2010-04-27 21:35:45 +00:00
5fd3dde778 Trigger the PIN check outside of the GSM class 2010-04-27 21:03:32 +00:00
8e3da2cf3a Been working on registration and operators 2010-04-27 20:16:19 +00:00
5bf508fcfe Fetching contacts (with an encoding issue remaining) 2010-04-27 17:54:04 +00:00
378fac58ef More convenient handling of answers from the modem 2010-04-27 16:45:26 +00:00
800aeae74e Support for entering the PIN code 2010-04-27 14:31:19 +00:00
c9e02876a5 Updating the signal quality every two seconds 2010-04-27 02:58:33 +00:00
c44f799513 Translating error messages 2010-04-27 02:22:11 +00:00
08eca73b50 Slightly improved error tracking 2010-04-27 02:15:14 +00:00
7d0537240e Implemented the first callbacks 2010-04-27 01:45:54 +00:00
55a3a124b7 Added a callback mechanism 2010-04-27 01:26:15 +00:00
c715d06b0d Trigger listing of the contacts at start 2010-04-27 00:52:14 +00:00
58635b0958 Added signal quality reporting 2010-04-26 16:38:11 +00:00
b3945a6224 An unknown baud rate is now just a warning 2010-04-26 14:30:15 +00:00
ffc05e027b Do not crash if the baudrate is wrong 2010-04-26 13:58:16 +00:00
a20ef55da8 Configure the I/O write watcher only if the channel is already established 2010-04-26 13:33:03 +00:00
9722df43ac Re-wrote GSM handling code to better match the modem's behavior 2010-04-26 05:27:12 +00:00
1511ef74af Settle faster with the modem 2010-04-25 22:05:16 +00:00
7da292807f Added a check for the PIN code (should wait for the answer of each command) 2010-04-25 03:20:48 +00:00
cf7e7de6b6 Added code to change the PIN code (untested) 2010-04-25 02:51:37 +00:00
860a1ce60b Added some code to understand CME errors (untested) 2010-04-25 02:42:44 +00:00
86f87a5a14 The GSM commands are now ignored until the modem is really ready 2010-04-25 02:15:12 +00:00
df32c01e90 Made the first phone calls 2010-04-24 18:39:58 +00:00
772ccd3187 Retry to open the modem even if the device node does not exist 2010-04-24 17:57:30 +00:00
94293478f8 Fixed infinite loop if the device doesn't exist (should still retry by default) 2010-04-24 17:51:29 +00:00
3cbf5a2ac7 Fixed compilation on Linux (missing <sys/stat.h>) 2010-04-24 15:33:59 +00:00
fbb0fda16b Finally opening the serial line correctly 2010-04-24 15:26:11 +00:00
0ab6f001ac Check the number before calling 2010-04-24 11:33:02 +00:00
87e6986f23 Initial release 2010-04-24 02:17:45 +00:00