Helpful

CallbacksPrinciples

Custom callback creation

Step-by-step

 

Callbacks are set from the device type page for Data, Service, and Error callback service, by following these steps:

  1. Click on the Device type tab.
  2. Click on the name of the device type that you want to create your callback for.
  3. Click on Callbacks on the left-hand side menu.
  4. Click on the New button, located on the upper-right part of the screen.
  5. Choose Custom Callback.
  6. Set your Custom Callback.

CHANNEL

Choose the communication medium:

  • URL: to push the data to a single URL destination.
  • BATCH_URL: This option pushes the data transmitted by all devices from a device type within a 1 second time period.
  • EMAIL: to get the callback data to your email address. 

CUSTOM PAYLOAD CONFIGURATION

This option allows the user to decode the payload in distinct, simple variables within the Backend GUI. 

Note that the custom payload has only a few available types and cannot distinguish different frames format types: all frames will be split the same way.

For more information, please click on the question mark icon in the Backend GUI callback creation page.

URL PATTERN

 

Define the HTTP request to be pushed to your server, including available variables. An example is displayed in the GUI.

Displaying a specific port is supported for the URL channel, as follows:

Add variable as path parameter :

https://my_server_address.com:port_number/{variable}/path

Add variable as request parameter :

https://my_server_address.com:port_number/path?var={variable}

HTTP METHOD

Three HTTP methods can be used:

  • GET
  • POST
  • PUT

 

SNI: SSL/TLS CONFIGURATION

 

It is highly recommended to enable the Server Name Indication (SNI) to specify the target domain at the beginning of the SSL/TLS handshake process. As this option is transparent if TLS is not used (regular HTTP URLs), you should let this option checked unless in very specific cases.

Please note that the SNI option is enabled by default when a callback is created.

Can't find what you're looking for ?

Have questions? Our worldwide Community of expert fans can answer them.
Have answers? Join the Community and help!

slack logo

Ask the community >