CMi6160 User’s Manual English Contents DOCUMENT NOTES ..................... 4 ..................4 OPYRIGHT AND TRADEMARK ........................4 ONTACTS IMPORTANT USAGE AND SAFETY INFORMATION ........... 5 USING THIS MANUAL ....................6 ....................6 URPOSE AND AUDIENCE ...................... 6 NLINE RESOURCES ........................6 YMBOLS INTRODUCTION ......................
Page 3
CMi6160 User’s Manual English 7.8.2 JSON ......................... 33 7.8.3 SenML/CBOR encoded telegram ................33 TECHNICAL SPECIFICATIONS .................. 34 TYPE APPROVALS ..................... 36 DOCUMENT HISTORY ....................37 10.1 ........................37 ERSIONS REFERENCES ......................38 11.1 ..................38 ERMS AND ABBREVIATIONS 11.2 ..................
Failure to comply with these precautions violates safety standards of design, manufacture and intended use of the product. Elvaco AB assumes no liability for customer’s failure to comply with these precautions.
DM system and a receiving MDM server. It is meant to be used along with the common “Elvaco NB-IoT Module Integrators Manual”, which provides information about the bootstrapping process, device management, data transport and encryption.
The CMi6160 is prepared for seamless integration with all leading IoT platforms. • Battery operated CMi6160 has several options for power supply. It can be battery operated for up to 13 years with daily transmission of meter data. • One-Touch Commissioning The product uses the Elvaco One-Touch Commissioning (OTC) to configure and deploy products quickly and securely.
CMi6160 User’s Manual English Getting started Purpose This chapter provides instructions on how to get started with the CMi6160. After reading and carefully following each step of this chapter, the MCM will be mounted and deployed. Product overview CMi6160 Figure 1: CMi6160 frontside 1.
Figure 3: Module slots - SHARKY 775 (Left) & SCYLAR 548 (Right) 5.2.2 Antenna connection If the CMi6160 is equipped with internal antenna no additional actions need to be taken. If external antenna is used, disconnect the internal antenna (if it is mounted) from MCX connector of CMi6160. See Figure 4 below for internal antenna positioning.
CMi6160 User’s Manual English 2. Open the Elvaco OTC app available in Google Play or App Store and scan the module (make sure NFC is activated on the phone). Go to Apply mode, set the power mode to “active” and press Apply settings.
Either the pre-provisioned keys can be used, or new keys can be provisioned during the bootstrap phase. Status and configuration parameters Table 1 below provides a list of all CMi6160 status and configuration parameters accessible on LwM2M. LwM2M object LwM2M resource...
Page 12
CMi6160 User’s Manual English LwM2M object LwM2M resource Type Range or Comment Enumeration R(W) LwM2M Security Security Mode 0/1/2 0..4 DM Security mode Writable by Bootstrap server LwM2M Security PSK Identity 0/1/3 Opaque DM PSK identity (DevEUI) LwM2M Security Secret Key...
Page 13
CMi6160 User’s Manual English LwM2M object LwM2M resource Type Range or Comment Enumeration Connectivity SMCC 4/0/10 Integer 0..999 Monitoring PLMN = SMNC + SMCC Firmware Package URI 5/0/1 Firmware Update Update URI Firmware Update 5/0/2 Firmware Update Update Trigger Firmware...
Page 14
CMi6160 User’s Manual English LwM2M object LwM2M resource Type Range or Comment Enumeration Elvaco MDM Protocol 33905/0/ Integer MDM Server Server Protocol 0 = MQTT-SN Elvaco MDM Transport Security 33905/0/ Integer 0..4 MDM Server Server Mode Transport Security Mode 0 = PSK mode...
Page 15
NB-IoT Last Info duration Regsitration Duration Elvaco NB-IoT Modem Model 33909/0/ String NB-IoT Modem Info Model Elvaco NB-IoT Modem Firmware 33909/0/ String NB-IoT Modem Info Firmware Table 1: CMi6160 status/configuration parameters CMi6160 User’s Manual English page | 15 (38) [2022-10] v1.4...
CMi6160 User’s Manual English 6.3.1 DIEHL METERING SHARKY & SCYLAR error codes The error codes transported from an MCM is the status byte of the M-Bus header. Bits 71:64 of M-Bus header. Meaning of Error Codes The following information is from the documentation received from Diehl Metering. It has only been enhanced by formatting, contents is as-is straight from the document.
Page 17
CMi6160 User’s Manual English Table 4 contains error display codes and corresponding explanations. Error display Meaning Basic parameter error in flash or RAM Temperature measurement error Temperature range exceeded [-9.9 °C … 190 °C] Sensor short-circuit Sensor break E-3** Temperature sensors reversed in hot and cold lines...
CMi6160 User’s Manual English Changing APN via the DM system Since changing APN is a potentially hazardous operation that may render the device disconnected from the mobile network, there is a rollback 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.
Elvaco OTC App or the OTC web interface. Note that the default setting of the CMi6160 is Open, meaning the user must set it to Lock to activate the configuration lock. In section 7.5, all default configurations are listed.
CMi6160 User’s Manual English be carried out at other times but are planned at full ours given a set transmission interval (T ). The transmit figure below illustrates this. The transmissions are planned at time T . The actual T...
Meter 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 between read outs. The user can customize the data sent from the module by configuring message format and encoding of the telegram.
Page 22
CMi6160 User’s Manual English Field Description Volume INT32 Volume (m3) e.g. 0413xxxxxxxx = xxxxxxxx * 0.001 m3 Power INT16 Power (W) e.g. 022Bxxxxxx = xxxxxx * 0.001 kW (W) Flow (m3/h) Flow INT16 e.g. 023Bxxxxxx = xxxxxx * 0.001 m3/h Fw temp INT16 Forward temperature (°C)
CMi6160 User’s Manual English Field Description Date and Time (Type F), Date and Time INT32 e.g. 046Dxxxxxxxx (see Note 1) M-Bus Format F for Date & Time (Enhanced) Identification Meter ID INT64 e.g. 0779xxxxxxxxxxxxxxxx (see Note 1) Enhanced Meter Address for Diehl Sharky...
Page 24
CMi6160 User’s Manual English Field JSON key Energy unit Volume Volume unit Power Power unit Flow Flow unit Forward temperature Forward temperature unit Return temperature Return temperature unit Error flags Tariff 1 Energy* Tariff 1 Energy unit* Tariff 2 Energy*...
Page 25
NB-IoT. Also, other means of encoding the data than M-Bus can be used in the future. Elvaco uses SenML/CBOR/M-Bus data representation for transferring meter data in a compact and self- describing manner. The data being transferred is referred to as a pack, containing one record per readout.
Page 26
CMi6160 User’s Manual English encoded payload data. Additional Records All records in the SenML pack are expected to contain measurement values. If there is a need for transmitting additional information in the same pack additional records can be added. For such records the name field shall be used by defining a name of at least a single character.
Page 27
CMi6160 User’s Manual English Example and Data Size Below is a break-down of the number of bytes used for the different parts described above. : size (bytes) 98 18 # 24 item array : 2 (fixed) # Map with length 3...
Page 28
CMi6160 User’s Manual English Configuration SenML/CBOR is to be considered a message encoding. It defines how the messages are encoded, but not the actual contents of the messages (which fields from the meter are included). SenML/CBOR/M-Bus is one such encoding, but there could be several based on this SenML/CBOR specification and the encoder version field above defines exactly which type and version is used.
CMi6160 is configured via preconfigure service at delivery, via LwM2M device management or via the Elvaco OTC App, using NFC to transfer settings to the module. The Elvaco OTC App is downloaded via Google Play or at App Store for iOS. When the application has been installed, you can log in by using the user symbol in the top right corner.
Page 30
CMi6160 User’s Manual English Device access – Device access – Parameter Description Configurable Default values value Locked device & No PAK (battery) correct PAK or open device Bootstrap Port of the bootstrap 5694 Readable/ Readable port server the module will...
Page 31
CMi6160 User’s Manual English NB-IoT-related configurations available in CMi6160. Device access – Device access – Parameter Description Configurable Default values value Locked device & No PAK (battery) correct PAK or open device APN mode Sets how APN Auto, Manual Auto...
Page 32
Writeable seconds. After this period, the device will enter deep sleep until next connection attempt- Table 11: NB-IoT-related configurations. Payload setup configurations available in CMi6160: Device access – Device access – Parameter Description Configurable Default values value Locked device &...
CMi6160 User’s Manual English Technical specifications Type Value Unit Comments Mechanics Dimensions (w x h x d) 45 x 37 x 9 Weight Mounting In DIEHL metering SHARKY & SCYLAR modules. External antenna connector MCX female SIM card Slide, size Nano...
Page 35
CMi6160 User’s Manual English Push button Start-up, reboot NFC Configuration 13,56 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...
CMi6160 User’s Manual English Type approvals CMi6160 is designed to comply with the directives and standard listed in EU Declaration of conformity. CMi6160 User’s Manual English page | 36 (38) [2022-10] v1.4...
Need help?
Do you have a question about the CMi6160 and is the answer not in the manual?
Questions and answers