Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
sdk:sdk [2021/08/04 09:14] – external edit 127.0.0.1sdk:sdk [2024/01/11 09:07] – [The Language] dodenhoeft
Line 5: Line 5:
   - A NetModule-specific Application Programming Interface (API), which ships with a comprehensive set of functions for accessing hardware interfaces (e.g. digital IO ports, GPS, external storage media, serial ports) but also for retrieving system status parameters, sending E-Mail or SMS messages or simply just to configure the router.    - A NetModule-specific Application Programming Interface (API), which ships with a comprehensive set of functions for accessing hardware interfaces (e.g. digital IO ports, GPS, external storage media, serial ports) but also for retrieving system status parameters, sending E-Mail or SMS messages or simply just to configure the router. 
  
-Anyone, reasonably experienced in the C language, will find an environment that is easy to dig in. However, feel free to contact us via [[router@support.netmodule.com]] and we will happily support you in finding a programming solution to your specific problem.+Anyone, reasonably experienced in the C language, will find an environment that is easy to dig in. However, feel free to contact us via [[support@netmodule.com]] and we will happily support you in finding a programming solution to your specific problem.
 ===== The Language ===== ===== The Language =====
 The arena scripting language offers a broad range of POSIX functions (like printf or open) and provides, together with tailor-made API functions, a simple platform for implementing any sort of applications to interconnect your favourite device or service with the router. The arena scripting language offers a broad range of POSIX functions (like printf or open) and provides, together with tailor-made API functions, a simple platform for implementing any sort of applications to interconnect your favourite device or service with the router.
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 153: Line 153:
   * [[sdk::mqtt_advanced_status|Send Router Status Informations to an MQTT Broker - Advanced Version]]   * [[sdk::mqtt_advanced_status|Send Router Status Informations to an MQTT Broker - Advanced Version]]
   * [[sdk::mqtt_dio| Publish changes of the Digitial In or Out Interfaces via MQTT]]   * [[sdk::mqtt_dio| Publish changes of the Digitial In or Out Interfaces via MQTT]]
 +==== Web Services ====
 +  * [[sdk::webservices_get|HTTP GET 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 170: Line 174:
     * [[sdk:ibis2ascii|Convert IBIS Telegrams to valid ASCII Strings (Umlaute)]]     * [[sdk:ibis2ascii|Convert IBIS Telegrams to valid ASCII Strings (Umlaute)]]
     * [[sdk:castInt2float|Cast two Modbus Register on to one float variable]]     * [[sdk:castInt2float|Cast two Modbus Register on to one float variable]]
 +    * [[sdk:block-check-calculator|Calculate block check character]]