This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sdk:sdk [2023/09/06 07:33] fachet [Web Services] |
sdk:sdk [2024/02/22 14:44] (current) juraschek ↷ Links adapted because of a move operation |
||
---|---|---|---|
Line 25: | Line 25: | ||
nb_sms_send ("+123456789", "No presents this year :(") | nb_sms_send ("+123456789", "No presents this year :(") | ||
</code> | </code> | ||
- | A set of example scripts can be downloaded directly from the router, you can find a list of them in the appendix. The [[https://share.netmodule.com/public/system-software/latest/NB_SDK_Arena_Manual.pdf|SDK language manual]] gives a detailed introduction of the language, including a description | + | A set of example scripts can be downloaded directly from the router, you can find a list of them in the appendix. The [[https://share.netmodule.com/public/system-software/4.8/4.8.0.102/NB_SDK_Arena_Manual_4.8.0.102.pdf|SDK language manual]] gives a detailed introduction of the language, including a description |
of all available functions. | of all available functions. | ||
Line 55: | Line 55: | ||
- Encode functions (coming soon) | - Encode functions (coming soon) | ||
- Other system-related functions | - Other system-related functions | ||
- | The [[https://share.netmodule.com/public/system-software/latest/NB_SDK_API_Manual.pdf|SDK API manual]] provides an overview but also explains all functions in detail. | + | The [[https://share.netmodule.com/public/system-software/4.8/4.8.0.102/NB_SDK_API_Manual_4.8.0.102.pdf|SDK API manual]] provides an overview but also explains all functions in detail. |
Please note that some functions require the corresponding services (e.g. E-Mail, SMS) to be properly configured prior to utilizing them in the SDK. Let us now pay some attention to the very powerful API function ''nb_status''. It can be used to query the router’s status values in the same manner as they can be shown with the CLI. It returns a structure of variables for a specific section (a list of available sections can be obtained by running ''cli status -h''). | Please note that some functions require the corresponding services (e.g. E-Mail, SMS) to be properly configured prior to utilizing them in the SDK. Let us now pay some attention to the very powerful API function ''nb_status''. It can be used to query the router’s status values in the same manner as they can be shown with the CLI. It returns a structure of variables for a specific section (a list of available sections can be obtained by running ''cli status -h''). | ||
Line 155: | Line 155: | ||
==== Web Services ==== | ==== Web Services ==== | ||
* [[sdk::webservices_get|HTTP GET pass URL parameters/query strings]] | * [[sdk::webservices_get|HTTP GET pass URL parameters/query strings]] | ||
- | * [[sdk::webservices_get|HTTP POST pass URL parameters/query strings]] | + | * [[sdk::webservices_post|HTTP POST pass URL parameters/query strings]] |
+ | * [[sdk::webservices_send_postion|send actual GNSS location via URL]] | ||
==== Wifi / WLAN ==== | ==== Wifi / WLAN ==== | ||
* [[sdk::wifimodechanger|Change Wifi Mode based on SSID]] | * [[sdk::wifimodechanger|Change Wifi Mode based on SSID]] | ||
Line 162: | Line 163: | ||
* [[sdk:telnet-run-a-command-using-telnet|Run a command using Telnet]] | * [[sdk:telnet-run-a-command-using-telnet|Run a command using Telnet]] | ||
* [[sdk::tcp2sms| Sending SMS via TCP]] | * [[sdk::tcp2sms| Sending SMS via TCP]] | ||
- | * [[sdk::opcuaExample| Publish OPC-UA datas to the Web as JSON-Object also monitoring values]] | + | * [[internal:opcuaexample| Publish OPC-UA datas to the Web as JSON-Object also monitoring values]] |