<?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>RAK4600 (nRF52832+SX1276 LoraWan Chip) last resort GW via bluetooth</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66307/rak4600-nrf52832-sx1276-lorawan-chip-last-resort-gw-via-bluetooth</link><description>Looking around to develop hardware/software using the RAK4600 module! 
 RAK4600 (lora Node) uses Lora as its main way to communicate with my Lora server (normal flow). 
 Consider the hardware (lora node) will be almost always near a cell phone! 
 The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Sep 2020 07:57:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66307/rak4600-nrf52832-sx1276-lorawan-chip-last-resort-gw-via-bluetooth" /><item><title>RE: RAK4600 (nRF52832+SX1276 LoraWan Chip) last resort GW via bluetooth</title><link>https://devzone.nordicsemi.com/thread/272195?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 07:57:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5aeed50c-e993-4fda-9cad-4fa8216aa5c2</guid><dc:creator>Edvin</dc:creator><description>[quote user="mvcorrea"]- Can I initiate communication from node to cell phone (phone listening for connections)?[/quote]
&lt;p&gt;&amp;nbsp;Assuming you are talking about BLE communication. You can start BLE advertising from the node. If the phone sees these advertisements, you can (typically from a custom application) initiate a connection from the phone.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="mvcorrea"]- Can I remove the payload from the bluetooth frame attach to an http POST request and call a REST API?[/quote]
&lt;p&gt;&amp;nbsp;I don&amp;#39;t know. I am no expert in HTTP, but HTTP is not used in BLE. You can send whatever data you want over BLE, so perhaps you can pack your payload (REST command? I don&amp;#39;t know what that is) and send it over BLE.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I suggest you look into the ble_app_uart example from our &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK"&gt;SDK&lt;/a&gt;, and look at how this works. Then it should be clearer for you how you send data from the nRF to the phone.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAK4600 (nRF52832+SX1276 LoraWan Chip) last resort GW via bluetooth</title><link>https://devzone.nordicsemi.com/thread/272162?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 02:42:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ced4ed01-ca75-4864-b1f9-206e4196945a</guid><dc:creator>mvcorrea</dc:creator><description>&lt;p&gt;Hi there, thanks again.&lt;/p&gt;
&lt;p&gt;Sorry but I am a little confused here.&lt;/p&gt;
&lt;p&gt;the nrf will be connected with some spi sensors (eventually a gps via UART).&lt;/p&gt;
&lt;p&gt;and sending updated data via lora radio (lets suppose the lora part is already working &amp;quot;data arriving on the lora server&amp;quot;).&lt;/p&gt;
&lt;p&gt;When a lora gateway is not available I need to route those bytes thru the cell phone in order to reach the lora server.&lt;/p&gt;
&lt;p&gt;Having the bluetooth payload on the phone I just need to call an REST API with it.&lt;/p&gt;
&lt;p&gt;sorry if I am still not clear enough!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAK4600 (nRF52832+SX1276 LoraWan Chip) last resort GW via bluetooth</title><link>https://devzone.nordicsemi.com/thread/272161?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 02:23:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f7381bd-31e6-4bd6-a72d-44170576eeac</guid><dc:creator>mvcorrea</dc:creator><description>&lt;p&gt;HI there,&lt;/p&gt;
&lt;p&gt;let me try another approach, because I am lost. Of course I need to read more about ble :)&lt;/p&gt;
&lt;p&gt;lets suppose one way communication! Node to Server (thru cell phone)&lt;/p&gt;
&lt;p&gt;- Can I initiate communication from node to cell phone (phone listening for connections)?&lt;/p&gt;
&lt;p&gt;- Can I remove the payload from the bluetooth frame attach to an http POST request and call a REST API?&lt;/p&gt;
&lt;p&gt;the payload is 50 bytes MAX in length, I could implement a queue and call the rest api in once in a minute.&lt;/p&gt;
&lt;p&gt;at the beginning its all I intent.&lt;/p&gt;
&lt;p&gt;I am in void here, any sample code implementing any of this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAK4600 (nRF52832+SX1276 LoraWan Chip) last resort GW via bluetooth</title><link>https://devzone.nordicsemi.com/thread/271528?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2020 13:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3997d17b-d749-4f6e-ae0b-310ed8ed614d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Still not entirely sure that I understand the use case, but you can use BLE to send messages from the nRF52 to the phone. In what cases you would send this messages is up to the application logic, so you would need to decide that. E.g. how to find out that a message is not in the cloud -&amp;gt; signal the nRF52 -&amp;gt; nRF52 receives signal -&amp;gt; BLE -&amp;gt; phone -&amp;gt; upload to cloud.&lt;/p&gt;
&lt;p&gt;I can help you with the nRF52 receives signal -&amp;gt; BLE part, and how to receive the signal (pin / UART / SPI / whatever protocol you use). The rest of the logic from the LORA chip or on the cloud side of the phone is not my field of expertise.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAK4600 (nRF52832+SX1276 LoraWan Chip) last resort GW via bluetooth</title><link>https://devzone.nordicsemi.com/thread/271379?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2020 14:47:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a61e4c78-aae5-4e0c-80d9-3c1aab440e74</guid><dc:creator>mvcorrea</dc:creator><description>&lt;p&gt;Hi Edvin, thanks for your prompt response.&lt;/p&gt;
&lt;p&gt;Explaining the topology in a better way.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://docs.rakwireless.com/Product-Categories/WisDuo/RAK4600-Module/"&gt;RAK4600&lt;/a&gt;&amp;nbsp;module (lora node) consists in the nrf52832 and a lora chip (?SPI connected?), and a few more sensors!&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://mikrotik.com/product/wap_lr9_kit"&gt;Lora Gateway&lt;/a&gt; is a mikrotik wAp LR9 kit.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://www.chirpstack.io/"&gt;Lora Server&lt;/a&gt; is a server running ChirpStack LoraWan Network Server.&lt;/p&gt;
&lt;p&gt;I &amp;quot;think&amp;quot; the required is:&lt;/p&gt;
&lt;p&gt;- the cellphone connects to RAK4600 (nrf52) and receive the flow of lora messages (~50bytes long)&lt;/p&gt;
&lt;p&gt;- the phone encapsulates the message(s) in a tcp/ip package and forward it to the lora server.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how it works but I suppose I need a daemon/service running on the cellphone waiting for the &amp;quot;bounced&amp;quot; messages! If they appear forward them. So coding is needed on the &amp;quot;nrf52&amp;quot; and on the cellphone &amp;quot;daemon/service&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;feasible? any suggestion?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Marcelo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAK4600 (nRF52832+SX1276 LoraWan Chip) last resort GW via bluetooth</title><link>https://devzone.nordicsemi.com/thread/271351?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2020 13:20:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d915b63e-9dd6-49c0-a175-61e40e5735e8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;That may be. Does the Lora node support&amp;nbsp; BLE? To be honest I am not sure I understand the use case. The nRF52 supports BLE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What sort of device is the Lora node? The nRF can communicate with a Cell phone over BLE. The rest is something you would have to set up.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>