<?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>Messages sent in data mode get broken to cloud</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106930/messages-sent-in-data-mode-get-broken-to-cloud</link><description>Hi Team, 
 
 We are trying to send data to our cloud in data mode 
 Data contain # of messages which are sent in about 1 sec delay from each other and only after we receive the comfirmation 3,0 event 
 But when we look at our server we see that some messages</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Dec 2023 10:19:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106930/messages-sent-in-data-mode-get-broken-to-cloud" /><item><title>RE: Messages sent in data mode get broken to cloud</title><link>https://devzone.nordicsemi.com/thread/462073?ContentTypeID=1</link><pubDate>Fri, 29 Dec 2023 10:19:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9746620-283b-4afe-8d7f-e36347f5e879</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="Ofir_A"]&lt;span&gt;That&amp;#39;s what they noted, let me know if this make any&amp;nbsp;&lt;/span&gt;sense[/quote]
&lt;p&gt;Yes, this make sense.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Are you able to provide any logs from receiving in SLM and sending from SLM? This way I can forward to our SLM team to get more information and a possible fix.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Messages sent in data mode get broken to cloud</title><link>https://devzone.nordicsemi.com/thread/461924?ContentTypeID=1</link><pubDate>Thu, 28 Dec 2023 09:56:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dea7ffdd-a340-4a04-8209-b8129e675d4e</guid><dc:creator>Ofir_A</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;According&lt;span&gt;&amp;nbsp;to SW they think its between SLM and server because they noticed few cases that messages were broken but delivered all&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I explain&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;our MCU send 1 message to SLM, this message is getting to our server in 2 messages and our server can&amp;#39;t combine them&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For example: we send to SLM 1 message:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &amp;quot;activity:0,0,1,2,1,4&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;SLM send to server 2 message:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;activity:0,0,1&lt;br /&gt;,2,1,4&amp;quot;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That&amp;#39;s what they noted, let me know if this make any&amp;nbsp;&lt;/span&gt;sense&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Messages sent in data mode get broken to cloud</title><link>https://devzone.nordicsemi.com/thread/461866?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 18:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b92828cb-6518-4a57-afd6-f6a989b6dcbb</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Yes, please do! Once we have more information from that side, we can move forward to our developers next week.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;-Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Messages sent in data mode get broken to cloud</title><link>https://devzone.nordicsemi.com/thread/461858?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 15:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:438b8b6d-68d1-488c-93b3-16ad848c8b33</guid><dc:creator>Ofir_A</dc:creator><description>&lt;p&gt;will check with SW and come back to you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Messages sent in data mode get broken to cloud</title><link>https://devzone.nordicsemi.com/thread/461855?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 14:55:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddb39a5a-6cd0-4c22-8653-edbfec41ef1e</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;The good JSON is sent from another MCU. Have you verified if there is an issue with UART flow control? Are you using RAI with your device?&lt;/p&gt;
&lt;p&gt;Do you know if the JSON data is good when received? Do you know if the data is good when sent from SLM and goes bad between SLM and server?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Messages sent in data mode get broken to cloud</title><link>https://devzone.nordicsemi.com/thread/461837?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 14:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbf6c739-2db3-47ce-b1df-cf26192892a4</guid><dc:creator>Ofir_A</dc:creator><description>&lt;p&gt;Yes this is the problem,&lt;/p&gt;
&lt;p&gt;We send the modem a good JSON, the modem transmit bad&amp;nbsp;JSON&lt;/p&gt;
&lt;p&gt;This is what we trying to figure out&lt;/p&gt;
&lt;p&gt;If we send each msg separated (exit data mode and publish exit data mode and publish) and not all in the same publish (data mode) it will be ok, only in data mode it gets broken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Messages sent in data mode get broken to cloud</title><link>https://devzone.nordicsemi.com/thread/461833?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 13:55:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bca3bbdf-d73c-44cc-ae38-ef2b80919343</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Looking at the failed log there seems to be an issue with the JSON formatting. As noted at end of&amp;nbsp; each line:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Exception: Unexpected character (&amp;#39;.&amp;#39; (code 46)) in numeric value: Decimal point not followed by a digit
Exception: Unexpected character (&amp;#39;8&amp;#39; (code 56)): was expecting double-quote to start field name
Exception: Unexpected character (&amp;#39;s&amp;#39; (code 115)): was expecting double-quote to start field name
Exception: Unexpected end-of-input in field name&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Any JSON verification on your side (in application)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Messages sent in data mode get broken to cloud</title><link>https://devzone.nordicsemi.com/thread/461808?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 12:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb2339c9-91c2-470b-a132-e701016392e2</guid><dc:creator>Ofir_A</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for the reply&lt;/span&gt;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/106930/messages-sent-in-data-mode-get-broken-to-cloud/461793"]Based on case 314826 are you using nRF Connect SDK v2.1.2 or 2.4.0? Do you get the same in both?&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;It happens&amp;nbsp;in both 2.1.2 and 2.4.0&lt;/span&gt;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/106930/messages-sent-in-data-mode-get-broken-to-cloud/461793"]Do you have any logs of a successful JSON formatted message?[/quote]
&lt;p&gt;&lt;span&gt;The log &amp;#39;sent msg&amp;#39; is all the JSON that were sent, the successful ones a parsed correctly&amp;nbsp;to server, they arrived to server exactly&amp;nbsp;how they sent&lt;/span&gt;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/106930/messages-sent-in-data-mode-get-broken-to-cloud/461793"]Can provide more information on how you sending these messages from your application?[/quote]
&lt;p&gt;&lt;span&gt;We connect to MQTT and then publish:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;[19/12 18:07:46:221] AT#XMQTTCON=1,&amp;quot;
[19/12 18:07:46:241] PLU39236205
[19/12 18:07:46:261] &amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;a34k7wa09ujucc-ats.iot.us-east-1.amazonaws.com&amp;quot;,8883,321
[19/12 18:07:48:974] #XMQTTEVT: 0,0

[19/12 18:07:49:014] AT#XMQTTPUB=&amp;quot;
[19/12 18:07:49:024] Staging/ToServer/v2/Operational
[19/12 18:07:49:054] &amp;quot;,&amp;quot;&amp;quot;,1
[19/12 18:07:49:075] OK&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Messages sent in data mode get broken to cloud</title><link>https://devzone.nordicsemi.com/thread/461793?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 12:27:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d5a40a2-f9fd-4aab-8e21-31d42d69f6ed</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Due to Christmas holiday in our technical support team we are lower staffed than normal, this may cause some delays in our answers. Sorry for the inconvenience.&amp;nbsp;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Can provide more information on how you sending these messages from your application? Based on case 314826 are you using nRF Connect SDK v2.1.2 or 2.4.0? Do you get the same in both?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do you have any logs of a successful JSON formatted message?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>