Commit Graph

464 Commits

Author SHA1 Message Date
43239612b3 Translated one more string into French 2010-08-01 18:28:10 +00:00
65f998b8d4 Encrypting against a SHA1 hash and with a different secret per number 2010-08-01 16:57:22 +00:00
0844eec350 Automatically reconnecting to the Panel 2010-08-01 16:01:49 +00:00
6a7df43a97 Allow plug-ins to prevent sending a message 2010-08-01 15:34:48 +00:00
e9e7e1131e Events when sending and receiving messages now carry the phone number too 2010-08-01 13:18:48 +00:00
519d3f78db Implemented contact deletion 2010-07-24 17:02:11 +00:00
9642f83d85 Forcing a refresh after altering contacts 2010-07-24 14:36:34 +00:00
9224ebc6c7 Hopefully fixed contact modification 2010-07-24 14:31:54 +00:00
351142fa5a Completed the "EXT ERROR" list 2010-07-24 14:17:47 +00:00
3bdaf493f5 Also recognize "+EXT ERROR" as errors 2010-07-24 14:08:56 +00:00
d7753fce0e Added two important comments 2010-07-24 13:51:28 +00:00
d01f9a2339 Hopefully fixed contacts creation and modification 2010-07-24 13:50:15 +00:00
dad769c5cb Minor adjustments to contact management 2010-07-24 13:27:39 +00:00
071da7f0a3 Should now be able to create and edit contacts (not refreshed yet) 2010-07-24 13:18:39 +00:00
5430786e80 The panel applet is now implemented as a plug-in 2010-07-24 01:41:12 +00:00
0a30eb39bb Re-generated Makefiles 2010-07-04 14:12:05 +00:00
f9b1576635 Avoid a warning during compilation 2010-07-04 11:38:13 +00:00
58aca1a34d Entries from both GtkTreeView no longer can be selected 2010-06-13 22:08:37 +00:00
ccd3a81797 Added a fullscreen button 2010-06-13 21:55:19 +00:00
ab9b1f1a0e Apparently both C1 and C2 may be negative 2010-06-13 21:22:01 +00:00
56e89927d1 Implemented CBA and CBQ 2010-06-13 21:15:55 +00:00
a163e158e8 Also listing the Routing Area Code 2010-06-13 20:36:27 +00:00
db3bc9de9d Use the native scrolling facilities of both GtkTreeView widgets 2010-06-13 20:26:49 +00:00
b1875dce63 Remove entries when no longer relevant 2010-06-13 16:14:48 +00:00
020c9731fb Automatically guess the adequate trigger when registered through a plug-in 2010-06-13 16:05:43 +00:00
fad8aa3c2a Prevent deep sleep on the Openmoko 2010-06-12 21:07:42 +00:00
308e31596d Catching more unsollicited registration events 2010-06-12 16:37:35 +00:00
9d651efa3b Worked some more on the engineering mode 2010-06-12 14:52:41 +00:00
a618c5aa99 Added a button to start and pause gathering informations 2010-06-12 09:43:40 +00:00
01cf86622f The command actually implemented really is "AT%EM=2,3" 2010-06-12 01:34:15 +00:00
752f0b82a8 Began to implement engineering mode on the Openmoko Freerunner 2010-06-12 01:22:40 +00:00
17d51d7d8a Was attempting to delete the same message twice 2010-06-05 10:58:17 +00:00
5ae625c4d9 Remove the message from the list when deleted 2010-06-05 10:51:40 +00:00
df16ab82c2 Choosing different icons for the different windows 2010-06-05 10:18:55 +00:00
a5dcb137d7 The month was always one too far in time in incoming messages 2010-06-05 09:55:45 +00:00
0d0bacaafb Correctly formatting the phone number within incoming messages 2010-06-05 09:47:19 +00:00
5c655fe692 Asking for confirmation before deleting a message (untested) 2010-06-05 09:16:13 +00:00
b029f690c7 Implemented message deletion (untested, should ask for confirmation) 2010-06-04 22:50:38 +00:00
77292584de Added a "Reply" and a "Delete" button to the message viewing window (not implemented) 2010-06-04 21:16:46 +00:00
7f9119e06e Code cleanup 2010-06-03 19:00:59 +00:00
d921529f79 Fixed uninitialized class member 2010-06-03 17:19:57 +00:00
47fab3c4d5 Updated a comment 2010-06-03 17:18:56 +00:00
3bc00a493f Only convert from ISO-8859-1 when relevant (fixes corruption and more) 2010-06-03 17:18:26 +00:00
440937ef71 Really terminate the phone number string in incoming messages 2010-06-03 16:01:19 +00:00
226b07c6be Code cleanup 2010-06-03 15:35:59 +00:00
171c81f323 Code cleanup 2010-06-03 14:53:13 +00:00
0d138dcc3b Report incoming messages (enabled unsollicited mode) 2010-06-03 14:41:07 +00:00
90c6e5c1d3 The first byte of an incoming data PDU was sometimes erroneously ignored 2010-06-03 13:22:29 +00:00
ecd286b522 Return the actual length of the PDU decoded 2010-06-03 13:13:28 +00:00
24bd4936a8 Terminate the string containing incoming raw data 2010-06-03 03:17:06 +00:00
7d6a5f841b The encoding of incoming messages was always set to UTF-8 2010-06-03 03:09:28 +00:00
055f7b6598 Fixed sending messages on the Openmoko Freerunner with the latest GSM firmware 2010-06-03 02:47:26 +00:00
b49fea57ac Allow sending PDUs more than 99 bytes long 2010-06-03 02:21:38 +00:00
b483b5c98f Added a quirk for the Openmoko Freerunner (not implemented yet) 2010-06-03 02:17:52 +00:00
46523cace4 First proof-of-concept implementation 2010-06-03 01:22:27 +00:00
638dbbf2d4 Added a quirk for revision moko11 of the GTA01/GTA02 modem firmware 2010-06-02 14:12:45 +00:00
d95ff31472 No longer track registration when known to be registered 2010-06-02 10:44:59 +00:00
37cfa0d3fb Probably more accurate when parsing messages in PDU mode 2010-06-02 01:44:03 +00:00
fbecdf8628 Now able to report the encoding of an incoming message 2010-06-01 23:46:49 +00:00
5988a39a43 Sending messages in 8 bit mode works too 2010-06-01 23:25:13 +00:00
86444c0d7a Finally introducing the encryption plug-in (*not* functional yet) 2010-06-01 19:47:47 +00:00
88f8e3af77 The debugging window is looking nicer 2010-05-30 22:53:33 +00:00
86c8b07044 Enforce 7 bit characters when converting to GSM's default alphabet 2010-05-30 16:28:21 +00:00
4d7e27abfb Converting outgoing messages to the GSM alphabet (untested) 2010-05-30 14:29:36 +00:00
6cd295c97d Added an important comment 2010-05-28 00:31:07 +00:00
fbc0cc442f No longer erroneously add empty lines to the messages list 2010-05-28 00:30:45 +00:00
da647ef936 Actually parse the number upon incoming SMS messages in PDU mode 2010-05-28 00:00:36 +00:00
18b77c94f1 Avoid another compilation warning 2010-05-27 17:10:08 +00:00
f5d155d584 Avoid another compilation warning 2010-05-27 17:09:31 +00:00
6068715b80 Avoid some compilation warnings 2010-05-27 17:06:51 +00:00
05f862be3f Identified a bug when previewing messages 2010-05-27 17:00:40 +00:00
9269981986 Trying to fix message reception in PDU mode 2010-05-27 16:50:59 +00:00
7b3218e6de More verbose debugging information 2010-05-27 16:50:10 +00:00
af6a5ef514 Allow commands to carry user-defined data 2010-05-27 16:49:45 +00:00
b83ab8c414 Hopefully fixed reading messages in PDU mode (the phone number is still wrong) 2010-05-27 16:26:19 +00:00
05d13c3fa6 Added phone-settings 2010-05-27 16:06:42 +00:00
323fa29bd8 Found potential issues when calling 2010-05-27 15:25:58 +00:00
e12b62eb11 Fix a crash when reading messages 2010-05-27 15:17:06 +00:00
caf69fd430 Hopefully implemented the timestamp when parsing incoming messages in PDU mode 2010-05-27 15:02:59 +00:00
2954744378 Trying to fix SMS reception 2010-05-27 14:24:48 +00:00
28450b9b13 Probably fixed a crash when calling the author of a message 2010-05-27 13:38:24 +00:00
f70964a59a Trying to support PDU mode while receiving SMS messages (untested) 2010-05-27 11:58:12 +00:00
74d63f15ef Report when unable to execute alsactl 2010-05-27 08:12:13 +00:00
c59883e62a Started the user interface for profile management 2010-05-24 10:03:38 +00:00
70a74f528e Initial release 2010-05-22 18:07:19 +00:00
c6ae773883 Allowed plugins to register configuration panes 2010-05-22 17:59:32 +00:00
87bc7857d5 Added preliminary code to handle the different preferences dialogs 2010-05-21 19:28:53 +00:00
a46f6f973c Probably fixed the crash when sending messages 2010-05-21 17:56:39 +00:00
b215051928 Seems to be ringing (apparently multiple samples at once though) 2010-05-21 10:42:01 +00:00
058621c2b2 Avoid errors while handling call waiting control 2010-05-21 09:32:42 +00:00
5b40259bdf Differentiating receiving/sending a message from when it's received/sent 2010-05-21 09:07:01 +00:00
d60cf7296b Working on acceptance of incoming calls 2010-05-21 02:06:42 +00:00
507bc7a230 Added an important comment 2010-05-20 21:52:35 +00:00
dab93f9183 Keep ringing and vibrating upon incoming calls 2010-05-20 18:15:45 +00:00
3ef321b2d1 Issue a "Call terminated" event every time the call window is forcibly closed 2010-05-20 17:50:24 +00:00
06f305036a First attempt at implementing the vibrator on the Openmoko Freerunner 2010-05-20 17:37:17 +00:00
bd496ec387 Trying to implement speaker mode on the Openmoko Freerunner 2010-05-20 17:25:32 +00:00
01d2e6b76a Added a check whether the modem is alive (simply issuing "AT") 2010-05-20 17:04:11 +00:00
10b45a2014 Enabled echo cancellation on the Openmoko Freerunner (and fixing the audio) 2010-05-20 17:00:10 +00:00
630568968e Allow plug-ins to queue commands 2010-05-20 16:54:50 +00:00
5e2afcbe08 No longer crash upon incoming calls when triggering the vibrator event 2010-05-20 16:51:53 +00:00
37e998a978 Allow plug-ins to trigger events as well 2010-05-20 11:50:09 +00:00
dd49410d4e Probable fix for the CLIP trigger 2010-05-19 12:31:30 +00:00
795134ce1c Enabling call waiting fixes incoming calls on the Openmoko Freerunner 2010-05-19 12:25:46 +00:00
8a729628c8 Use our own application name instead 2010-05-19 11:33:23 +00:00
b50b91d9b8 Request extended call presentation, ring reports and service notifications once ready 2010-05-18 21:41:14 +00:00
b257de302c gsm.c no longer depends on phone.h 2010-05-18 21:40:20 +00:00
cdd5518525 The profiles plug-in is in charge of ringing, vibrating, etc 2010-05-17 14:04:36 +00:00
5122bb6248 Added debugging code for plug-in management 2010-05-17 14:01:13 +00:00
239d4e85ad Attempt another automatic search for an operator when denied 2010-05-17 12:53:19 +00:00
6ab7a41c29 No longer require phone plugins to include <glib.h> themselves 2010-05-17 00:31:07 +00:00
9c2a188eb2 Now able to load plugins in debugging mode 2010-05-16 23:49:57 +00:00
796abf8f98 Implemented calling the sender of a message being read (untested) 2010-05-16 23:39:07 +00:00
d43ed8f0dd Implemented the call button in the messages view (untested) 2010-05-16 23:34:28 +00:00
d82723a1e7 Code cleanup 2010-05-15 14:02:08 +00:00
30c72bd1c1 Fixed issues while handling plug-ins 2010-05-14 16:23:50 +00:00
b1647c624d Added debugging information 2010-05-14 16:20:58 +00:00
091eff3665 Added events to the plug-in API 2010-05-14 16:15:45 +00:00
7195d95fa3 Sending an SMS may take up to a minute (should cancel otherwise) 2010-05-14 15:51:39 +00:00
a1864b7956 Setting up the mixer levels on call start/stop/etc (untested) 2010-05-14 13:44:56 +00:00
41f560524d Fixed device default to "/dev/modem" 2010-05-14 12:43:00 +00:00
2933d4cf55 Fixed run-time path 2010-05-14 12:42:16 +00:00
548df7fc5c Introduced a plug-in system 2010-05-12 15:40:39 +00:00
754a5dbb7f Device, hardware flow and retry come from the configuration file if not given 2010-05-12 14:44:57 +00:00
eb727c8b55 The project now depends on libSystem (for configuration files) 2010-05-12 14:27:46 +00:00
0ab9951439 Nicer preview of the message content 2010-05-12 12:06:18 +00:00
d64de55f2d Added another couple of CMS errors 2010-05-12 12:03:35 +00:00
cbf256f9dc Added CMS error 321 2010-05-12 11:59:20 +00:00
0a6e11eecc Longer timeout when calling (should fix some modems eg Openmoko Freerunner) 2010-05-12 11:38:56 +00:00
7a7d96158f AT+CHUP seems to work better than ATH in our case 2010-05-12 11:16:16 +00:00
65d40cac3a Probably fixed displaying the date when reading messages (untested) 2010-05-12 08:28:36 +00:00
d362a87362 Hopefully reporting the correct phone number when listing messages 2010-05-11 17:12:07 +00:00
9f1e2d9ca7 Display a minimal message when receiving messages 2010-05-11 17:03:14 +00:00
810ea309ad Actually send an event upon incoming messages 2010-05-11 16:59:07 +00:00
1620f6a144 The Openmoko Freerunner may be identified differently 2010-05-11 16:22:18 +00:00
cfb312d6cd There seemed to be a race condition 2010-05-11 15:39:21 +00:00
db0e2a5f89 Fixed a crash 2010-05-11 15:38:58 +00:00
77755a8b5f Code cleanup 2010-05-11 14:28:45 +00:00
8b8f76a2d2 Added a couple more debugging controls 2010-05-11 14:27:35 +00:00
6fa34aa104 Implemented the mute control over AT+CMUT (may not fit the hardware) 2010-05-11 14:12:02 +00:00
27799ec00f Now able to fetch the battery status 2010-05-11 13:44:09 +00:00
3931a523d3 Tighter check when checking for potential echo 2010-05-11 13:06:12 +00:00
8cac2bbdd7 Added the possibility to reset the modem at will 2010-05-11 12:40:26 +00:00
29cb9922da Now able to read messages 2010-05-11 12:05:34 +00:00
9ba6e09f06 Fetching messages in text mode for the moment 2010-05-11 10:31:10 +00:00
0bb228fe93 Fetching the messages in PDU mode (without any conversion yet) 2010-05-11 09:46:04 +00:00
9b4d92a322 The program can be terminated nicely from the debugging window 2010-05-10 22:40:25 +00:00
510ee0fff1 Partly implemented unsollicited and intermediate service notifications 2010-05-10 13:22:49 +00:00
efe1a37c46 Remove the timeout handler if a command was considered answered 2010-05-10 01:55:25 +00:00
9a8c41f8dc Now rejecting calls correctly 2010-05-10 01:39:08 +00:00
7fafe3261f Implemented full API access to +COLP and +CLIP 2010-05-10 01:32:42 +00:00
fe61ed7692 Hide the call window when a call is rejected (doesn't work when ringing yet) 2010-05-10 00:53:52 +00:00
afc4a38152 Can inject arbitrary AT commands in debugging mode 2010-05-09 23:47:31 +00:00
e3ae841bf0 Began to implement a debugging mode 2010-05-09 23:10:55 +00:00
d2b8972d76 Detect if a call was successfully accepted 2010-05-09 22:22:59 +00:00
efe5e8811e Detect if a call is ongoing 2010-05-09 22:18:42 +00:00
0f1244eb5f Fetching incoming messages as they are reported 2010-05-09 21:35:22 +00:00
a7aca56b5b Minor optimization in the contact handling event trigger 2010-05-09 18:39:21 +00:00
b9197def55 Implemented call presentation (partly tested) 2010-05-09 18:34:24 +00:00
7568bb814e Detecting when phone calls terminate 2010-05-09 17:58:23 +00:00
2666b2fa59 Implementing phone calls (untested) 2010-05-09 16:06:43 +00:00
44a150ecec Implementing phone calls (untested) 2010-05-09 15:41:36 +00:00
1e1d8fbd34 Began to implement the user interface for phone calls 2010-05-09 15:35:56 +00:00
32ba10e4a0 Clarified the use of GSM_PRIORITY_HIGHEST 2010-05-09 13:28:37 +00:00
f858e11a48 Modified the message composition window 2010-05-09 13:28:08 +00:00
8f95e37b9f Set an etched in shadow around scrolled windows 2010-05-09 12:54:53 +00:00
02bca3b11f Correct error messages when the baudrate cannot be set 2010-05-09 02:04:08 +00:00
1c9304df2b Always report an error upon +CME ERROR 2010-05-09 01:08:03 +00:00
983eb1c371 The CME ERROR code 100 is "Unknown error" 2010-05-08 14:42:27 +00:00
1e735470f5 Forgot to inject "\r\n" in the timeout handler 2010-05-08 14:29:46 +00:00
317954ec36 Also ensure that setting the operator worked 2010-05-08 13:31:32 +00:00
e3c993c66e Re-inject the current command on timeout and then ensure the operation worked 2010-05-08 13:03:58 +00:00
9372ef637e Removed useless variable 2010-05-08 03:13:16 +00:00
5fb92d3189 Obtaining the functionality status before really using the phone 2010-05-08 03:07:47 +00:00
35164ad8dc Send a noop command after 2 seconds of inactivity 2010-05-08 02:32:26 +00:00
e003ea830e Use the correct error code when parsing +CME and +CMS errors 2010-05-08 02:00:07 +00:00
f90494db0b Gave triggers the optional possibility to consider a command answered 2010-05-08 01:45:44 +00:00
df6c2f84c3 Hardened the management of callbacks 2010-05-08 01:31:43 +00:00
2dfa1e0cec Let the modem command generation be done in its own class too 2010-05-08 01:23:56 +00:00
f0e4d57e23 Let the GSMCommand class have its own file 2010-05-08 00:22:44 +00:00
0f84098442 Try to fallback on a corresponding trigger when unable to parse a line 2010-05-07 23:51:34 +00:00
bd3ffd8673 Added the new binaries 2010-05-07 18:32:40 +00:00
ccfa8c85bd Added an icon to the message list 2010-05-07 18:32:05 +00:00
d7824df63b Don't translate an empty string 2010-05-07 18:31:19 +00:00
bc082be52d The quirks really need be distinct bitwise 2010-05-07 17:54:00 +00:00
97c19df0bc Renamed the binaries to prevent conflicts and created desktop entries 2010-05-07 17:43:26 +00:00
fdfd85493c Added separate binaries to open the dialer, contacts and messages windows 2010-05-07 17:34:26 +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
9b7ef87fb6 Using a constant integer for the maximum number of characters (to be confirmed) 2010-05-07 12:28:25 +00:00
0c99914fc4 Added a character count while writing messages 2010-05-07 12:25:28 +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