|
2012-06-08
, 20:23
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#1192
|
|
2012-06-08
, 20:24
|
Posts: 155 |
Thanked: 315 times |
Joined on Jun 2010
@ DE
|
#1193
|
Lately GPS locking on that N900 has been extremely slow, I do not know the reason, so I thought Trackon would eventually send the accurate enough coordinates, where Location would fail and send coordinates centre of country.
|
2012-06-08
, 20:27
|
Posts: 155 |
Thanked: 315 times |
Joined on Jun 2010
@ DE
|
#1194
|
I just realised I should have tested Smscon more lately with another phone. I used to do it in the start when Smscon was published, but lots have changed since then.
In the latest version, if the COM_PREFIX is Smscon, should for example Location command to be sent in SMS like:
Smscon Location
OR
SmsconLocation
Space or without space?
|
2012-06-08
, 20:36
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#1195
|
The Following User Says Thank You to zimon For This Useful Post: | ||
|
2012-06-08
, 20:37
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#1196
|
Lately GPS locking on that N900 has been extremely slow, I do not know the reason, .
The Following 3 Users Say Thank You to Estel For This Useful Post: | ||
|
2012-06-08
, 20:43
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#1197
|
|
2012-06-08
, 21:26
|
Posts: 155 |
Thanked: 315 times |
Joined on Jun 2010
@ DE
|
#1198
|
|
2012-06-12
, 19:40
|
Posts: 155 |
Thanked: 315 times |
Joined on Jun 2010
@ DE
|
#1199
|
The Following User Says Thank You to yablacky For This Useful Post: | ||
|
2012-06-22
, 18:11
|
Posts: 3 |
Thanked: 5 times |
Joined on Jun 2012
|
#1200
|
/opt/smscon/smscon_script #!/bin/sh trim() { local -; set -f; echo $1; } CMD=$(trim "${1:-default}") test $# -gt 0 && shift echo "Processing '$CMD' from $SMSCON_SENDERNUMBER via $SMSCON_COMMANDORIGIN on $(date)" case "$CMD" in ""|"*"|"default") # A common case getting here is when COM_CUSTOM command is detected by CHECKHOST # because (currently) CHECKHOST is not able to specify parameters. echo Process list on $(date): ps echo netstat: netstat -tean ;; ps) ps ;; blueon) dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter | awk -F'"' '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:true ;; blueoff) dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter | awk -F'"' '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:false ;; *) echo "Unknown command '$CMD'" ;; esac
2012-06-22 19:28:17[DAEMON] INFO: Received smscon command [Script blueon] via SMS from +00123456789 (the master) . Acknowledge message disabled. 2012-06-22 19:28:17[DAEMON] INFO: Phone battery charge is 71%, discharging. 2012-06-22 19:28:17[DAEMON] ERROR: (SILENCE) Could not get current phone profile: list index out of range
Also you can use the CUSTOM_COM to send a return to Onwer screen.
Anybody wishing to do these see link to previous my post below.
http://talk.maemo.org/showpost.php?p...postcount=1100
Another idea is the secure screen can be edited to display contact details.
Using the link below I edited the text on my "swipe to unlock" and the "Enter Lock Code".
I have edited enter lock code to:-
Enter lock code or return to onwer at (postcode)(phone no)
http://talk.maemo.org/showthread.php?t=69249
I have done all of these to my N900's so hopefully combined with SMSCON, my phone would be returned if lost.
I would hope the hildon banner custom command would be fairly easy to include into SMSCON, although it's the least useful. As for the others they maybe hard to implement.
Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -
Before posting or starting a thread please try this.