Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing problem during passing the message from two different LoRa gateways? #29

Open
Vaseem-54 opened this issue Nov 14, 2020 · 1 comment

Comments

@Vaseem-54
Copy link

I am using a flora on omentpp for LoRa communication. The problem I'm facing here like i want to a pass message to the cloud server from two different loRa gateways through single gwrouter. When i established a connection between these nodes by using Eth1G the communication is successfully done from one LoRa gateway and failed from second LoRa gateway. But second LoRa gateway is receiving the message from the different LoRa nodes, however it failed to sent the message to the gwrouter. The code I'm using for establishing a LoRa communication from LoRa nodes to the cloud.

`

package loranetwork.simulations;

import inet.applications.udpapp.UDPBasicApp;
import inet.node.inet.Router;
import inet.node.internetcloud.InternetCloud;
import loranetwork.LoRaPhy.LoRaMedium;
import loranetwork.LoraNode.LoRaNode;
import loranetwork.LoraNode.LoRaMeshNode;
import loranetwork.LoraNode.LoRaGW;
import inet.node.inet.StandardHost;
import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
import inet.node.ethernet.Eth1G;

@license(LGPL);
network LoRaNetworkTest
{
parameters:
int numberOfNodes = default(1);
int numberOfGateways = default(2);
int networkSizeX = default(500);
int networkSizeY = default(500);
@display("bgb=355.824,356.832");
submodules:
loRaNodes[5]: LoRaNode {
@display("p=83.664,233.856");
}
loRaGW[2]: LoRaGW {
@display("p=83.664,150.192;is=s");
}
LoRaMedium: LoRaMedium {
@display("p=167.328,88.704");
}
networkServer: StandardHost {
parameters:
@display("p=208.24002,27.216002");
}
configurator: IPv4NetworkConfigurator {
parameters:
assignDisjunctSubnetAddresses = false;
@display("p=207.64801,88.704");
}
internetCloud: InternetCloud {
@display("p=83.664,27.216002");
}
gwRouter[2]: Router {
@display("p=24.192001,27.216002");
}
nsRouter: Router {
@display("p=138.09601,27.216002");
}
connections:
networkServer.ethg++ <--> Eth1G <--> nsRouter.ethg++;
nsRouter.pppg++ <--> Eth1G <--> internetCloud.pppg++;
for i=0..numberOfGateways-2 {
internetCloud.pppg++ <--> Eth1G <--> gwRouter[i].pppg++;
gwRouter[i].ethg++ <--> Eth1G <--> loRaGW[i].ethg++;
}
}

`

Screenshot from 2020-11-14 14-50-51

@gpremsan
Copy link
Collaborator

Currently there is no direct support for communication between LoRa gateways. At least we haven't tested such scenarios. You will need to make changes in the LoRaGWMac to support such messaging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants