background image

iOKE868 LoRaWAN® / 

 / 

User Manual Version: 1.0

Page 9 of 12

Real Time Clock Synchronization

The iO881A features an embedded Real Time Clock ( RTC ) which is used to schedule several Calendar Events for meter reading and other
functionalities. For proper operation it is highly recommended to synchronize the RTC. The initial synchronization can be done by means of
the WS-Configurator PC-Tool. On every synchronization the current time stamp is stored in the none volatile memory of the iO881A. After a
power-cycle or system reset this stored value is used to inititalize the RTC. If the value is invalid or less than 01.01.2000 00:00:00 the RTC
will start at 01.01.2000 00:00:00.

After startup the device starts with a LoRaWAN  activation procedure ( OTAA or ABP ) and initiates a LoRaWAN  uplink MAC command to

®

®

get the current data and time from the LoRaWAN  server. On success the received value is used to configure the RTC and is finally stored in

®

the NVM for later usage after a system reset.

Due to the fact that some LoRaWAN server do not support the "Get Time MAC Command" a fall back mechanism is implemented. In case of

no MAC command response the firmware transmits a "Get Date Time Request" application command via LoRaWAN  to the connected

®

Application Server which might be able to answer this request. This request is transmitted 5 times.

The new "Get Date Time Request" looks as follows;

LoRaWAN Port: 32

LoRaWAN Payload Syntax:

Request < Get > < Resource ID >

Example:

< Get > < DateTime >

< 01  > < 01  > 

h

h

The corresponding Get Date Tiime response must look like this:

LoRaWAN Port: 32

LoRaWAN Payload Syntax:

Response < Get Response > < Resource ID > <  data >

Example:

< Get Response > < DateTime > < current date time  as seconds since 01.01.1970, 00:00:00 as 

 32-Bit integer, LSB first , e.g.:

unsigned

"2020-09-18 11:46:33 >

< 02 > < 01h >  < ( 19 9E 64 5F )  >

h

Due to the fact that the clock crystal frequency can drift over temperature it is recommended to synchronize the RTC via

LoRaWAN  from time to time ( e.g. once per week ).

®

Содержание 404620

Страница 1: ...MST GmbH Carl Friedrich Gau Str 2 4 D 47475 Kamp Lintfort iOKE868 LoRaWAN User Manual Version 1 0 Document State initial Date October 2020 Document ID 4000 40140 160 2020 IMST GmbH All rights reserved...

Страница 2: ...f 12 History Version Date Comment 1 0 October 2020 Initial Version Content General User Information Hardware Overview iO881A Startup Reader Functions Real Time Clock Synchronization LED and Push Butto...

Страница 3: ...explicit nor implicit is given for the correctness at the time of publication IMST GmbH reserves all rights to make corrections modifications enhancements and other changes to its products and servic...

Страница 4: ...s do so at their own risk Any resale of IMST GmbH products or services with statements different from or beyond the parameters stated by IMST GmbH for that product solution or service is not allowed a...

Страница 5: ...an overview about the hardware of iOKE868 iOKE868 LoRaWAN consist of iO881A for LoRaWAN antenna micro USB cable Figure iO881A for LoRaWAN antenna and USB cable Features of iO881A USB interface for gen...

Страница 6: ...cult RF environments Power Supply The iO881A is supplied via the Micro USB interface The configured iO881A can be supplied by an additional USB power supply or battery pack Interfaces of iO881A Push b...

Страница 7: ...alender Events and OBIS ID Filter have to be set to change the iO881A behavior Note the LoRaWAN Stack can be deactivated and reactivated again Step 3 LoRaWAN Stack Activation OTAA or ABP In case of Ov...

Страница 8: ...ement value within this record The OBIS ID Scan Mode can be activated to read and forward only the published OBIS IDs of the connected meter The captured OBIS IDs will be sent as a list via wired loca...

Страница 9: ...value is used to configure the RTC and is finally stored in the NVM for later usage after a system reset Due to the fact that some LoRaWAN server do not support the Get Time MAC Command a fall back m...

Страница 10: ...en 1 x Not used LoRaWAN stack activated Nothing iO881A is ready for meter data reading Red 2 x Read error or no data LoRaWAN configuration invalid or not activated Connect iO881A to PC and start confi...

Страница 11: ...equires an initial configuration before usage This configuration can be done by means of a PC Tool called WS Configurator which is connected via serial interface USB to the device For further informat...

Страница 12: ...Antenna Via MMCX connector LoRa Protocol Characteristics LoRaWAN Certified and compliant to V 1 0 2 Activation type ABP activation by personalization OTAA over the air activation Frequencies Standard...

Отзывы: