<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Individual data usage identification of LTE / MQTT connections</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80929/individual-data-usage-identification-of-lte-mqtt-connections</link><description>Hi Dev team, 
 I have an application working on the Thingy91 that sends the data of the sensors through MQTT to our server. I was interested in knowing the data usage of the whole sending process as such. 
 I found an AT command : AT%XCONNSTAT that gives</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Oct 2021 09:55:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80929/individual-data-usage-identification-of-lte-mqtt-connections" /><item><title>RE: Individual data usage identification of LTE / MQTT connections</title><link>https://devzone.nordicsemi.com/thread/335442?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 09:55:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9981b0fa-7e4d-4791-9514-6415f495ca33</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Is there a way to estimate as to how much data the MQTT connection consumes and how much the LTE connection consumes individually ?[/quote]
&lt;p&gt;Unfortunately, there&amp;#39;s no way to see the detailed data usage of a specific connection / socket_fd. As you mention, the AT%XCONNSTAT gives overall usage, which is the closest we can offer to your wanted behavior.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>