{"id":858,"date":"2020-11-28T20:00:38","date_gmt":"2020-11-28T13:00:38","guid":{"rendered":"https:\/\/www.makeriot2020.com\/?p=858"},"modified":"2020-11-28T20:00:43","modified_gmt":"2020-11-28T13:00:43","slug":"multiple-lora-device-communication","status":"publish","type":"post","link":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/","title":{"rendered":"Multiple LoRa Device Communication"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this part of my LoRa Series ( Part 3 ) I will look at some basic code for the Heltec LoRa 32 V2 Module. This code will in particular be focused on Multiple device communication. It can easily adapted from the stock example (as provided below) to implement a custom addressing scheme. <br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">LoRa Multiple Communications No Interrupt<\/h2>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<pre class=\"wp-block-code\"><code>#include \"heltec.h\"\n\n#define BAND    433E6  \/\/you can set band here directly,e.g. \/\/868E6,915E6\n\n\nString outgoing;              \/\/ outgoing message\n\nbyte localAddress = 0xBB;     \/\/ address of this device\nbyte destination = 0xFD;      \/\/ destination to send to\n\nbyte msgCount = 0;            \/\/ count of outgoing messages\nlong lastSendTime = 0;        \/\/ last send time\nint interval = 2000;          \/\/ interval between sends\n\nvoid setup()\n{\n   \/\/WIFI Kit series V1 not support Vext control\n  Heltec.begin(true \/*DisplayEnable Enable*\/, true \/*Heltec.LoRa Enable*\/, true \/*Serial Enable*\/, true \/*PABOOST Enable*\/, BAND \/*long BAND*\/);\n\n  Serial.println(\"Heltec.LoRa Duplex\");\n\n \n}\n\nvoid loop()\n{\n  if (millis() - lastSendTime > interval)\n  {\n    String message = \"Hello there!\";   \/\/ send a message\n    sendMessage(message);\n    Serial.println(\"Sending \" + message);\n    lastSendTime = millis();            \/\/ timestamp the message\n    interval = random(2000) + 1000;    \/\/ 2-3 seconds\n  }\n\n  \/\/ parse for a packet, and call onReceive with the result:\n  onReceive(LoRa.parsePacket());\n}\n\nvoid sendMessage(String outgoing)\n{\n  LoRa.beginPacket();                   \/\/ start packet\n  LoRa.write(destination);              \/\/ add destination address\n  LoRa.write(localAddress);             \/\/ add sender address\n  LoRa.write(msgCount);                 \/\/ add message ID\n  LoRa.write(outgoing.length());        \/\/ add payload length\n  LoRa.print(outgoing);                 \/\/ add payload\n  LoRa.endPacket();                     \/\/ finish packet and send it\n  msgCount++;                           \/\/ increment message ID\n}\n\nvoid onReceive(int packetSize)\n{\n  if (packetSize == 0) return;          \/\/ if there's no packet, return\n\n  \/\/ read packet header bytes:\n  int recipient = LoRa.read();          \/\/ recipient address\n  byte sender = LoRa.read();            \/\/ sender address\n  byte incomingMsgId = LoRa.read();     \/\/ incoming msg ID\n  byte incomingLength = LoRa.read();    \/\/ incoming msg length\n\n  String incoming = \"\";\n\n  while (LoRa.available())\n  {\n    incoming += (char)LoRa.read();\n  }\n\n  if (incomingLength != incoming.length())\n  {   \/\/ check length for error\n    Serial.println(\"error: message length does not match length\");\n    return;                             \/\/ skip rest of function\n  }\n\n  \/\/ if the recipient isn't this device or broadcast,\n  if (recipient != localAddress &amp;&amp; recipient != 0xFF) {\n    Serial.println(\"This message is not for me.\");\n    return;                             \/\/ skip rest of function\n  }\n\n  \/\/ if message is for this device, or broadcast, print details:\n  Serial.println(\"Received from: 0x\" + String(sender, HEX));\n  Serial.println(\"Sent to: 0x\" + String(recipient, HEX));\n  Serial.println(\"Message ID: \" + String(incomingMsgId));\n  Serial.println(\"Message length: \" + String(incomingLength));\n  Serial.println(\"Message: \" + incoming);\n  Serial.println(\"RSSI: \" + String(LoRa.packetRssi()));\n  Serial.println();\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">LoRa Multiple communication, Interrupt<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>#include \"heltec.h\"\n\n#define BAND    433E6  \/\/you can set band here directly,e.g. 868E6,915E6\n\n  \nbyte localAddress = 0xBB;     \/\/ address of this device\nbyte destination = 0xFF;      \/\/ destination to send to\n\nString outgoing;              \/\/ outgoing message\nbyte msgCount = 0;            \/\/ count of outgoing messages\nlong lastSendTime = 0;        \/\/ last send time\nint interval = 2000;          \/\/ interval between sends\n\nvoid setup()\n{\n   \/\/WIFI Kit series V1 not support Vext control\n  Heltec.begin(true \/*DisplayEnable Enable*\/, true \/*Heltec.LoRa Disable*\/, true \/*Serial Enable*\/, true \/*PABOOST Enable*\/, BAND \/*long BAND*\/);\n\n  LoRa.onReceive(onReceive);\n  LoRa.receive();\n  Serial.println(\"Heltec.LoRa init succeeded.\");\n}\n\nvoid loop()\n{\n  if (millis() - lastSendTime > interval)\n  {\n    String message = \"Hello World!\";   \/\/ send a message\n    sendMessage(message);\n    Serial.println(\"Sending \" + message);\n    lastSendTime = millis();            \/\/ timestamp the message\n    interval = random(2000) + 1000;     \/\/ 2-3 seconds\n    LoRa.receive();                     \/\/ go back into receive mode\n  }\n}\n\nvoid sendMessage(String outgoing)\n{\n  LoRa.beginPacket();                   \/\/ start packet\n  LoRa.write(destination);              \/\/ add destination address\n  LoRa.write(localAddress);             \/\/ add sender address\n  LoRa.write(msgCount);                 \/\/ add message ID\n  LoRa.write(outgoing.length());        \/\/ add payload length\n  LoRa.print(outgoing);                 \/\/ add payload\n  LoRa.endPacket();                     \/\/ finish packet and send it\n  msgCount++;                           \/\/ increment message ID\n}\n\nvoid onReceive(int packetSize)\n{\n  if (packetSize == 0) return;          \/\/ if there's no packet, return\n\n  \/\/ read packet header bytes:\n  int recipient = LoRa.read();          \/\/ recipient address\n  byte sender = LoRa.read();            \/\/ sender address\n  byte incomingMsgId = LoRa.read();     \/\/ incoming msg ID\n  byte incomingLength = LoRa.read();    \/\/ incoming msg length\n\n  String incoming = \"\";                 \/\/ payload of packet\n\n  while (LoRa.available())             \/\/ can't use readString() in callback\n  {\n    incoming += (char)LoRa.read();      \/\/ add bytes one by one\n  }\n\n  if (incomingLength != incoming.length())   \/\/ check length for error\n  {\n    Serial.println(\"error: message length does not match length\");\n    return;                             \/\/ skip rest of function\n  }\n\n  \/\/ if the recipient isn't this device or broadcast,\n  if (recipient != localAddress &amp;&amp; recipient != 0xFF)\n  {\n    Serial.println(\"This message is not for me.\");\n    return;                             \/\/ skip rest of function\n  }\n\n  \/\/ if message is for this device, or broadcast, print details:\n  Serial.println(\"Received from: 0x\" + String(sender, HEX));\n  Serial.println(\"Sent to: 0x\" + String(recipient, HEX));\n  Serial.println(\"Message ID: \" + String(incomingMsgId));\n  Serial.println(\"Message length: \" + String(incomingLength));\n  Serial.println(\"Message: \" + incoming);\n  Serial.println(\"RSSI: \" + String(LoRa.packetRssi()));\n  Serial.println();\n}<\/code><\/pre>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this part of my LoRa Series ( Part 3 ) I will look at some basic code for the Heltec LoRa 32 V2 Module. This code will in particular be focused on Multiple device communication. It can easily adapted from the stock example (as provided below) to implement a custom addressing scheme. LoRa Multiple &hellip; <a href=\"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Multiple LoRa Device Communication&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":843,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[90],"tags":[42,81,55,91],"class_list":["post-858","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lora","tag-esp32","tag-esp8266","tag-iot","tag-lora"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"In this part of my LoRa Series ( Part 3 ) I will look at some basic code for the Heltec LoRa 32 V2 Module. This code will in particular be focused on Multiple device communication. It can easily adapted from the stock example (as provided below) to implement a custom addressing scheme. LoRa Multiple\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"makeriot2020\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Maker and IOT Ideas - Infinite possibilities, waiting to be explored\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Multiple LoRa Device Communication - Maker and IOT Ideas\" \/>\n\t\t<meta property=\"og:description\" content=\"In this part of my LoRa Series ( Part 3 ) I will look at some basic code for the Heltec LoRa 32 V2 Module. This code will in particular be focused on Multiple device communication. It can easily adapted from the stock example (as provided below) to implement a custom addressing scheme. LoRa Multiple\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/LogoSmall.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/LogoSmall.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"165\" \/>\n\t\t<meta property=\"og:image:height\" content=\"93\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-11-28T13:00:38+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-11-28T13:00:43+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Multiple LoRa Device Communication - Maker and IOT Ideas\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In this part of my LoRa Series ( Part 3 ) I will look at some basic code for the Heltec LoRa 32 V2 Module. This code will in particular be focused on Multiple device communication. It can easily adapted from the stock example (as provided below) to implement a custom addressing scheme. LoRa Multiple\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/LogoSmall.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#blogposting\",\"name\":\"Multiple LoRa Device Communication - Maker and IOT Ideas\",\"headline\":\"Multiple LoRa Device Communication\",\"author\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.makeriot2020.com\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/pinout.png\",\"width\":912,\"height\":458},\"datePublished\":\"2020-11-28T20:00:38+07:00\",\"dateModified\":\"2020-11-28T20:00:43+07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#webpage\"},\"articleSection\":\"LoRa, ESP32, ESP8266, IoT, LoRa\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.makeriot2020.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/category\\\/lora\\\/#listItem\",\"name\":\"LoRa\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/category\\\/lora\\\/#listItem\",\"position\":2,\"name\":\"LoRa\",\"item\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/category\\\/lora\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#listItem\",\"name\":\"Multiple LoRa Device Communication\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#listItem\",\"position\":3,\"name\":\"Multiple LoRa Device Communication\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/category\\\/lora\\\/#listItem\",\"name\":\"LoRa\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/#organization\",\"name\":\"Maker and IOT Ideas\",\"description\":\"Infinite possibilities, waiting to be explored\",\"url\":\"https:\\\/\\\/www.makeriot2020.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.makeriot2020.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/LogoSmall.jpg\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#organizationLogo\",\"width\":165,\"height\":93},\"image\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/author\\\/admin\\\/\",\"name\":\"makeriot2020\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#authorImage\",\"url\":\"https:\\\/\\\/www.makeriot2020.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/5c0\\\/5c020e1b07a03d905edecd8711801fe8x96.jpg\",\"width\":96,\"height\":96,\"caption\":\"makeriot2020\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#webpage\",\"url\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/\",\"name\":\"Multiple LoRa Device Communication - Maker and IOT Ideas\",\"description\":\"In this part of my LoRa Series ( Part 3 ) I will look at some basic code for the Heltec LoRa 32 V2 Module. This code will in particular be focused on Multiple device communication. It can easily adapted from the stock example (as provided below) to implement a custom addressing scheme. LoRa Multiple\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/author\\\/admin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.makeriot2020.com\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/pinout.png\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#mainImage\",\"width\":912,\"height\":458},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/index.php\\\/2020\\\/11\\\/28\\\/multiple-lora-device-communication\\\/#mainImage\"},\"datePublished\":\"2020-11-28T20:00:38+07:00\",\"dateModified\":\"2020-11-28T20:00:43+07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/#website\",\"url\":\"https:\\\/\\\/www.makeriot2020.com\\\/\",\"name\":\"Maker and IOT Ideas\",\"description\":\"Infinite possibilities, waiting to be explored\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.makeriot2020.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Multiple LoRa Device Communication - Maker and IOT Ideas","description":"In this part of my LoRa Series ( Part 3 ) I will look at some basic code for the Heltec LoRa 32 V2 Module. This code will in particular be focused on Multiple device communication. It can easily adapted from the stock example (as provided below) to implement a custom addressing scheme. LoRa Multiple","canonical_url":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#blogposting","name":"Multiple LoRa Device Communication - Maker and IOT Ideas","headline":"Multiple LoRa Device Communication","author":{"@id":"https:\/\/www.makeriot2020.com\/index.php\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.makeriot2020.com\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2020\/11\/pinout.png","width":912,"height":458},"datePublished":"2020-11-28T20:00:38+07:00","dateModified":"2020-11-28T20:00:43+07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#webpage"},"isPartOf":{"@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#webpage"},"articleSection":"LoRa, ESP32, ESP8266, IoT, LoRa"},{"@type":"BreadcrumbList","@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.makeriot2020.com#listItem","position":1,"name":"Home","item":"https:\/\/www.makeriot2020.com","nextItem":{"@type":"ListItem","@id":"https:\/\/www.makeriot2020.com\/index.php\/category\/lora\/#listItem","name":"LoRa"}},{"@type":"ListItem","@id":"https:\/\/www.makeriot2020.com\/index.php\/category\/lora\/#listItem","position":2,"name":"LoRa","item":"https:\/\/www.makeriot2020.com\/index.php\/category\/lora\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#listItem","name":"Multiple LoRa Device Communication"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.makeriot2020.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#listItem","position":3,"name":"Multiple LoRa Device Communication","previousItem":{"@type":"ListItem","@id":"https:\/\/www.makeriot2020.com\/index.php\/category\/lora\/#listItem","name":"LoRa"}}]},{"@type":"Organization","@id":"https:\/\/www.makeriot2020.com\/#organization","name":"Maker and IOT Ideas","description":"Infinite possibilities, waiting to be explored","url":"https:\/\/www.makeriot2020.com\/","logo":{"@type":"ImageObject","url":"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/LogoSmall.jpg","@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#organizationLogo","width":165,"height":93},"image":{"@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.makeriot2020.com\/index.php\/author\/admin\/#author","url":"https:\/\/www.makeriot2020.com\/index.php\/author\/admin\/","name":"makeriot2020","image":{"@type":"ImageObject","@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#authorImage","url":"https:\/\/www.makeriot2020.com\/wp-content\/wphb-cache\/gravatar\/5c0\/5c020e1b07a03d905edecd8711801fe8x96.jpg","width":96,"height":96,"caption":"makeriot2020"}},{"@type":"WebPage","@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#webpage","url":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/","name":"Multiple LoRa Device Communication - Maker and IOT Ideas","description":"In this part of my LoRa Series ( Part 3 ) I will look at some basic code for the Heltec LoRa 32 V2 Module. This code will in particular be focused on Multiple device communication. It can easily adapted from the stock example (as provided below) to implement a custom addressing scheme. LoRa Multiple","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.makeriot2020.com\/#website"},"breadcrumb":{"@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#breadcrumblist"},"author":{"@id":"https:\/\/www.makeriot2020.com\/index.php\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.makeriot2020.com\/index.php\/author\/admin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2020\/11\/pinout.png","@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#mainImage","width":912,"height":458},"primaryImageOfPage":{"@id":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/#mainImage"},"datePublished":"2020-11-28T20:00:38+07:00","dateModified":"2020-11-28T20:00:43+07:00"},{"@type":"WebSite","@id":"https:\/\/www.makeriot2020.com\/#website","url":"https:\/\/www.makeriot2020.com\/","name":"Maker and IOT Ideas","description":"Infinite possibilities, waiting to be explored","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.makeriot2020.com\/#organization"}}]},"og:locale":"en_US","og:site_name":"Maker and IOT Ideas - Infinite possibilities, waiting to be explored","og:type":"article","og:title":"Multiple LoRa Device Communication - Maker and IOT Ideas","og:description":"In this part of my LoRa Series ( Part 3 ) I will look at some basic code for the Heltec LoRa 32 V2 Module. This code will in particular be focused on Multiple device communication. It can easily adapted from the stock example (as provided below) to implement a custom addressing scheme. LoRa Multiple","og:url":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/","og:image":"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/LogoSmall.jpg","og:image:secure_url":"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/LogoSmall.jpg","og:image:width":165,"og:image:height":93,"article:published_time":"2020-11-28T13:00:38+00:00","article:modified_time":"2020-11-28T13:00:43+00:00","twitter:card":"summary_large_image","twitter:title":"Multiple LoRa Device Communication - Maker and IOT Ideas","twitter:description":"In this part of my LoRa Series ( Part 3 ) I will look at some basic code for the Heltec LoRa 32 V2 Module. This code will in particular be focused on Multiple device communication. It can easily adapted from the stock example (as provided below) to implement a custom addressing scheme. LoRa Multiple","twitter:image":"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/LogoSmall.jpg"},"aioseo_meta_data":{"post_id":"858","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-03-31 05:04:53","updated":"2026-06-29 02:49:44","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.makeriot2020.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.makeriot2020.com\/index.php\/category\/lora\/\" title=\"LoRa\">LoRa<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMultiple LoRa Device Communication\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.makeriot2020.com"},{"label":"LoRa","link":"https:\/\/www.makeriot2020.com\/index.php\/category\/lora\/"},{"label":"Multiple LoRa Device Communication","link":"https:\/\/www.makeriot2020.com\/index.php\/2020\/11\/28\/multiple-lora-device-communication\/"}],"_links":{"self":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts\/858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/comments?post=858"}],"version-history":[{"count":0,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts\/858\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/media\/843"}],"wp:attachment":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/media?parent=858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/categories?post=858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/tags?post=858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}