This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
sdk:sdk [2018/04/09 14:38] – juraschek | sdk:sdk [2018/09/18 09:37] – [The Language] juraschek | ||
---|---|---|---|
Line 14: | Line 14: | ||
* otherwise we 'd have to send a short message . | * otherwise we 'd have to send a short message . | ||
*/ | */ | ||
- | for ( attempts = 0; attempts < 3; attempts ++) { | + | for ( attempts=0; attempts< |
- | if ( nb_serial_read (" serial0 ") == " Knock Knock !") { | + | if ( nb_serial_read (" |
- | nb_serial_write (" serial0 ", "Who 's there ?"); | + | nb_serial_write (" |
- | if ( nb_serial_read (" serial0 ") == " Santa ") { | + | if ( nb_serial_read (" |
printf (" Hurray !\n"); | printf (" Hurray !\n"); | ||
- | nb_dio_set (" out1 ", 1); | + | nb_dio_set (" |
} | } | ||
} | } | ||
} | } | ||
- | nb_sms_send (" +123456789 ", "No presents this year :(") | + | nb_sms_send (" |
</ | </ | ||
A set of example scripts can be downloaded directly from the router, you can find a list of them in the appendix. The [[ftp:// | A set of example scripts can be downloaded directly from the router, you can find a list of them in the appendix. The [[ftp:// | ||
Line 130: | Line 130: | ||
* [[sdk: | * [[sdk: | ||
* [[sdk: | * [[sdk: | ||
+ | * [[sdk: | ||
==== GPS ==== | ==== GPS ==== | ||
* [[sdk: | * [[sdk: | ||
Line 146: | Line 147: | ||
* [[sdk:: | * [[sdk:: | ||
* [[sdk:: | * [[sdk:: | ||
+ | ==== MQTT ==== | ||
+ | * [[sdk:: | ||
+ | * [[sdk:: | ||
==== Wifi / WLAN ==== | ==== Wifi / WLAN ==== | ||
* [[sdk:: | * [[sdk:: |