You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include "LoRaSim.h"
// Main
int main (int argc, char *argv[])
{
uint8_t sf = 7;
CommandLine cmd;
// Command line interface
cmd.AddValue ("sf", "SF parameter to use in LoRaSim", sf);
cmd.Parse (argc, argv);
// Create object for simulate
LoRaSim sm = LoRaSim();
// Config. simulations
sm.CnfSim(sf, 868.1, 14);
// Run simulation
sm.Simulate();
}
I don't know why end-device is not receiving anything.
It seems to work with both LoRaPhy layers, but 'No net device connected to the PHY, using context 0' line (in logs) is not cool.
Starting cycle over all 2 PHYs
Sender mobility: 0:0:0
LoraPhy:GetMobility()
Receiver mobility: 5:5:0
Propagation: txPower=14dbm, rxPower=-25.6406dbm, distance=7.07107m, delay=+24ns
No net device connected to the PHY, using context 0
Scheduling reception of the packet
EndDeviceLoraPhy:SwitchToRx()
EndDeviceLoraPhy:SwitchToStandby()
Anyone know about that issue?
The text was updated successfully, but these errors were encountered:
Hi,
I'm working with LoRaWan module for ns-3.
However, I'm working on LoRa Phy, I don't want LoRaWan Stack in my simulation.
I want that SimpleEndDeviceLoraPhy recive a packet from SimpleGatewayLoraPhy. Gateway send packet, but end-device is not receiving it.
I share with you my logs.
I share my code here.
LoRaSim.h
LoRaSim.cc
I don't know why end-device is not receiving anything.
It seems to work with both LoRaPhy layers, but 'No net device connected to the PHY, using context 0' line (in logs) is not cool.
Anyone know about that issue?
The text was updated successfully, but these errors were encountered: