NetModule NB1600 User Manual page 75

Hide thumbs Also See for NB1600:
Table of Contents

Advertisement

/* We are going to eavesdrop on the first serial port
* and turn on lights via a digital I / O output port ,
* otherwise we d have to send a short message .
*/
( attempts = 0; attempts < 3; attempts ++) {
for
( nb_serial_read (
if
nb_serial_write (
( nb_serial_read (
if
printf (
" Hurray !\ n "
nb_dio_set (
}
}
}
nb_sms_send (
" +123456789 "
A set of example scripts can be downloaded directly from the router, you can find a list
of them in the appendix. The manual at
detailed introduction of the language, including a description of all available functions.
SDK API Functions
The current range of API functions can be used to implement the following features:
1. Send/Retrieve SMS
2. Send E-mail
3. Read/Write from/to serial device
4. Control digital input/output ports
5. Run TCP/UDP servers
6. Run IP/TCP/UDP clients
7. Access files of mounted media (e.g. an USB stick)
8. Retrieve status information from the system
9. Get or set configuration parameters
10. Write to syslog
11. Transfer files over HTTP/FTP
12. Get system events / Reboot system
13. Control the LEDs
The SDK API manual at
but also explains all functions in detail.
NB1600 User Manual
" serial0 "
) ==
" serial0 "
,
" Who s there ? "
" serial0 "
) ==
) ;
" out1 "
, 1) ;
,
" No presents this year :( "
http://www.netmodule.com/store/sdk
http://www.netmodule.com/store/sdk
75
" Knock Knock ! "
) {
) ;
" Santa "
) {
provides an overview
)
gives a

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NB1600 and is the answer not in the manual?

Questions and answers

Table of Contents