background image

 

 

CMi6160 

User’s Manual English 

 

 

 

 

 

 

 

 

 

 

 

 

CMi6160 

User’s Manual English 

page | 11 (38) 

[2022-10] 

 

v1.4 

 

 

 

 

6  Integration guide 

6.1  Purpose 

This chapter provides the technical details needed to integrate an Elvaco NB-IoT module with a MDM 
and/or DM server.  

Note that this section will provide device-specific information and is meant to be used with the 
common “Elvaco NB-IoT MCM Integrator’s guide”.  

6.2  Introduction 

For device management, the module will act as a LWM2M device connecting to a LwM2M server. The 
Device Management system enables configuration and monitoring of a CMi6160 module remotely. This 
includes setting configuration parameters, update the firmware and trigger momentaneous/historical 
readouts of the module. For meter data transport, the module uses the MQTT-SN protocol. 

Upon activation, the device will attempt to connect to its configured bootstrap server via the mobile (NB-
IoT) network. When successful, the module will receive connection credentials, i.e. IP addresses to the 
DM server and the meter data server. 

The module will thereafter connect to the DM server and perform a DTLS handshake to generate the 
session key used to encrypt the data that is transmitted between DM server and module. Note that using 
DTLS is optional, and the product also support unencrypted communication. 

The module will thereafter connect to the MQTT-SN gateway and perform a DTLS handshake to 
generate the sessions keys used to encrypt the meter data transport. 

Each module has a security chip where a device-unique set of keys are stored. These are provisioned to 
the module during production. The UDP transport of both DM and MDM can be secured using DTLS 1.2. 
Either the pre-provisioned keys can be used, or new keys can be provisioned during the bootstrap phase.  

6.3 

Status and configuration parameters 

Table 1 below provides a list of all CMi6160 status and configuration parameters accessible on LwM2M.  

Op. 

LwM2M object 

LwM2M resource 

ID 

Type 

Range or 
Enumeration 

Comment 

LwM2M Security 

LWM2M Server 
URI 

0/0/0 

String 

 

Bootstrap URI 

LwM2M Security 

Bootstrap server 

0/0/1 

Bool 

 

TRUE 

LwM2M Security 

Security Mode 

0/0/2 

Integer 

0..4 

BS Security 
mode 
 
0 = PSK mode 
3 = No security 

LwM2M Security 

PSK Identity 

0/0/3 

Opaque 

 

DevEUI 

LwM2M Security 

Secret Key 

0/0/4 

Opaque 

 

Bootstrap PSK 

LwM2M Security 

Short Server ID 

0/0/10 

Integer 

1..65534 

 

LwM2M Server 

Short Server ID 

1/0/0 

Integer 

1..65534 

 

LwM2M Server 

Lifetime 

1/0/1 

Integer 

 

 

LwM2M Server 

Bootstrap-
Request Trigger 

1/0/9 

 

 

 

R(W) 

LwM2M Security 

LWM2M Server 
URI 

0/1/0 

String 

 

DM ServerURI   
 
Writable by 
Bootstrap server 

LwM2M Security 

Bootstrap server 

0/1/1 

Bool 

 

FALSE 

Содержание 1100450

Страница 1: ...CMi6160 User s Manual English CMi6160 User s Manual English V1 4...

Страница 2: ...2 Antenna connection 9 5 2 3 Mounting battery power 9 5 2 4 Start up and LED indications 9 5 2 5 Switch off reboot module 10 6 INTEGRATION GUIDE 11 6 1 PURPOSE 11 6 2 INTRODUCTION 11 6 3 STATUS AND CO...

Страница 3: ...English page 3 38 2022 10 v1 4 7 8 2 JSON 33 7 8 3 SenML CBOR encoded telegram 33 8 TECHNICAL SPECIFICATIONS 34 9 TYPE APPROVALS 36 10 DOCUMENT HISTORY 37 10 1 VERSIONS 37 11 REFERENCES 38 11 1 TERMS...

Страница 4: ...tion and product are provided on an as is basis only and may contain deficiencies or inadequacies Elvaco AB takes no responsibility for damages liabilities or other losses by using this product 1 1 Co...

Страница 5: ...energy while switched on Remember that interference can occur if the product is used close to TV sets radios computers or inadequately shielded equipment Follow any special regulations and always swi...

Страница 6: ...d information in other languages please visit https www elvaco com 3 3 Symbols The following symbols are used throughout the manual to emphasize important information and useful tips The Note symbol i...

Страница 7: ...clude IoT ready As soon as the meter connectivity module has been mounted and started up it will automatically initiate transmission of meter data without any manual steps needed The CMi6160 is prepar...

Страница 8: ...is chapter the MCM will be mounted and deployed 5 2 Product overview CMi6160 Figure 1 CMi6160 frontside 1 Meter Interface 2 LED Green 3 LED Red 4 Power Connector 5 SIM Nano 6 Push Button 7 Antenna Con...

Страница 9: ...MCX connector to the module CMi6160 in the meter Make a hole in rubber gromets sealing and push the mcx connector through the gromet sealing Make sure thicker part of antenna cable is in gromet seal P...

Страница 10: ...the module has joined the mobile network When CMi6160 succeeds in connecting to the mobile network the green LED will lighten up for 8 seconds as illustrated by 2 If the module fails to join the mobil...

Страница 11: ...hat using DTLS is optional and the product also support unencrypted communication The module will thereafter connect to the MQTT SN gateway and perform a DTLS handshake to generate the sessions keys u...

Страница 12: ...e Firmware Version 3 0 3 String Firmware version E Device Reboot 3 0 4 Reboot R Device Available Power Sources 3 0 6 0 Integer 0 7 Power source 1 Internal battery 2 External battery 6 AC Mains power R...

Страница 13: ...Integer NB IoT T3412 Will be writeable in future releases R LwM2M Cellular Connectivity Active Timer 10 0 5 Integer NB IoT T3324 Will be writeable in future releases R LwM2M Cellular Connectivity eDR...

Страница 14: ...3 SenML CBOR RW Elvaco MCM Config Report frame type 33906 0 2 Integer CMi6160 42 Standard 43 Extended RW Elvaco MCM Config Eco mode Enabled 33906 0 3 Boolean Not used RW Elvaco MCM Config NFC Enabled...

Страница 15: ...33908 0 0 String R Elvaco Meter Info Meter ID 33908 0 1 Integer R Elvaco Meter Info Comm status 33908 0 2 Integer 0 OK 1 No meter detected 2 Error R Elvaco Meter Info Error flags 33908 0 3 Opaque Mete...

Страница 16: ...se the latest documentation available from DIEHL Metering Table 2 corresponds to Table 7 of EN 13757 3 2013 for M Bus Bit Description Usage 0 reserved 1 any application error 2 power low E 8 E 9 3 per...

Страница 17: ...ort circuit in ultrasonic transducer E 5 Reading too frequently M Bus communication not possible for short time E 6 Wrong direction of flow Flow sensor incorrectly installed E 7 No meaningful ultrason...

Страница 18: ...k functionality in place when changing the APN To change APN write the APN to the resource 10 1 1 and set APN mode to manual in 10 1 2 Once done stage the changes by executing 33906 0 15 When executed...

Страница 19: ...DST is in effect The timestamped meter data sent from the module can be adjusted to be sent in UTC by specifying the UTC offset configuration parameter The UTC offset will be subtracted from the time...

Страница 20: ...tempted unsent data will be resent if possible Retransmission can be done by FIFO or LIFO Rules for retransmissions include maximum age of data order of data number of retransmitted data transmission...

Страница 21: ...er data transmissions CMi6160 sends meter data messages according to it s transmit interval settings Meter read out is always related to meter s clock at time 00 00 00 Transmission time is randomized...

Страница 22: ...x M Bus Format F for Date Time Meter ID see Note 1 10 INT64 Enhanced Identification e g 0779xxxxxxxxxxxxxxxx Enhanced Meter Address for Diehl Sharky Energy 6 7 INT32 Energy consumption Wh J e g 0406xx...

Страница 23: ...Flow m3 h e g 023Bxxxxxx xxxxxx 0 001 m3 h Fw temp 4 INT16 Forward temperature C e g 025Axxxx xxxx 0 1 C Rt temp 4 INT16 Return temperature C e g 025Exxxx xxxx 0 1 C Alarm codes 4 INT8 Alarm codes e g...

Страница 24: ...l h FT 80 3 TU C RT 53 8 RU C EF 0x4012 7 4 2 3 SenML CBOR For battery powered devices it might be necessary to send several measurements in the same UDP frame to save energy In order to achieve this...

Страница 25: ...ng a parser for a specific product Base Time Base time is used to set a reference time o Timestamps are always encoded according to SenML i e UNIX time SenML label 1 Base time SenML definition of Time...

Страница 26: ...le defines allowed encoder types and versions The information is sent in a special record Encoder Version field This field encapsulates both the encoding of the data and versioning It contains no time...

Страница 27: ...1 fixed 24 00 Key 1 0 name 1 fixed 25 61 56 Value 1 string V version 2 fixed 26 02 Key 2 integer value 1 fixed 27 00 Value 2 UINT16 28 0x0000 enc 0 ver 0 3 max 29 Sum 8 bytes max 30 Follows X items of...

Страница 28: ...end the data It is for the user to define a configuration that gives a reasonable tradeoff between power consumption send fewer telegrams and functional requirements much data is sent If a device is c...

Страница 29: ...able in CMi6160 Parameter Description Configurable values Default value battery Device access Locked device correct PAK or open device Device access No PAK Meter ID Meter identification secondary ID f...

Страница 30: ...Writeable Readable DTLS max timeout The last timeout in seconds used when transmitting packets via DTLS for LWM2M 90 Readable Writeable Readable Communicati on retry count Number of connection attempt...

Страница 31: ...able Writeable Readable Power saving mode Setting for power save mode Disabled eDRX PSM eDRX PSM eDRX PS M Readable Writeable Readable T3324 timer LTE Active Timer This setting controls how long in se...

Страница 32: ...L CBOR SenML CB OR Readable Writeable Readable Readout interval Number of minutes between each meter data readout 5 1440 60 Readable Writeable Readable Report interval Number of minutes between each m...

Страница 33: ...ons available in CMi6160 Parameter Description Configurable values Default value battery Device access Locked device correct PAK or open device Device access No PAK Communicati on timeout MQTT SN time...

Страница 34: ...onmental specifications Operating temperature 5 to 55 C Operating humidity 0 93 RH No condensation Operating altitude 2000 m Pollution degree Degree 1 Usage environment Indoors Storage temperature 20...

Страница 35: ...ration 13 56 MHz ISO IEC 14443 Type 2Tag Configuration NFC via Elvaco OTC App via LwM2M Elvaco Evo DM system or third party DM system Preconfig on delivery General Supported Protocols LwM2M MQTT SN bo...

Страница 36: ...Mi6160 User s Manual English CMi6160 User s Manual English page 36 38 2022 10 v1 4 9 Type approvals CMi6160 is designed to comply with the directives and standard listed in EU Declaration of conformit...

Страница 37: ...Document history 10 1 Versions Version Date Description V0 1 2021 02 Evaluation samples V0 2 2021 06 LVD Basis V1 0 2022 03 Updated release document V1 1 2022 05 Updated from feedback loop V1 3 2022 0...

Страница 38: ...e MCM Meter Connectivity Module MD Meter Data MQTT MQ Telemetry Transport MQTT SN MQTT for Sensor Networks NB IoT Narrowband Internet of Things OSCORE Object Security Constrained RESTful Environments...

Отзывы: