GSM/GPRS Http POST

<< Click to Display Table of Contents >>

Navigation:  Hardware Modules > aMG GSM/GPRS Module >

GSM/GPRS Http POST

Previous pageReturn to chapter overviewNext page

User Interface

How this block appears in a Simulink model?

amg_gsmgprs_http_post_block

What can be configured?

amg_gsmgprs_http_post_mask

Configuration item

Selectable option/ Value

Description

SSL (https) enable

Checked | Unchecked

Enable or disable SSL support

Read HTTP response

Checked | Unchecked

Enable or disable return the response from POST method command.

Sample time (sec)

(Sample time value)

Example: -1 (Inherited) or specify sample time.


Block Input

Trig

Non-zero value will activate block to start operation.

URL

Input of URL represent in data type uint8, example: uint8('https://www.google.com')

Content type

POST data content type.

Data

Data to POST.

Timeout (sec)

Specify POST data timeout, recommended 60 seconds.

Block Output

Status

0 - Wait. The block is not active and wait for Trig signal.

1 - Busy. The block is working.

2 - Data Ready.

3 - Success

4 - Error