Home > HIRSCHMANN > HIRSCHMANN NB2810 NetModule Router User Manual

HIRSCHMANN NB2810 NetModule Router User Manual

Testing  
The testing page offers an editor and an input field for optional arguments which can be used to  
perform test runs of your script or test dedicated portions of it or upload an entire file. Please note that  
you might need to quote arguments as they will otherwise be separated by white-spaces.  
/* arguments: 'schnick schnack "s c h n u c k"'  
for (i = 0; i < argc; i++) {  
printf (" argv%d: %s\n", i, argv[i]);  
}
/* generates:  
*
argv0: scriptname  
argv1: schnick  
argv2: schnack  
*
*
*
*/  
argv3: s c h n u c k  
In case of syntax errors, arena will usually print error messages as follows (indicating the line and  
position where the parsing error occurred):  
/scripts/testrun:2:10:FATAL: parse error, unexpected $, expecting ’;’  
SDK Sample Application  
As an introduction, you can step through a sample application, namely the SMS control script, which  
implements remote control over short messages and can be used to send a status of the system back  
to the sender. The source code is listed in the appendix.  
Once enabled, you can send a message to the phone number associated with a SIM / modem. It  
generally requires a password to be given on the first line and a command on the second, such as:  
admin01  
status  
We strongly recommend to use authentication in order to avoid any unintended access, however you  
may pass noauth as argument to disable it. You can then skip the first line containing the password.  
Having a closer look to the script, you will see that you will also be able to restrict the list of permitted  
senders. Please inspect the system log for troubleshooting any issues.  
NB2810  
145  
User Manual for NRSW version 4.8.0.102  
GeneralDetails
NameHIRSCHMANN NB2810 NetModule Router User Manual
MakeHIRSCHMANN
LanguageEnglish
FiletypePDF (Download)
File size MB
Download PDF
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

If you have any questions regarding HIRSCHMANN NB2810 NetModule Router User Manual, please ask here and describe the problem in detail.

Leave a Reply

Your email address will not be published. Required fields are marked *

five + eight =

HIRSCHMANN NB1810 NetModule Router User Manual
HIRSCHMANN NB1810 NetModule Router User Manual
HIRSCHMANN NB1800 NetModule Router User Manual
HIRSCHMANN NB1800 NetModule Router User Manual

HIRSCHMANN NB2810 NetModule Router User Manual