<?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>Custom scripts in modem_cellular.c.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108659/custom-scripts-in-modem_cellular-c</link><description>Hi team, I want to make my own custom scripts to run them in BG95 modem using modem_cellular.c zephyr library. The problem is that this lib only initialize the modem to be able to connect with any TCP connection, so I am able to use the mqtt lib and any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Mar 2024 11:57:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108659/custom-scripts-in-modem_cellular-c" /><item><title>RE: Custom scripts in modem_cellular.c.</title><link>https://devzone.nordicsemi.com/thread/471997?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 11:57:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f32baea9-c0b1-459b-b401-dba74d8f3344</guid><dc:creator>AndrewAWG</dc:creator><description>&lt;p&gt;Gentlemen, If you want to add a script to run directly from your application layer.&amp;nbsp;&lt;br /&gt;you need to have SDK 2.6.0 and later which they released on the 3rd of march.&amp;nbsp;&lt;br /&gt;you will find in &amp;quot;C:\ncs\v2.6.0-rc1\zephyr\drivers\modem\modem_cellular.c&amp;quot; a struct called&amp;nbsp;&lt;span&gt;struct&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;cellular_driver_api&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;modem_cellular_api&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;where you can add an api and run a script when you call it anywhere.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom scripts in modem_cellular.c.</title><link>https://devzone.nordicsemi.com/thread/471915?ContentTypeID=1</link><pubDate>Sun, 03 Mar 2024 09:18:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72f3fd38-d057-458c-82df-222a7c0ce7e0</guid><dc:creator>AndrewAWG</dc:creator><description>&lt;p&gt;if you opened the example :&amp;nbsp;&lt;a id="" href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/net/cellular_modem/src/main.c"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/net/cellular_modem/src/main.c&lt;/a&gt;&lt;br /&gt;in zephyr. You will find that he is using modem_cellular.c library.&amp;nbsp;&lt;br /&gt;in this lib, he used 3 scripts one for initialization, second for internet connection and the third one to make sure that you have a signal. My question is, how to make a fourth script that I can you for custom AT commands and invoke it for my applicaiton directly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom scripts in modem_cellular.c.</title><link>https://devzone.nordicsemi.com/thread/471529?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 12:51:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aad73d78-e643-460e-a14c-52eb73d5f36f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;In that case, I do not understand what is not working.&lt;/p&gt;
&lt;p&gt;What is working so far for you?&lt;/p&gt;
&lt;p&gt;What is the current problem you have?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom scripts in modem_cellular.c.</title><link>https://devzone.nordicsemi.com/thread/471092?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 15:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c2b18bd-f8fe-458e-ad40-3a744b600690</guid><dc:creator>AndrewAWG</dc:creator><description>&lt;p&gt;Hey&amp;nbsp;&lt;span&gt;Sigurd,&amp;nbsp;&lt;br /&gt;no nothing is missing. I want to create a third script and to be able to start it in my application layer.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom scripts in modem_cellular.c.</title><link>https://devzone.nordicsemi.com/thread/471090?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 15:29:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0eb07d7-b1ae-42f8-a11e-c21f01a6c2a9</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]The problem is that this lib only initialize the modem to be able to connect with any TCP connection, so I am able to use the mqtt lib and any other connection lib.&amp;nbsp;[/quote]
&lt;p&gt;Looks like this sentence is missing a &amp;quot;not&amp;quot; somewhere.&lt;/p&gt;
&lt;p&gt;What does not work?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>