![]() |
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. |
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
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
#!/bin/sh (cd /usr/share/applications/hildon && rm -f Flobby.desktop) |
Re: [Announce] SMScon (control your device with SMS)
yes; note that -f does not mean file; it means force. -r means recursive.
|
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 |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
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. |
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. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Quote:
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
Quote:
|
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? |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
Could you please open Xterm and enter this command: Code:
smscon -get KEYBOARDDETECT default Code:
smscon -set KEYBOARDDETECT no (to prevent side effects do not have smscon-editor open while operate smscon on the command line). |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Quote:
Could be added to the splash screen? |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
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. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
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. |
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! |
Re: [Announce] SMScon (control your device with SMS)
Quote:
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 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? |
Re: [Announce] SMScon (control your device with SMS)
Quote:
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 |
Re: [Announce] SMScon (control your device with SMS)
Quote:
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. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
but i want smscon to sends sms each time when keyboard is opened. and that is what i can not do in newer version. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
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"? |
Re: [Announce] SMScon (control your device with SMS)
Quote:
The two test sms' are exactly the same. All have the same time stamp too. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
(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. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Upon retesting (with the master number in intl format) I get two messages exactly the same on both devices. Quote:
Quote:
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? |
Re: [Announce] SMScon (control your device with SMS)
I was wondering what you mean with and/or where do you got this:
Quote:
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 Code:
N900:~# ps|grep smscon |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Owner is my Script command. Quote:
Code:
N900:~# ps|grep smscon |
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 |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
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 Code:
./smscon1.sh 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. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
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. I didn't access SMSCON or SMSCON Editor, at all that day. There's an ERROR in there! |
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 |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
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 |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Hopefully at least sixwheeledbeast can reproduce it. Quote:
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
Quote:
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 |
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 :) ).
|
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