# Hayes AT Commands (for RAK811 LoRaWAN) with Node-RED using flow (context) functions and variables

**URL:** <https://discourse.nodered.org/t/hayes-at-commands-for-rak811-lorawan-with-node-red-using-flow-context-functions-and-variables/49248>\
**Category:** Share Your Projects\
**Created:** [3 August 2021 07:07 UTC](https://discourse.nodered.org/t/hayes-at-commands-for-rak811-lorawan-with-node-red-using-flow-context-functions-and-variables/49248 "2021-08-03T07:07:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [3 August 2021 08:47 UTC](https://discourse.nodered.org/t/hayes-at-commands-for-rak811-lorawan-with-node-red-using-flow-context-functions-and-variables/49248/2 "2021-08-03T08:47:43Z")

</div>

> [@btssn988](#):
>
> [Link to download the flow](http://mr-techno-988.blogspot.com/2021/08/hayes-at-commands-for-rak811-lorawan.html)
> 
> _Exemple of AT sequence :_  
> msg.payload=  
> [  
> {  
> "topic": "JOIN OTAA",  
> ....

Why not share the flow and code in a properly formatted method as per forum requirements?

> [@How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506):
>
> To share code samples or flow json in this forum, you need to take care to format it properly so that it is displayed correctly. The easiest way to do that is to click the 'Preformatted Text' button in the toolbar: [image] Then paste in your code or flow json. You should end up with three back-tick characters - ``` - on their own line before and after the code. On standard US English keyboards, this is on the same key as the ~ character. Using the backticks will ens…

---

_[View the full topic](https://discourse.nodered.org/t/hayes-at-commands-for-rak811-lorawan-with-node-red-using-flow-context-functions-and-variables/49248)._
