Editing SMSCON
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
Warning: This page is 71 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | + | '''Please Note: Update for 0.9.19++ is in progress for this page. In particular section "Usage" still needs updates...'''. --[[User:yablacky|yablacky]] 00:14, 23 May 2012 (UTC) | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | Update for 0.9.19++ is in progress for this | + | |
==Introduction== | ==Introduction== | ||
Line 37: | Line 32: | ||
* Looking for commands in received SMS messages. | * Looking for commands in received SMS messages. | ||
- | * Asking a remote command server for commands. Details are [[ #Remote command server | + | * Asking a remote command server for commands. Details are [[ #Remote command server | here]]. |
* Sending notifications, responses and query results by SMS and/or by EMAIL. | * Sending notifications, responses and query results by SMS and/or by EMAIL. | ||
- | * Send help about all currently recognized SMS commands. | + | * Send help about all currently recognized SMS commands.<br/>This is very handy if you've forgotten them. You only need to remember the code of one single command (namely the code of COM_CHECK command and its prefix/suffix). |
* Supports use of multiple SIM cards. | * Supports use of multiple SIM cards. | ||
* Detect SIM card change. Details are [[ #SIM card change detection | here]]. | * Detect SIM card change. Details are [[ #SIM card change detection | here]]. | ||
Line 75: | Line 70: | ||
* Autoloads at boot. This ensures that SMSCON is active (that means is listening for commands) even after device (re)boot. Autoload is enabled by default during installation of a SMSCON package. | * Autoloads at boot. This ensures that SMSCON is active (that means is listening for commands) even after device (re)boot. Autoload is enabled by default during installation of a SMSCON package. | ||
- | * Create and keep a log file on the device. The log file can be queried remotely by SMS command as well as locally via command line | + | * Create and keep a log file on the device. The log file can be queried remotely by SMS command as well as locally via command line. |
* Reboot the phone. Albeit this is possible it is not generally recommended if your SIM card has a PIN: If nobody enters the PIN correctly, the phone would boot but could not connect to GPRS network. | * Reboot the phone. Albeit this is possible it is not generally recommended if your SIM card has a PIN: If nobody enters the PIN correctly, the phone would boot but could not connect to GPRS network. | ||
* Shutdown the phone. Also just possible but not generally recommended. | * Shutdown the phone. Also just possible but not generally recommended. | ||
Line 177: | Line 172: | ||
All phone numbers should be entered with country prefix. Not only ensures this that SMS are send successfully regardless where your phone actually is located. It further is essential to make phone numbers comparable. | All phone numbers should be entered with country prefix. Not only ensures this that SMS are send successfully regardless where your phone actually is located. It further is essential to make phone numbers comparable. | ||
- | |||
- | |||
===After installation=== | ===After installation=== | ||
Line 400: | Line 393: | ||
host your-computer.com on port 4321 | host your-computer.com on port 4321 | ||
CameraON,your-computer.com:4321 --> ditto | CameraON,your-computer.com:4321 --> ditto | ||
- | Camera1,your-computer.com:4321 --> ditto | + | Camera1,your-computer.com:4321 --> ditto |
Camera1,your-computer.com --> ditto, but uses default port 5000 | Camera1,your-computer.com --> ditto, but uses default port 5000 | ||
- | Camera0,your-computer.com --> request to stop video | + | Camera0,your-computer.com --> request to stop video |
Camera0 --> ditto | Camera0 --> ditto | ||
CameraOFF --> ditto | CameraOFF --> ditto | ||
Line 415: | Line 408: | ||
live stream. Default port number is 5000. | live stream. Default port number is 5000. | ||
- | If the video receiving computer is in a LAN behind a (DSL-)router (and the phone isn't) then you need to configure the router to | + | If the video receiving computer is in a LAN behind a (DSL-)router (and the phone isn't but currently has a 2G or 3G IP) then you need to configure the router to do port forwarding. This is almost the same thing as for CHECKHOST (but video is sent via udp, CHECKHOST checks via tcp). |
By design SMSCON does not support a pre-configured video receiving host. It must be specified in each COM_CAMERA command explicitly. This gives you a wide range of possible computers where to watch the video. | By design SMSCON does not support a pre-configured video receiving host. It must be specified in each COM_CAMERA command explicitly. This gives you a wide range of possible computers where to watch the video. | ||
Line 588: | Line 581: | ||
* 'Restart' will stop and start again the smscon_daemon. | * 'Restart' will stop and start again the smscon_daemon. | ||
- | ===Remote command server | + | ===Remote command server=== |
To use this functionality you need a file that is accessible via internet and you must be able to change the content of that file somehow. A private or company homepage that allows you to serve a small extra file in some inconsiderable subdirectory might be all you need. | To use this functionality you need a file that is accessible via internet and you must be able to change the content of that file somehow. A private or company homepage that allows you to serve a small extra file in some inconsiderable subdirectory might be all you need. | ||
Line 628: | Line 621: | ||
Note that it currently is not possible to specify values for placeholders that may be defined in a sms command (e.g. COM_CAMERA command etc). | Note that it currently is not possible to specify values for placeholders that may be defined in a sms command (e.g. COM_CAMERA command etc). | ||
- | |||
- | |||
If the phone has problems when reading the file from your server via the http protocol (or the protocol you set), then check the log for ''CHECKHOST'' errors. | If the phone has problems when reading the file from your server via the http protocol (or the protocol you set), then check the log for ''CHECKHOST'' errors. | ||
- | The default CHECKTIME is 15 minutes but can be changed via CHECKTIME setting. Note that after giving a command via remote command server, it can take up to CHECKTIME minutes to | + | The default CHECKTIME is 15 minutes but can be changed via CHECKTIME setting. Note that after giving a command via remote command server, it can take up to CHECKTIME minutes to execute the command. |
===SIM card change detection=== | ===SIM card change detection=== | ||
Line 866: | Line 857: | ||
===Remote SSH connection=== | ===Remote SSH connection=== | ||
- | + | When the (reverse-)SSH connection is made (default command 'Remoteon' / 'Remoteoff') you can from the server side (your own server) connect to your Nokia device with the following command: | |
- | + | ||
- | + | ||
<pre> | <pre> | ||
ssh -p 8080 localhost -l root | ssh -p 8080 localhost -l root | ||
</pre> | </pre> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
==Files== | ==Files== | ||
Line 944: | Line 923: | ||
More information about each available version is [http://maemo.org/packages/view/smscon/ here]. | More information about each available version is [http://maemo.org/packages/view/smscon/ here]. | ||
- | === 0.9. | + | === 0.9.18-1 (Current [[Extras-devel]], [[Extras-testing]]) === |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
'''Changelog''' | '''Changelog''' | ||
Line 1,152: | Line 1,120: | ||
This page has been accessed 42,375 times. --[[User:yablacky|yablacky]] 15:30, 28 April 2012 (UTC)<br> | This page has been accessed 42,375 times. --[[User:yablacky|yablacky]] 15:30, 28 April 2012 (UTC)<br> | ||
This page has been accessed 43,315 times. --[[User:yablacky|yablacky]] 00:14, 13 May 2012 (UTC)<br> | This page has been accessed 43,315 times. --[[User:yablacky|yablacky]] 00:14, 13 May 2012 (UTC)<br> | ||
- | This page has been accessed 43,675 times. --[[User:yablacky|yablacky]] 06:51, 16 May 2012 (UTC) wow, 10 | + | This page has been accessed 43,675 times. --[[User:yablacky|yablacky]] 06:51, 16 May 2012 (UTC) wow, 10.000 :))<br> |
This page has been accessed 44,554 times. --[[User:yablacky|yablacky]] 02:45, 23 May 2012 (UTC)<br> | This page has been accessed 44,554 times. --[[User:yablacky|yablacky]] 02:45, 23 May 2012 (UTC)<br> | ||
- | |||
- | |||
- | |||
- | |||
[[Category:Software]] | [[Category:Software]] | ||
[[Category:N900]] | [[Category:N900]] |
Learn more about Contributing to the wiki.