Read Profile generic data

6 posts / 0 new
Last post
Bhaumik
Read Profile generic data

Hi Mikko,

We need to communicate meter using the MQTT interface.

One dought is there if a meter is connected using MQTT broker, In that case how to identify the profile generic data received from the meter and other request's responses.

Can you please check and provide an update?

Kurumi
Kurumi's picture

Hi,

You can send only one request at time to the meter, so you know what you have read and what is the response. There is no identifier on the received data.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Bhaumik

Hi Mikko,

As per my understanding once the meter publishes a message to MQTT broker then the broker will send data to a meter. And in Subscriber, we get the response.

Consider the following scenario :

Now before getting a large profile generic response if we publish request message again in that case how we can identify that which response will be receive?

Kurumi
Kurumi's picture

Hi,

You can ask only one request at time from the meter. If your idea is that the message is lost, you re-send the request after a timeout. There is a message counter in HDLC frames and invalid messages are skipped.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Bhaumik

Hi Mikko,

Thanks for the update.

Now I want to send a request to multiple meters using the MQTT media interface and subscribe on topic where all responses will be receiving from meters.

In that case how to identify response and parse accordingly. Because when we receive the response we do not know which request's response received.

Can you please provide an update asap.

Kurumi
Kurumi's picture

Hi,

Each NIC has a unique topic. Using that topic you know who is the sender.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi