GSM Set DateTime

<< Click to Display Table of Contents >>

Navigation:  Hardware Modules > aMG GSM/GPRS Module > Obsolete block >

GSM Set DateTime

Previous pageReturn to chapter overviewNext page

(Obsolete block)

User Interface

How this block appears in a Simulink model?

gsm_module_setdatetime_block

What can be configured?

gsm_module_setdatetime_mask

Configuration item

Selectable option/ Value

Description

Time zone offset direction

+ | -

UTC time + or -

Time zone Hout

0 | 1 | 2 | ... | 13

Hour number for UTC +/- Hour

Time zone Minute

0 | 15 | 30 | 45

Minute number for UTC +/- Hour.Minute

Sample time (sec)

(Sample time value)

Specify sample time value.

Input port

1. Set

If input port is non-zero during Idle state, it will update information by sending query command via UART to SIM900 module.

2. Date/Time

Return vector data of date and time.

Index 0 - Year (0-99)

Index 1 - Month (1-12)

Index 2 - Day (1-31), depending on month.

Index 3 - Hour (format 24 hour)

Index 4 - Minute (0-59)

Index 5 - Second (0-99)

Output port

1. Status

0 - The process is Success.

1 - The process is Idle.

252 - The process is Error.

Otherwise - The process is Busy.

Demo

Hardware setup

Email Send and Receive

Send SMS