maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] SMScon (control your device with SMS) (https://talk.maemo.org/showthread.php?t=60729)

nicholes 2012-01-24 11:13

Re: [Announce] SMScon (control your device with SMS)
 
#!/bin/sh
(cd /usr/share/applications/hildon && rm -rf Flobby.desktop)

can this script delete "Flobby.desktop" file? Or it delete all .desktop files located in hildon folder?

I want to delete only one.

yablacky 2012-01-24 12:29

Re: [Announce] SMScon (control your device with SMS)
 
it deletes Flobby.desktop. Should this be itslf a directory, all the files it contains are also deleted. To be on safe side, delete only if Flobby.desktop is a file, write: .... rm -f Flobby.desktop

nicholes 2012-01-24 13:03

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by yablacky (Post 1154892)
it deletes Flobby.desktop. Should this be itslf a directory, all the files it contains are also deleted. To be on safe side, delete only if Flobby.desktop is a file, write: .... rm -f Flobby.desktop

you mean it should look like this......

#!/bin/sh
(cd /usr/share/applications/hildon && rm -f Flobby.desktop)

yablacky 2012-01-24 19:09

Re: [Announce] SMScon (control your device with SMS)
 
yes; note that -f does not mean file; it means force. -r means recursive.

ziggadebo 2012-01-27 12:38

Re: [Announce] SMScon (control your device with SMS)
 
Firstly apologies, I am reading thorugh the thread (when I have time) and have tried google but am unsure of the answer.

My question is my network operator is 3 in the UK therefore I don't have a 2g connection. Can the email functionality send via 3G rather than try and connect to gprs?

Thanks in advance

yablacky 2012-01-27 19:26

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by ziggadebo (Post 1156505)
...
My question is my network operator is 3 in the UK therefore I don't have a 2g connection. Can the email functionality send via 3G rather than try and connect to gprs?
...

That should be no problem. smscon does not handle 2G and 3G connections differently. It you have internet connection et all it's no matter whether it is 3G or 2G. Some telecom networks support both and the phone is even switching between both types every now and then without affecting smscon operation.

Saturn 2012-02-06 19:52

Re: [Announce] SMScon (control your device with SMS)
 
The SMSCON Editor is missing two votes to become unlocked and allow us to promote both applications from Extra-Testing to Extras.

Those who have tested and found it fulfills the QA checklist please vote here:
http://maemo.org/packages/package_in...itor/0.9.12-1/

Thank you.

Edit: we got the votes, thank you again.

sixwheeledbeast 2012-02-07 18:58

Re: [Announce] SMScon (control your device with SMS)
 
Just updated from Extras.
SMSCON 0.9.16-1 and Editor SMSCON 0.9.12-1.
Thank you for all the work put into it.

I couple of things I noticed.

Is there a way to edit the alarm.wav file using the GUI?

How long does the alarm continue for?
I can't see a COM_ALARMOFF or can you COM_RESTART to stop it.

Also is it possible to make the GUI use the devices system font?

----

A lot has changed since 0.7 and it's all good.
The GUI is an huge improvement and well laid out.
The explanation adjacent each option helps a lot.
Thanks again.

yablacky 2012-02-08 08:04

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sixwheeledbeast (Post 1161811)
Is there a way to edit the alarm.wav file using the GUI?

Currently not. But it is a good idea. E.g. having some kind of function in the GUI that offers to select a sound file stored somewhere else on the phone and that will tell smscom to "import" that sound as alarm.wav file. Just an idea.

Quote:

Originally Posted by sixwheeledbeast (Post 1161811)
How long does the alarm continue for?
I can't see a COM_ALARMOFF or can you COM_RESTART to stop it.

Alarm duration depends on alarm.wav content. There is no command to abort playing (even COM_RESTART doesn't). I recommend to keep the alarm file reasonably short timed.

Quote:

Originally Posted by sixwheeledbeast (Post 1161811)
Also is it possible to make the GUI use the devices system font?

Probably Saturn has an answer to that question.

sixwheeledbeast 2012-02-09 17:35

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by yablacky (Post 1161995)
Currently not. But it is a good idea. E.g. having some kind of function in the GUI that offers to select a sound file stored somewhere else on the phone and that will tell smscom to "import" that sound as alarm.wav file. Just an idea.

Exactly what I was thinking.

Quote:

Originally Posted by yablacky (Post 1161995)
Alarm duration depends on alarm.wav content. There is no command to abort playing (even COM_RESTART doesn't). I recommend to keep the alarm file reasonably short timed.

Would it be a good idea to put a default alarm sound into SMSCON?

santosh 2012-02-09 18:15

Re: [Announce] SMScon (control your device with SMS)
 
Dear All,
I updated smscon and smscon-editor yesterday, but I noticed that it does not accepting my SIM IMSI. Even there is no SIM changed, it smses to my master number whenever I open or close my phone's keyboard. I reset and reconfigured the settings but, problem is still there.
Is it a bug of the new update or it is not working with my SIM?

yablacky 2012-02-09 18:36

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sixwheeledbeast (Post 1162748)
...
Would it be a good idea to put a default alarm sound into SMSCON?

Yes :) and there should already be one. It is installed only if there is no (user supplied) alarm.wav file already.

yablacky 2012-02-09 18:55

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by santosh (Post 1162759)
Dear All,
I updated smscon and smscon-editor yesterday, but I noticed that it does not accepting my SIM IMSI. Even there is no SIM changed, it smses to my master number whenever I open or close my phone's keyboard. I reset and reconfigured the settings but, problem is still there.
Is it a bug of the new update or it is not working with my SIM?

Detecting and sending keyboard movements does not depend on SIM-change detection (we have discussed this earlier and will change this issue to a more suitable behavior). I'm quite sure that your SIM is accepted.

Could you please open Xterm and enter this command:
Code:

smscon -get KEYBOARDDETECT default
The response should be one of "no", "yes" or "default". If it is "yes" enter
Code:

smscon -set KEYBOARDDETECT no
followed by another "-get" to check the change. It it does not work, post the responses here.

(to prevent side effects do not have smscon-editor open while operate smscon on the command line).

sixwheeledbeast 2012-02-09 20:03

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by yablacky (Post 1162768)
Yes :) and there should already be one. It is installed only if there is no (user supplied) alarm.wav file already.

Cool. Will test that out.

Quote:

Originally Posted by yablacky (Post 1162775)
to prevent side effects do not have smscon-editor open while operate smscon on the command line

I didn't think about that. Is it mentioned in the wiki?
Could be added to the splash screen?

yablacky 2012-02-09 20:59

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sixwheeledbeast (Post 1162802)
...
I didn't think about that. Is it mentioned in the wiki?
Could be added to the splash screen?

I thinks its enough to have the info in the wiki. Have just added it. Thanks for the hint.

sixwheeledbeast 2012-02-09 21:37

Re: [Announce] SMScon (control your device with SMS)
 
No problem.

Idea :)
Could a command be added so when triggered a screen is displayed showing owner information and contact details of where to return the device.

Going to do some research and get COM_CUSTOM to do something like this.

Would make the thief want to return the phone, if your details came on the screen; every 15 minutes or every command for example.

nicholes 2012-02-10 06:10

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by santosh (Post 1162759)
Dear All,
I updated smscon and smscon-editor yesterday, but I noticed that it does not accepting my SIM IMSI. Even there is no SIM changed, it smses to my master number whenever I open or close my phone's keyboard. I reset and reconfigured the settings but, problem is still there.
Is it a bug of the new update or it is not working with my SIM?

same here! I am using older smscom (0.7.2) just because this smses without changing the sim
my older smscon doesn't behave like this.but the devlopers says your sim is recognized by the newer smscon.here i don't understand why smscon should send smses when keyboard status changed without changing the sim.

They say change the settings to "NO" for keyborad.but i want smscon to send smses when keyborad is opened or closed (by the theif NOT by me) so that i could snap thief photo by sending sms "camera"
therefore i want smscon to send sms whenever (ONLY) thief open keyborad(NOT ME). But newer smscon sends smses without changing the SIM!this is not a good function for me at least.

yablacky 2012-02-10 08:34

Re: [Announce] SMScon (control your device with SMS)
 
I reviewed the code now and yes, there was a change I'm not being aware so far:

In versions before 0.9 the keyboard detection was not armed immediately at start of smscon operation. Additionally to KEYBOARDDETECT set to "yes" there was a 2nd condition. But this 2nd condition was not related to SIM card change detection in any way. It simply and only was the receiving of a known smscon command via sms or via remote command server.

BTW, same holds for automatic battery status reports (AUTOBATREPORT setting).

IMHO neither version handles keyboard detection in a really useful way. Albeit versions before 0.9 are less bothering, indeed, it's not due to thief detection (aka SIM card change) as some may think.

Sorry for the inconvenience - we'll work on it to make it better!

sixwheeledbeast 2012-03-18 00:09

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sixwheeledbeast (Post 1162845)
Could a command be added so when triggered a screen is displayed showing owner information and contact details of where to return the device.

Going to do some research and get COM_CUSTOM to do something like this.

I have been testing different ways to do this.

Firstly I created a 25 sec .avi file from .png stills.
Using this thread, I replaced the Nokia hands for my custom message.
This method means if the device is locked and shutdown on boot up the .avi will be displayed containing contact information.

Also I have got COM_CUSTOM to display an information message with a command.
By editing /opt/smscom/smscon_script with:-
Code:

#!/bin/sh

#smscon script (v0.7-2)
#sixwheeledbeast - Owner Information Dialog

run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:"
WARNING!!!

This device contains a GPS Tracker that can be enabled remotely.

Replacing the SIM Card from this device will cause it lock and become unuseable.

Authorised SIM Card (IMSI) numbers will be send to a remote location and reported to the police.
" uint32:0 string:"OK"

wait 60

run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:"
If this device is lost/stolen please return it to the address located under the battery cover.

Thank you.
" uint32:0 string:"OK"

I called the command "Owner".
So two Hildon Dialogs appear when I send my prefix followed by "Owner".



Couple of questions...

On completion of the script SMSCON replies 4 times to the master number. Also test functions report twice to the master.
Are these suppose to happen? Seems a bit excessive when one is enough.

When I send a command from the master number to SMSCON, it warns me that the number wasn't the master number due to it not having the international prefix.

E.G. +447822xxxxxx instead of 07822xxxxxx

This happens even though the conversation app shows the message in national/local format.
I guess the only way to solve this is to store the master number in international format?

nicholes 2012-03-18 02:59

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sixwheeledbeast (Post 1180851)
I have been testing different ways to do this.

Firstly I created a 25 sec .avi file from .png stills.
Using this thread, I replaced the Nokia hands for my custom message.
This method means if the device is locked and shutdown on boot up the .avi will be displayed containing contact information.

Also I have got COM_CUSTOM to display an information message with a command.
By editing /opt/smscom/smscon_script with:-
Code:

#!/bin/sh

#smscon script (v0.7-2)
#sixwheeledbeast - Owner Information Dialog

run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:"
WARNING!!!

This device contains a GPS Tracker that can be enabled remotely.

Replacing the SIM Card from this device will cause it lock and become unuseable.

Authorised SIM Card (IMSI) numbers will be send to a remote location and reported to the police.
" uint32:0 string:"OK"

wait 60

run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:"
If this device is lost/stolen please return it to the address located under the battery cover.

Thank you.
" uint32:0 string:"OK"

I called the command "Owner".
So two Hildon Dialogs appear when I send my prefix followed by "Owner".



Couple of questions...

On completion of the script SMSCON replies 4 times to the master number. Also test functions report twice to the master.
Are these suppose to happen? Seems a bit excessive when one is enough.

When I send a command from the master number to SMSCON, it warns me that the number wasn't the master number due to it not having the international prefix.

E.G. +447822xxxxxx instead of 07822xxxxxx

This happens even though the conversation app shows the message in national/local format.
I guess the only way to solve this is to store the master number in international format?


i was also depressed by those useless sms. i report them many times here in thread but could not get any solution. so revert back to old smscon 0.7.2 and now i am waiting for new update which wont send sms unnecessarily. ( in my case smscon used to send sms without changing the SIM !!! )
regarding your technical question i am not a developer so sorry

sixwheeledbeast 2012-03-18 10:11

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by nicholes (Post 1180883)
i was also depressed by those useless sms. i report them many times here in thread but could not get any solution. so revert back to old smscon 0.7.2 and now i am waiting for new update which wont send sms unnecessarily. ( in my case smscon used to send sms without changing the SIM !!! )
regarding your technical question i am not a developer so sorry

I don't use the keyboard slider option, so it's not a problem for me.
I assumed the slider/battery messages were only sent if the reply function was enabled.
The latest version never sends messages without being provoked. Althought, when you do send a command you will get multiple of the same message which is annoying.

There isn't really a stolen mode on any version but the older version makes it seem like there is. I think the current version works great forwhat I want.

As for the international prefix problem, read the SMSCON wiki again. It advises you to store the number as SMSCON reads it. So send a "Check" and copy the last sender in.

nicholes 2012-03-18 10:19

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sixwheeledbeast (Post 1180979)
I don't use the keyboard slider option, so it's not a problem for me.
I assumed the slider/battery messages were only sent if the reply function was enabled.
The latest version never sends messages without being provoked. Althought, when you do send a command you will get multiple of the same message which is annoying.

There isn't really a stolen mode on any version but the older version makes it seem like there is. I think the current version works great forwhat I want.

As for the international prefix problem, read the SMSCON wiki again. It advises you to store the number as SMSCON reads it. So send a "Check" and copy the last sender in.

you are right. it sends only when the slider/battery messages were only sent if the reply function was enabled.

but i want smscon to sends sms each time when keyboard is opened. and that is what i can not do in newer version.

yablacky 2012-03-19 08:55

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sixwheeledbeast (Post 1180851)
...
Couple of questions...

On completion of the script SMSCON replies 4 times to the master number. Also test functions report twice to the master.
Are these suppose to happen? Seems a bit excessive when one is enough.

When I send a command from the master number to SMSCON, it warns me that the number wasn't the master number due to it not having the international prefix.

E.G. +447822xxxxxx instead of 07822xxxxxx

This happens even though the conversation app shows the message in national/local format.
I guess the only way to solve this is to store the master number in international format?

Numbers like 07822xxxxxx are ambiguous. Its only a guess if some applications treat them the same as +447822xxxxxx; they would treat them the same as +227822xxxxxx as well. For SMSCON these are all different numbers. SMSCON is tolerant only against leading + or zeroes.

AFIK there is no disadvantage to specify all numbers using international prefix. Even if calling a local number using an international prefix the telecom provider treats and charges that as local call only.

Number differences explain why you got an even number of SMS (4); so it would be 2 after changing the master number having an international prefix. Are these 2 remaining sms exactly the same? Or do they have different "subjects"?

sixwheeledbeast 2012-03-19 13:51

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by yablacky (Post 1181371)
Number differences explain why you got an even number of SMS (4); so it would be 2 after changing the master number having an international prefix. Are these 2 remaining sms exactly the same? Or do they have different "subjects"?

The four script sms' are exactly the same.
The two test sms' are exactly the same.
All have the same time stamp too.

yablacky 2012-03-19 18:23

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sixwheeledbeast (Post 1181478)
The four script sms' are exactly the same.
The two test sms' are exactly the same.
All have the same time stamp too.

I can't reproduce it yet. The only way I get four SMS is when I
(1) enable "send reply message on every command" AND
(2) enter the master number without international prefix.

But even in this case:
Two sms have content "-script- Script file executes in BG" Where one of them has additional blind copy information "BC: sender number". The one with BC info is the sms that was sent to the particular phone number stored as master phone number.

The other two sms have content "-reply- Command (xxx) accepted". Again one of them with additional blind copy information.

All four sms look similar on first sight but in fact all four sms have slightly different content.

Could you please compare again the contents of the four sms you got? Just to be really sure that they all are exactly the same. Thank you.

sixwheeledbeast 2012-03-19 23:33

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by yablacky (Post 1181601)
Could you please compare again the contents of the four sms you got? Just to be really sure that they all are exactly the same. Thank you.

I had deleted the messages.
Upon retesting (with the master number in intl format)
I get two messages exactly the same on both devices.

Quote:

/SMSCON/Owner
I got this twice on the recieving (SMSCON enabled) N900 both display 23:16

Quote:

N900
2012-03-19 23:23:05
-script-
script file (/opt?smscon/smscon_script) executes in BG.
I got this twice as a reply on the sender (also master) N900

Settings in SMSCON are:-
Reply Method SMS
Unlock Device on non-authorised
Send reply message on - all options unchecked
Retry on fail - unchecked
Master and Last sender are the same in intl format.

Two messages is better than four but why is everything sent twice?

yablacky 2012-03-20 17:05

Re: [Announce] SMScon (control your device with SMS)
 
I was wondering what you mean with and/or where do you got this:

Quote:

/SMSCON/Owner
Was it the content of a sms you received? I searched the complete code but found nothing appropriate. Please tell me.

Could it be that your N900 runs two incarnations of smscon_daemon process? To find that out, could you please in xterm enter the command
Code:

ps | grep smscon
In regular case the output should look like this (in particular at most one line of "python /opt/smscon/smscon_daemon"):
Code:

N900:~# ps|grep smscon
 1484 root    13820 S    python /opt/smscon/smscon_daemon
 9748 root      2088 S    grep smscon
N900:~#

If you're not sure, post output of your command here.

sixwheeledbeast 2012-03-20 17:49

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by yablacky (Post 1182032)
I was wondering what you mean with and/or where do you got this:

/SMSCON/ is my prefix.
Owner is my Script command.

Quote:

Originally Posted by yablacky (Post 1182032)
Could it be that your N900 runs two incarnations of smscon_daemon process?
If you're not sure, post output of your command here.

Similar, here's the output. Should grep smscon be root?
Code:

N900:~# ps|grep smscon
 1701 root    13080 S    python /opt/smscon/smscon_daemon
 4452 user      2092 S    grep smscon
N900:~#


Estel 2012-03-20 18:19

Re: [Announce] SMScon (control your device with SMS)
 
Mind you, that I also have smscon_daemon running only once, yet, I receive every SMS twice. It's the same "mysterious bug" that I've been reporting ages ago, if You remember (not demanding anything, just mentioning, as you may have forget).

/Estel

sixwheeledbeast 2012-03-20 18:43

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Estel (Post 1182064)
It's the same "mysterious bug" that I've been reporting ages ago

Never had any probs with 0.7, how long ago?

yablacky 2012-03-20 22:15

Re: [Announce] SMScon (control your device with SMS)
 
1 Attachment(s)
I prepared and attached a script file that enables debug logging while the smscon daemon processes sms comands. To use this debug script you need the ability to become root. Usage:

1) copy the debug script somewhere onto the N900 device and name it "smscon1.sh".
2) start xterm
3) become root
4) change directory to the folder containing the debug script.
5) enter command:
Code:

chmod +x smscon1.sh
6) enter command:
Code:

./smscon1.sh
7) follow the instructions given by debug script.
8) go to 6) in case you want to repeat debugging.
9) post the generated smscon-debug.log file here that I can analyse it (it is anonymized).

I hope that this will help us to find out reason of twice sent SMS.

yablacky 2012-03-20 22:27

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sixwheeledbeast (Post 1182047)
...Should grep smscon be root?

Thank you for information. Running grep as user is ok. The output looks fine. It seems there is only one daemon and this is ok. The reason for twice sms must be something different. Please try the debug script I supplied in previous post.

sixwheeledbeast 2012-03-20 22:45

Re: [Announce] SMScon (control your device with SMS)
 
Can't test with two phones at the moment (master number is a friend's), but if it helps here's the log from the editor of yesterday's test.
Code:

2012-03-19 14:36:11[SMSCON] INFO: Daemon smscon_daemon requested to start.
2012-03-19 14:36:13[SMSCON] INFO: Daemon smscon_daemon started [PID=1701].
2012-03-19 14:36:26[DAEMON] CRITICAL: smscon_daemon is starting.
2012-03-19 14:36:28[DAEMON] INFO: Successfully loaded "/opt/smscon/smscon_config" file.
2012-03-19 14:36:28[DAEMON] INFO: Found 1 IMSI code(s) in "/opt/smscon/smscon_code" file.
2012-03-19 14:36:29[DAEMON] INFO: Authorized IMSI code found.
2012-03-19 14:36:29[DAEMON] INFO: Phone battery charge is 55%, charging.
2012-03-19 14:36:30[DAEMON] INFO: GPS query interval is 120 sec.
2012-03-19 14:36:30[DAEMON] INFO: Keyboard slider change detection is off.
2012-03-19 14:36:30[DAEMON] INFO: Battery status change detection is off.
2012-03-19 14:36:32[DAEMON] INFO: (CHECKHOST) Checkhost is off.
2012-03-19 14:36:32[DAEMON] INFO: smscon auto-loads at boot. OK.
2012-03-19 23:23:03[DAEMON] INFO: Received smscon command [Owner] via SMS from +447822xxxxxx (the master) . Acknowledge message disabled.
2012-03-19 23:23:04[DAEMON] INFO: Phone battery charge is 74%, discharging.
2012-03-19 23:23:04[DAEMON] WARNING: (SILENCE) Silencing is disabled: Phone probably not silent while controlled remotely.
2012-03-19 23:23:05[DAEMON] INFO: File "/opt/smscon/smscon_script.log" now deleted.
2012-03-19 23:23:05[DAEMON] INFO: Script file (/opt/smscon/smscon_script) executes in BG.
2012-03-19 23:23:26[DAEMON] ERROR: Failed to send SMS to "+447822xxxxxx".
2012-03-19 23:23:26[DAEMON] INFO: Message sending disabled by user setting (sms).
2012-03-19 23:33:33[SMSCON] INFO: Export to user setting file "/home/user/.smscon-editor/smscon_config" successful.

Device was rebooted and put on charge for 15 minutes at about 14:30.
I didn't access SMSCON or SMSCON Editor, at all that day.
There's an ERROR in there!

Estel 2012-03-21 01:47

Re: [Announce] SMScon (control your device with SMS)
 
IIRC, when I've reported it last time, I also mentioned about error about "failed to send sms", despite fact that sms was send successfully. Also, despite 15 minutes time between re-try, another sms was sent instantly.

This may be the bugger ;)

/Estel

yablacky 2012-03-21 20:47

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sixwheeledbeast (Post 1182164)
... There's an ERROR in there!

Yes, and as Estel says this is a hint to the bug. I compared version 0.7 code with version 0.9 code but didn't found anything obvious. It would help me a lot if you or someone else who is capable to reproduce the twice-sms problem could help me by running the debug script I provided in earlier post.

Estel 2012-03-21 20:56

Re: [Announce] SMScon (control your device with SMS)
 
I'm trying to provide some useful log from start, but the funniest thing is that now I'm unable to reproduce the problem anymore. (no matter if I use script to create debug log, or not). Yet, when I was hit by the bug, it looked exactly same as for sixwheeledbeast.
---

During testing, I noticed two small glitches:

1. When "silence phone on first command" is set, it works great, but vibration isn't disabled. Could it be also implemented? At the same time, it could also disable indicator LED (so, no way for "thief" to notice phone activity, without directly using it). Is it doable without too much hassle?

2. When "reply messages" is set to "none" (thus, no "reply on battery status", "reply on each command", nor "reply on keyboard open"), smscon doesn't send any messages *at all*. So, basically, deamon is working and noticing commands, yet, it doesn't answer. Only one way to make it working as it should, is to set "reply messages" to SMS, email, or both, yet, *uncheck* battery status, each command, and keyboard open (if we don't want them).

Should it be working this way? If yes, what's the point of having daemon working, yet unable to send location/status/whatever?
---

Thumbs up for working on it great application, thanks a lot :)

/Estel

yablacky 2012-03-22 08:40

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Estel (Post 1182515)
I'm trying to provide some useful log from start, but the funniest thing is that now I'm unable to reproduce the problem anymore. (no matter if I use script to create debug log, or not). Yet, when I was hit by the bug, it looked exactly same as for sixwheeledbeast.

Did you change your telecom provider before error disappeared?

Hopefully at least sixwheeledbeast can reproduce it.

Quote:

Originally Posted by Estel (Post 1182515)
...
1. When "silence phone on first command" is set, it works great, but vibration isn't disabled. Could it be also implemented? At the same time, it could also disable indicator LED (so, no way for "thief" to notice phone activity, without directly using it). Is it doable without too much hassle?

Seems doable. We keep this in mind for the wish-list.

Quote:

Originally Posted by Estel (Post 1182515)
2. When "reply messages" is set to "none" (thus, no "reply on battery status", "reply on each command", nor "reply on keyboard open"), smscon doesn't send any messages *at all*. So, basically, deamon is working and noticing commands, yet, it doesn't answer. Only one way to make it working as it should, is to set "reply messages" to SMS, email, or both, yet, *uncheck* battery status, each command, and keyboard open (if we don't want them).

Should it be working this way? If yes, what's the point of having daemon working, yet unable to send location/status/whatever?

Yes, this behavior is by design. smscon's verbosity is up to the user's setting. What you configure is what you get. Note that GPS tracking has separate setting to control sending of GPS related notifications. So you can turn all reply methods off as you explained and just leave GPS replies on.

Estel 2012-03-22 23:33

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by yablacky (Post 1182658)
Did you change your telecom provider before error disappeared?

Nope.

Quote:

Originally Posted by yablacky (Post 1182658)
Note that GPS tracking has separate setting to control sending of GPS related notifications. So you can turn all reply methods off as you explained and just leave GPS replies on.

Are you sure about that one? If reply messages is set to "none", there is no place to configure, how GPS location should be sent (SMS, mail, or both). Similarly, during my tests, I wasn't able to get location response, when reply messages was set to "none".

Ho ever, take this with a grain of salt, as it may be user fault. To simplify "debugging" (by filtering out GPS fix related problems), after 1st fail, I switched to more straightforward command (battery status) for testing purposes. Will try to re-test that one soon.

/Estel

yablacky 2012-03-23 00:45

Re: [Announce] SMScon (control your device with SMS)
 
If your telecom provider did not change it seems to be a timings problem (although that does not explain why it does not happen in 0.7 :confused: ). I assume others still have the problem and I hope they help me to find it (hello sixwheeledbeast :) ).

sixwheeledbeast 2012-03-23 08:03

Re: [Announce] SMScon (control your device with SMS)
 
Sorry, I haven't forgotten.
I will get back to you when I next see my friend to borrow his N900 (master number). Haven't got another phone to test with ATM.


All times are GMT. The time now is 10:35.

vBulletin® Version 3.8.8