GithubHelp home page GithubHelp logo

flora's People

Contributors

gpremsan avatar mariuszslabicki avatar rhornig avatar rogerpueyo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flora's Issues

numCollision recording grey-out

Hi, i'm confusing on why the numCollision statistic recording is commented out. Did it means that the collision is not considered anymore in the LoRaMac.cc ?Or did it moved to other .cc file?

building project problem

Hi, I wanna build Flora, however after doing "build project", error with below log occurred.
what is the problem?

src/LoRa/LoRaRadio.h:156:10: note: previous declaration is here
    void startRadioModeSwitch(RadioMode newRadioMode, simtime_t switchingTime);
         ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:153:17: warning: 'inet::physicallayer::LoRaRadio::completeRadioModeSwitch' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::completeRadioModeSwitch(RadioMode newRadioMode)
                ^
src/LoRa/LoRaRadio.h:157:10: note: previous declaration is here
    void completeRadioModeSwitch(RadioMode newRadioMode);
         ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:166:33: warning: 'inet::physicallayer::LoRaRadio::getTransmissionInProgress' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
const ITransmission *LoRaRadio::getTransmissionInProgress() const
                                ^
src/LoRa/LoRaRadio.h:226:34: note: previous declaration is here
    virtual const ITransmission *getTransmissionInProgress() const override;
                                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:174:33: warning: 'inet::physicallayer::LoRaRadio::getReceptionInProgress' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
const ITransmission *LoRaRadio::getReceptionInProgress() const
                                ^
src/LoRa/LoRaRadio.h:227:34: note: previous declaration is here
    virtual const ITransmission *getReceptionInProgress() const override;
                                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:182:37: warning: 'inet::physicallayer::LoRaRadio::getTransmittedSignalPart' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
IRadioSignal::SignalPart LoRaRadio::getTransmittedSignalPart() const
                                    ^
src/LoRa/LoRaRadio.h:229:38: note: previous declaration is here
    virtual IRadioSignal::SignalPart getTransmittedSignalPart() const override;
                                     ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:187:37: warning: 'inet::physicallayer::LoRaRadio::getReceivedSignalPart' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
IRadioSignal::SignalPart LoRaRadio::getReceivedSignalPart() const
                                    ^
src/LoRa/LoRaRadio.h:230:38: note: previous declaration is here
    virtual IRadioSignal::SignalPart getReceivedSignalPart() const override;
                                     ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:192:17: warning: 'inet::physicallayer::LoRaRadio::handleMessageWhenDown' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleMessageWhenDown(cMessage *message)
                ^
src/LoRa/LoRaRadio.h:162:18: note: previous declaration is here
    virtual void handleMessageWhenDown(cMessage *message) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:200:17: warning: 'inet::physicallayer::LoRaRadio::handleMessageWhenUp' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleMessageWhenUp(cMessage *message)
                ^
src/LoRa/LoRaRadio.h:163:18: note: previous declaration is here
    virtual void handleMessageWhenUp(cMessage *message) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:224:17: warning: 'inet::physicallayer::LoRaRadio::handleSelfMessage' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleSelfMessage(cMessage *message)
                ^
src/LoRa/LoRaRadio.h:164:18: note: previous declaration is here
    virtual void handleSelfMessage(cMessage *message) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:236:17: warning: 'inet::physicallayer::LoRaRadio::handleSwitchTimer' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleSwitchTimer(cMessage *message)
                ^
src/LoRa/LoRaRadio.h:165:18: note: previous declaration is here
    virtual void handleSwitchTimer(cMessage *message) override ;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:241:17: warning: 'inet::physicallayer::LoRaRadio::handleTransmissionTimer' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleTransmissionTimer(cMessage *message)
                ^
src/LoRa/LoRaRadio.h:166:18: note: previous declaration is here
    virtual void handleTransmissionTimer(cMessage *message) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:255:17: warning: 'inet::physicallayer::LoRaRadio::handleReceptionTimer' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleReceptionTimer(cMessage *message)
                ^
src/LoRa/LoRaRadio.h:167:18: note: previous declaration is here
    virtual void handleReceptionTimer(cMessage *message) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:269:17: warning: 'inet::physicallayer::LoRaRadio::handleUpperCommand' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleUpperCommand(cMessage *message)
                ^
src/LoRa/LoRaRadio.h:168:18: note: previous declaration is here
    virtual void handleUpperCommand(cMessage *command) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:280:17: warning: 'inet::physicallayer::LoRaRadio::handleLowerCommand' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleLowerCommand(cMessage *message)
                ^
src/LoRa/LoRaRadio.h:169:18: note: previous declaration is here
    virtual void handleLowerCommand(cMessage *command) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:285:17: warning: 'inet::physicallayer::LoRaRadio::handleUpperPacket' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleUpperPacket(cPacket *packet)
                ^
src/LoRa/LoRaRadio.h:170:18: note: previous declaration is here
    virtual void handleUpperPacket(cPacket *packet) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:302:17: warning: 'inet::physicallayer::LoRaRadio::handleLowerPacket' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleLowerPacket(RadioFrame *radioFrame)
                ^
src/LoRa/LoRaRadio.h:171:18: note: previous declaration is here
    virtual void handleLowerPacket(RadioFrame *packet) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:311:17: warning: 'inet::physicallayer::LoRaRadio::handleNodeStart' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
bool LoRaRadio::handleNodeStart(IDoneCallback *doneCallback)
                ^
src/LoRa/LoRaRadio.h:172:18: note: previous declaration is here
    virtual bool handleNodeStart(IDoneCallback *doneCallback) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:318:17: warning: 'inet::physicallayer::LoRaRadio::handleNodeShutdown' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
bool LoRaRadio::handleNodeShutdown(IDoneCallback *doneCallback)
                ^
src/LoRa/LoRaRadio.h:173:18: note: previous declaration is here
    virtual bool handleNodeShutdown(IDoneCallback *doneCallback) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:328:17: warning: 'inet::physicallayer::LoRaRadio::handleNodeCrash' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::handleNodeCrash()
                ^
src/LoRa/LoRaRadio.h:174:18: note: previous declaration is here
    virtual void handleNodeCrash() override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:337:17: warning: 'inet::physicallayer::LoRaRadio::startTransmission' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::startTransmission(cPacket *macFrame, IRadioSignal::SignalPart part)
                ^
src/LoRa/LoRaRadio.h:176:18: note: previous declaration is here
    virtual void startTransmission(cPacket *macFrame, IRadioSignal::SignalPart part) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:352:17: warning: 'inet::physicallayer::LoRaRadio::continueTransmission' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::continueTransmission()
                ^
src/LoRa/LoRaRadio.h:177:18: note: previous declaration is here
    virtual void continueTransmission() override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:366:17: warning: 'inet::physicallayer::LoRaRadio::endTransmission' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::endTransmission()
                ^
src/LoRa/LoRaRadio.h:178:18: note: previous declaration is here
    virtual void endTransmission() override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:379:17: warning: 'inet::physicallayer::LoRaRadio::abortTransmission' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::abortTransmission()
                ^
src/LoRa/LoRaRadio.h:179:18: note: previous declaration is here
    virtual void abortTransmission() override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:392:24: warning: 'inet::physicallayer::LoRaRadio::createRadioFrame' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
RadioFrame *LoRaRadio::createRadioFrame(cPacket *packet) const
                       ^
src/LoRa/LoRaRadio.h:181:25: note: previous declaration is here
    virtual RadioFrame *createRadioFrame(cPacket *packet) const override;
                        ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:399:17: warning: 'inet::physicallayer::LoRaRadio::startReception' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::startReception(cMessage *timer, IRadioSignal::SignalPart part)
                ^
src/LoRa/LoRaRadio.h:183:18: note: previous declaration is here
    virtual void startReception(cMessage *timer, IRadioSignal::SignalPart part) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:424:17: warning: 'inet::physicallayer::LoRaRadio::continueReception' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::continueReception(cMessage *timer)
                ^
src/LoRa/LoRaRadio.h:184:18: note: previous declaration is here
    virtual void continueReception(cMessage *timer) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:456:17: warning: 'inet::physicallayer::LoRaRadio::endReception' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::endReception(cMessage *timer)
                ^
src/LoRa/LoRaRadio.h:185:18: note: previous declaration is here
    virtual void endReception(cMessage *timer) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:490:17: warning: 'inet::physicallayer::LoRaRadio::abortReception' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::abortReception(cMessage *timer)
                ^
src/LoRa/LoRaRadio.h:186:18: note: previous declaration is here
    virtual void abortReception(cMessage *timer) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:504:17: warning: 'inet::physicallayer::LoRaRadio::captureReception' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::captureReception(cMessage *timer)
                ^
src/LoRa/LoRaRadio.h:187:18: note: previous declaration is here
    virtual void captureReception(cMessage *timer) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:510:17: warning: 'inet::physicallayer::LoRaRadio::sendUp' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::sendUp(cPacket *macFrame)
                ^
src/LoRa/LoRaRadio.h:189:18: note: previous declaration is here
    virtual void sendUp(cPacket *macFrame) override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:524:22: warning: 'inet::physicallayer::LoRaRadio::createReceptionTimer' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
cMessage *LoRaRadio::createReceptionTimer(RadioFrame *radioFrame) const
                     ^
src/LoRa/LoRaRadio.h:190:23: note: previous declaration is here
    virtual cMessage *createReceptionTimer(RadioFrame *radioFrame) const override;
                      ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:531:17: warning: 'inet::physicallayer::LoRaRadio::isReceptionTimer' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
bool LoRaRadio::isReceptionTimer(const cMessage *message) const
                ^
src/LoRa/LoRaRadio.h:191:18: note: previous declaration is here
    virtual bool isReceptionTimer(const cMessage *message) const override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:536:17: warning: 'inet::physicallayer::LoRaRadio::isReceiverMode' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
bool LoRaRadio::isReceiverMode(IRadio::RadioMode radioMode) const
                ^
src/LoRa/LoRaRadio.h:193:18: note: previous declaration is here
    virtual bool isReceiverMode(IRadio::RadioMode radioMode) const override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:541:17: warning: 'inet::physicallayer::LoRaRadio::isTransmitterMode' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
bool LoRaRadio::isTransmitterMode(IRadio::RadioMode radioMode) const
                ^
src/LoRa/LoRaRadio.h:194:18: note: previous declaration is here
    virtual bool isTransmitterMode(IRadio::RadioMode radioMode) const override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:546:17: warning: 'inet::physicallayer::LoRaRadio::isListeningPossible' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
bool LoRaRadio::isListeningPossible() const
                ^
src/LoRa/LoRaRadio.h:195:18: note: previous declaration is here
    virtual bool isListeningPossible() const override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:559:17: warning: 'inet::physicallayer::LoRaRadio::updateTransceiverState' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::updateTransceiverState()
                ^
src/LoRa/LoRaRadio.h:197:18: note: previous declaration is here
    virtual void updateTransceiverState() override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:591:17: warning: 'inet::physicallayer::LoRaRadio::updateTransceiverPart' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::updateTransceiverPart()
                ^
src/LoRa/LoRaRadio.h:198:18: note: previous declaration is here
    virtual void updateTransceiverPart() override;
                 ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:607:19: warning: 'inet::physicallayer::LoRaRadio::getCurrentTxPower' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
double LoRaRadio::getCurrentTxPower()
                  ^
src/LoRa/LoRaRadio.h:204:12: note: previous declaration is here
    double getCurrentTxPower();
           ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
src/LoRa/LoRaRadio.cc:612:17: warning: 'inet::physicallayer::LoRaRadio::setCurrentTxPower' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
void LoRaRadio::setCurrentTxPower(double txPower)
                ^
src/LoRa/LoRaRadio.h:205:10: note: previous declaration is here
    void setCurrentTxPower(double txPower);
         ^
src/LoRa/LoRaRadio.h:31:7: note: previous attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
      ^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#  define INET_API    OPP_DLLIMPORT
                      ^
C:/Users/Youngjune/Desktop/FloRa/omnet/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#  define OPP_DLLIMPORT  __declspec(dllimport)
                                    ^
52 warnings and 5 errors generated.
make: *** [Makefile:155: out/clang-debug//src/LoRa/LoRaRadio.o] Error 1

17:42:47 Build Finished (took 7s.933ms)

Plotting statistics with FLoRa

Hi,
i would like to ask, what is the best way to plot statistics in the way you presented the results in the figures of the paper "Adaptive Configuration of LoRa Networks for Dense IoT Deployments". Specifically, plots like the figures 3,5,5,6. Did you use something built-in in the Omnet or the analysis was done using python?

Thank you in advance,

Get ID of the Node/GW

Hi, I´m doing signals to compute the mean power received on a GW from each node, and I would like to know if it is possible to obtain the ID that Omnet++ assign to each Node/GW

Problem on accessing numberOfPacketsToSend parameter of SimpleLoRaApp from another module.

I have problem on accessing numberOfPacketsToSend parameter of SimpleLoRaApp.cc from LoRaMac.cc. I need to make sure the value of numberOfPacketSend can be read on LoRaMac.cc. I tried to use:

auto *sla = check_and_cast<SimpleLoRaApp *>(getParentModule()->getParentModule()->getSubmodule("SimpleLoRaApp");
int nTSP = sla->numberOfPacketsToSend;
WATCH(nTSP); //to inspect the value of nTSP in Qtenv.

but when I run the simulation, the nTSP value showed in the Qtenv is not equal to the value I set in the .ini file (it shows around 20000 but I set only 6). Can anyone tell me what is wrong?

Errors at running with Ubuntu20,04 and Omnet6 pre 14

I had several issues testing the environment of Flora, running the omnet.ini file on simulations folder, on my installation with Ubuntu 20.04 and omnetpp-6.0pre14

Although I solved two previous issues: 1) Related with AbsPath and 2)Related with mutable strings, I cannot figure the solution for the next message.

(omnetpp::cGate)LoRaNetworkTest.loRaGW[0].ipv4.ifIn: getIndex(): Gate is not member of a gate vector -- in module (inet::NetworkInterface) LoRaNetworkTest.loRaGW[0].eth[0] (id=37), during network initialization

I've read from here on lines 255 to 258 that the vector gate has to be declared on a different way. I took this as a hint (correct me if am wrong).

Please help with this issues, since I have the feeling that solving this will lead me to another tricky error. I've tried to install preview 12 or 11 but they're no longer available on the official webpage.

Port to Inet 4

Sorry for the nuisances. I am trying to port the Flora code to inet/inetmanet 4.x and omnet 5.4.1 and more or less I think that I have a first version. There are several thinks that I want to actualize like the error model, but this is not the thing that I want to request.

If you are not too busy, could you check the port? You know how the software should work and I you can check if it runs like it should, this will save a lot of time in my case.

The code is available here

https://github.com/aarizaq/inetmanet-4.x/tree/lora_flora

I have integrate it inside inetmanet-4.x that will facilitate the test

Collision detection invocation

Hello!

I would like to know why the 'LoRaReceiver::isPacketCollided' method is invoked inside 'LoRaReceiver::computeIsReceptionAttempted'.

Would it be better to execute it inside 'LoRaReceiver::computeReceptionDecision' since the collision detection would only be called once during the final reception ('Radio::endReception') of the most powerful signal?

Thanks!!!

Juan

Deployment of nodes in a circle

Hello @mariuszslabicki,

When I try deploying nodes in a circle with radius=maxGatewayDistance and gateway at gatewayX, gatewayY, I have the below error:

<!> (omnetpp::cPar)LoRaNetworkTest.loRaNodes[0].mobility.initialX: Setting the parameter is not allowed at runtime (it is not marked as mutable) -- in module (flora::SimpleLoRaApp) LoRaNetworkTest.loRaNodes[0].app[0] (id=120), during network initialization

Please how can I resolve this issue. Thanks
1
2
3

I'm using
Ubuntu 20.04 LTS
OMNeT++ 6.0 Release Candidate 1
INET 4.3.7

Documentation

Hi,
I am new user of OMNet++, and i would like to use FLoRa. But studying the source code i find difficult to understand how each function works (so i cannot add for example a new algorithm), as the code is uncommented, and i cannot find the architecture of your project. Could you upload something like UML , and how to use document ?

What OS/Versions of Omnet, flora and inet

Hi,

I would very much like to use this framework for a project and have tried using various different versions of omnet, flora, and inet. I have tried on both Windows 10 and various different Ubuntu versions with no success. I followed the instructions for both, and ensured that flora referenced inet in properties, but was unable to build the project or even use the examples . Please could you advise what the currently best advised OS/versions are?

I know this isn't exactly an issue, but i have been trying for a while and am not sure what else to do. Is Flora 1.0.0 with Omnet 6 meant to be ran on Windows 10/ Ubuntu 21.04 as its recently been updated. I saw a reply to a previous issue saying that it would be incompatible with these?

Comparing Flora and NS 3 for project

Hello..I am new to inet and Ns3.
I am currently deciding which to choose over other meaning how is Flora better than Ns 3 (by features) and vice versa..Also which is easy to learn quickly.

Would really appreciate if someone could guide me..I am not focusing on machine learning, but just resource allocation problems..Have a nice day

Adding NED files

Hi,
I am relatively new to omnetpp, however, I am trying to extend your simulator to add different kinds of lora nodes and different kinds of MAC layers. I followed the information on the webpage and I added the flora as an existing project to omnet, the example works perfectly.

Then I tried different options:
1- I directly created a new node and a new MAC in the flora project, but when I compile from the IDE, nothing is added to the generated Makefile.

2- I created another project that depends on flora, but when I try to run a new network with my new node deployed in the new project I have to select an executable. If I choose my project executable I'll get an error :
"Class "inet::physicallayer::LoRaMedium" not found -- perhaps its code was not linked in, or the class wasn't registered with Register_Class(), or in the case of modules and channels, with Define_Module()/Define_Channel() -- in module (omnetpp::cModule) LoRaNetworkTest (id=1), during network setup"
This is also raised if I change the executable of flora to opp_run.

In general, I don't understand how omnetpp should update your Makefiles when new classes are added.

Sorry for the long question.
Giacomo

Build Project Eror

Hi Marius,

I get an error when i want to buld project, it happen at the last step on the build this cause me unable to run simulation.
I am using windows 10. Hope you can help me to resolve this. The error is as follows. for now i preffer gcc over clang.

Creating executable: ../out/clang-release/src/flora.exe
../out/clang-release/src/LoRa/LoRaGWMac.o:(.rdata+0x8d0): undefined reference to typeinfo for inet::MACProtocolBase' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZN4inet13physicallayer13FlatRadioBaseD1Ev]+0x3): undefined reference to VTT for inet::physicallayer::FlatRadioBase'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZN4inet13physicallayer13FlatRadioBaseD0Ev]+0xb): undefined reference to VTT for inet::physicallayer::FlatRadioBase' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.rdata+0xce0): undefined reference to typeinfo for inet::physicallayer::FlatRadioBase'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.rdata+0x14e0): undefined reference to typeinfo for inet::physicallayer::FlatRadioBase' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.rdata+0x1570): undefined reference to typeinfo for inet::physicallayer::FlatRadioBase'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.rdata+0x15d0): undefined reference to typeinfo for inet::physicallayer::NarrowbandRadioBase' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.rdata+0x1dc0): undefined reference to typeinfo for inet::physicallayer::NarrowbandRadioBase'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.rdata+0x1e50): undefined reference to typeinfo for inet::physicallayer::NarrowbandRadioBase' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.rdata+0x1eb0): undefined reference to typeinfo for inet::physicallayer::Radio'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.rdata+0x2688): undefined reference to typeinfo for inet::physicallayer::Radio' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.rdata+0x2718): undefined reference to typeinfo for inet::physicallayer::Radio'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.rdata+0x27a0): undefined reference to typeinfo for inet::physicallayer::FlatRadioBase' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZTv0_n24_N4inet13physicallayer13FlatRadioBaseD1Ev]+0xa): undefined reference to VTT for inet::physicallayer::FlatRadioBase'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZTv0_n24_N4inet13physicallayer13FlatRadioBaseD0Ev]+0x12): undefined reference to VTT for inet::physicallayer::FlatRadioBase' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZTvn8_n24_N4inet13physicallayer13FlatRadioBaseD1Ev]+0xf): undefined reference to VTT for inet::physicallayer::FlatRadioBase'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZTvn8_n24_N4inet13physicallayer13FlatRadioBaseD0Ev]+0x17): undefined reference to VTT for inet::physicallayer::FlatRadioBase' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZN4inet13physicallayer19NarrowbandRadioBaseD1Ev]+0x3): undefined reference to VTT for inet::physicallayer::NarrowbandRadioBase'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZN4inet13physicallayer19NarrowbandRadioBaseD0Ev]+0xb): undefined reference to VTT for inet::physicallayer::NarrowbandRadioBase' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZTv0_n24_N4inet13physicallayer19NarrowbandRadioBaseD1Ev]+0xa): undefined reference to VTT for inet::physicallayer::NarrowbandRadioBase'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZTv0_n24_N4inet13physicallayer19NarrowbandRadioBaseD0Ev]+0x12): undefined reference to VTT for inet::physicallayer::NarrowbandRadioBase' ../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZTvn8_n24_N4inet13physicallayer19NarrowbandRadioBaseD1Ev]+0xf): undefined reference to VTT for inet::physicallayer::NarrowbandRadioBase'
../out/clang-release/src/LoRa/LoRaGWRadio.o:(.text[_ZTvn8_n24_N4inet13physicallayer19NarrowbandRadioBaseD0Ev]+0x17): more undefined references to VTT for inet::physicallayer::NarrowbandRadioBase' follow ../out/clang-release/src/LoRa/LoRaMac.o:(.rdata+0xba0): undefined reference to typeinfo for inet::MACProtocolBase'
../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata+0x1230): undefined reference to typeinfo for inet::physicallayer::FlatRadioBase' ../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata+0x1a30): undefined reference to typeinfo for inet::physicallayer::FlatRadioBase'
../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata+0x1ac0): undefined reference to typeinfo for inet::physicallayer::FlatRadioBase' ../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata+0x1b20): undefined reference to typeinfo for inet::physicallayer::NarrowbandRadioBase'
../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata+0x2310): undefined reference to typeinfo for inet::physicallayer::NarrowbandRadioBase' ../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata+0x23a0): undefined reference to typeinfo for inet::physicallayer::NarrowbandRadioBase'
../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata+0x2400): undefined reference to typeinfo for inet::physicallayer::Radio' ../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata+0x2bd8): undefined reference to typeinfo for inet::physicallayer::Radio'
../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata+0x2c68): undefined reference to typeinfo for inet::physicallayer::Radio' ../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata+0x2cf0): undefined reference to typeinfo for inet::physicallayer::FlatRadioBase'
../out/clang-release/src/LoRa/LoRaRadio.o:(.text[ZN7omnetpp14check_and_castIPN4inet13physicallayer10RadioFrameENS_8cMessageEEET_PT0]+0x18): undefined reference to typeinfo for inet::physicallayer::RadioFrame' ../out/clang-release/src/LoRa/LoRaRadio.o:(.text[_ZN7omnetpp14check_and_castIPN4inet13physicallayer21ConfigureRadioCommandENS_7cObjectEEET_PT0_]+0x18): undefined reference to typeinfo for inet::physicallayer::ConfigureRadioCommand'
../out/clang-release/src/LoRa/LoRaRadio.o:(.text[ZN7omnetpp14check_and_castIPN4inet13physicallayer10RadioFrameENS2_11IRadioFrameEEET_PT0]+0x18): undefined reference to typeinfo for inet::physicallayer::RadioFrame' ../out/clang-release/src/LoRa/LoRaRadio.o:(.text[_ZN7omnetpp14check_and_castIPKN4inet13physicallayer19ReceptionIndicationENS_7cObjectEEET_PT0_]+0x18): undefined reference to typeinfo for inet::physicallayer::ReceptionIndication'
../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata[_ZTIPN4inet13physicallayer10RadioFrameE]+0x18): undefined reference to typeinfo for inet::physicallayer::RadioFrame' ../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata[_ZTIPN4inet13physicallayer21ConfigureRadioCommandE]+0x18): undefined reference to typeinfo for inet::physicallayer::ConfigureRadioCommand'
../out/clang-release/src/LoRa/LoRaRadio.o:(.rdata[_ZTIPKN4inet13physicallayer19ReceptionIndicationE]+0x18): undefined reference to typeinfo for inet::physicallayer::ReceptionIndication' ../out/clang-release/src/LoRa/NetworkServerApp.o:(.text[_ZN7omnetpp14check_and_castIPN4inet17UDPDataIndicationENS_7cObjectEEET_PT0_]+0x18): undefined reference to typeinfo for inet::UDPDataIndication'
../out/clang-release/src/LoRa/NetworkServerApp.o:(.rdata[_ZTIPN4inet17UDPDataIndicationE]+0x18): undefined reference to typeinfo for inet::UDPDataIndication' ../out/clang-release/src/LoRa/PacketForwarder.o:(.text[_ZN7omnetpp14check_and_castIPN4inet13physicallayer19ReceptionIndicationENS_7cObjectEEET_PT0_]+0x18): undefined reference to typeinfo for inet::physicallayer::ReceptionIndication'
../out/clang-release/src/LoRa/PacketForwarder.o:(.rdata[_ZTIPN4inet13physicallayer19ReceptionIndicationE]+0x18): undefined reference to typeinfo for inet::physicallayer::ReceptionIndication' ../out/clang-release/src/LoRaApp/SimpleLoRaApp.o:(.text+0x2d5): undefined reference to typeinfo for inet::NodeStatus'
../out/clang-release/src/LoRaApp/SimpleLoRaApp.o:(.text[ZN7omnetpp14check_and_castIPN4inet18StationaryMobilityENS_7cModuleEEET_PT0]+0x18): undefined reference to typeinfo for inet::StationaryMobility' ../out/clang-release/src/LoRaApp/SimpleLoRaApp.o:(.rdata[_ZTIPN4inet18StationaryMobilityE]+0x18): undefined reference to typeinfo for inet::StationaryMobility'
../out/clang-release/src/LoRaEnergyModules/LoRaEnergyConsumer.o:(.text+0x28d): undefined reference to typeinfo for inet::power::IdealEpEnergyStorage' ../out/clang-release/src/LoRaEnergyModules/LoRaEnergyConsumer.o:(.rdata+0xb40): undefined reference to typeinfo for inet::physicallayer::StateBasedEpEnergyConsumer'
../out/clang-release/src/LoRaEnergyModules/LoRaEnergyConsumer.o:(.rdata+0x1110): undefined reference to typeinfo for inet::physicallayer::StateBasedEpEnergyConsumer' ../out/clang-release/src/LoRaEnergyModules/LoRaEnergyConsumer.o:(.rdata+0x11d0): undefined reference to typeinfo for inet::physicallayer::StateBasedEpEnergyConsumer'
../out/clang-release/src/LoRaPhy/LoRaAnalogModel.o:(.rdata+0x730): undefined reference to typeinfo for inet::physicallayer::ScalarAnalogModelBase' ../out/clang-release/src/LoRaPhy/LoRaAnalogModel.o:(.rdata+0xc60): undefined reference to typeinfo for inet::physicallayer::ScalarAnalogModelBase'
../out/clang-release/src/LoRaPhy/LoRaAnalogModel.o:(.rdata+0xcd0): undefined reference to typeinfo for inet::physicallayer::AnalogModelBase' ../out/clang-release/src/LoRaPhy/LoRaAnalogModel.o:(.rdata+0x11e0): undefined reference to typeinfo for inet::physicallayer::AnalogModelBase'
../out/clang-release/src/LoRaPhy/LoRaAnalogModel.o:(.rdata+0x1280): undefined reference to typeinfo for inet::physicallayer::ScalarAnalogModelBase' ../out/clang-release/src/LoRaPhy/LoRaBandListening.o:(.rdata+0x110): undefined reference to typeinfo for inet::physicallayer::ListeningBase'
../out/clang-release/src/LoRaPhy/LoRaHataOkumura.o:(.rdata+0x6c0): undefined reference to typeinfo for inet::physicallayer::FreeSpacePathLoss' ../out/clang-release/src/LoRaPhy/LoRaLogNormalShadowing.o:(.rdata+0x760): undefined reference to typeinfo for inet::physicallayer::FreeSpacePathLoss'
../out/clang-release/src/LoRaPhy/LoRaMedium.o:(.text[ZN7omnetpp14check_and_castIPKN4inet13physicallayer10RadioFrameEKNS2_11IRadioFrameEEET_PT0]+0x18): undefined reference to typeinfo for inet::physicallayer::RadioFrame' ../out/clang-release/src/LoRaPhy/LoRaMedium.o:(.text[_ZN7omnetpp14check_and_castIPKN4inet13physicallayer5RadioENS2_6IRadioEEET_PT0_]+0x18): undefined reference to typeinfo for inet::physicallayer::Radio'
../out/clang-release/src/LoRaPhy/LoRaMedium.o:(.text[ZN7omnetpp14check_and_castIPKN4inet13physicallayer5RadioEKNS2_6IRadioEEET_PT0]+0x18): undefined reference to typeinfo for inet::physicallayer::Radio' ../out/clang-release/src/LoRaPhy/LoRaMedium.o:(.text[_ZN7omnetpp14check_and_castIPKN4inet13physicallayer5RadioENS_10cComponentEEET_PT0_]+0x18): undefined reference to typeinfo for inet::physicallayer::Radio'
../out/clang-release/src/LoRaPhy/LoRaMedium.o:(.rdata[_ZTIPKN4inet13physicallayer10RadioFrameE]+0x18): undefined reference to typeinfo for inet::physicallayer::RadioFrame' ../out/clang-release/src/LoRaPhy/LoRaMedium.o:(.rdata[_ZTIPKN4inet13physicallayer5RadioE]+0x18): undefined reference to typeinfo for inet::physicallayer::Radio'
../out/clang-release/src/LoRaPhy/LoRaModulation.o:(.rdata+0x1a0): undefined reference to typeinfo for inet::physicallayer::APSKModulationBase' ../out/clang-release/src/LoRaPhy/LoRaPathLossOulu.o:(.rdata+0x6a0): undefined reference to typeinfo for inet::physicallayer::FreeSpacePathLoss'
../out/clang-release/src/LoRaPhy/LoRaReceiver.o:(.text[ZN7omnetpp14check_and_castIPKN4inet13physicallayer10ScalarSNIREKNS2_5ISNIREEET_PT0]+0x18): undefined reference to typeinfo for inet::physicallayer::ScalarSNIR' ../out/clang-release/src/LoRaPhy/LoRaReceiver.o:(.text[_ZN7omnetpp14check_and_castIPKN4inet13physicallayer11ScalarNoiseEKNS2_6INoiseEEET_PT0_]+0x18): undefined reference to typeinfo for inet::physicallayer::ScalarNoise'
../out/clang-release/src/LoRaPhy/LoRaReceiver.o:(.rdata[_ZTIPKN4inet13physicallayer10ScalarSNIRE]+0x18): undefined reference to typeinfo for inet::physicallayer::ScalarSNIR' ../out/clang-release/src/LoRaPhy/LoRaReceiver.o:(.rdata[_ZTIPKN4inet13physicallayer11ScalarNoiseE]+0x18): undefined reference to typeinfo for inet::physicallayer::ScalarNoise'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer15ScalarReceptionD1Ev]+0xb): undefined reference to VTT for inet::physicallayer::ScalarReception' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer15ScalarReceptionD1Ev]+0x15): undefined reference to VTT for inet::physicallayer::ScalarReception'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer15ScalarReceptionD1Ev]+0x24): undefined reference to VTT for inet::physicallayer::ScalarReception' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer15ScalarReceptionD1Ev]+0x36): undefined reference to VTT for inet::physicallayer::ScalarReception'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer15ScalarReceptionD0Ev]+0xb): undefined reference to VTT for inet::physicallayer::ScalarReception' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer15ScalarReceptionD0Ev]+0x15): more undefined references to VTT for inet::physicallayer::ScalarReception' follow
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer23NarrowbandReceptionBaseD1Ev]+0xb): undefined reference to VTT for inet::physicallayer::NarrowbandReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer23NarrowbandReceptionBaseD1Ev]+0x15): undefined reference to VTT for inet::physicallayer::NarrowbandReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer23NarrowbandReceptionBaseD1Ev]+0x24): undefined reference to VTT for inet::physicallayer::NarrowbandReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer23NarrowbandReceptionBaseD1Ev]+0x36): undefined reference to VTT for inet::physicallayer::NarrowbandReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer23NarrowbandReceptionBaseD0Ev]+0xb): undefined reference to VTT for inet::physicallayer::NarrowbandReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer23NarrowbandReceptionBaseD0Ev]+0x15): more undefined references to VTT for inet::physicallayer::NarrowbandReceptionBase' follow
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer13ReceptionBaseD1Ev]+0xb): undefined reference to VTT for inet::physicallayer::ReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer13ReceptionBaseD1Ev]+0x15): undefined reference to VTT for inet::physicallayer::ReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer13ReceptionBaseD1Ev]+0x24): undefined reference to VTT for inet::physicallayer::ReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer13ReceptionBaseD1Ev]+0x36): undefined reference to VTT for inet::physicallayer::ReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer13ReceptionBaseD0Ev]+0xb): undefined reference to VTT for inet::physicallayer::ReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[_ZN4inet13physicallayer13ReceptionBaseD0Ev]+0x15): more undefined references to VTT for inet::physicallayer::ReceptionBase' follow
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.text[ZN7omnetpp22check_and_cast_failureIPKN4inet13physicallayer21IReceptionAnalogModelEKNS2_13ReceptionBaseEEEvPT0_T]+0x22): undefined reference to typeinfo for inet::physicallayer::ReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x5b0): undefined reference to typeinfo for inet::physicallayer::ScalarReception'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x820): undefined reference to typeinfo for inet::physicallayer::ScalarReception' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x968): undefined reference to typeinfo for inet::physicallayer::ScalarReception'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x9d8): undefined reference to typeinfo for inet::physicallayer::ScalarReception' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0xa08): undefined reference to typeinfo for inet::physicallayer::ScalarReception'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0xeb8): undefined reference to typeinfo for inet::physicallayer::NarrowbandReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x1118): undefined reference to typeinfo for inet::physicallayer::NarrowbandReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x1260): undefined reference to typeinfo for inet::physicallayer::NarrowbandReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x12d0): undefined reference to typeinfo for inet::physicallayer::NarrowbandReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x1310): undefined reference to typeinfo for inet::physicallayer::ReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x1560): undefined reference to typeinfo for inet::physicallayer::ReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x16a8): undefined reference to typeinfo for inet::physicallayer::ReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata+0x17e0): undefined reference to typeinfo for inet::physicallayer::ScalarReception'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata[_ZTIN4inet13physicallayer17FlatReceptionBaseE]+0x10): undefined reference to typeinfo for inet::physicallayer::NarrowbandReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata[_ZTCN4inet13physicallayer17FlatReceptionBaseE0_NS0_23NarrowbandReceptionBaseE]+0x28): undefined reference to typeinfo for inet::physicallayer::NarrowbandReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata[_ZTCN4inet13physicallayer17FlatReceptionBaseE0_NS0_23NarrowbandReceptionBaseE]+0x288): undefined reference to typeinfo for inet::physicallayer::NarrowbandReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata[_ZTCN4inet13physicallayer17FlatReceptionBaseE0_NS0_23NarrowbandReceptionBaseE]+0x3d0): undefined reference to typeinfo for inet::physicallayer::NarrowbandReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata[_ZTCN4inet13physicallayer17FlatReceptionBaseE0_NS0_23NarrowbandReceptionBaseE]+0x440): undefined reference to typeinfo for inet::physicallayer::NarrowbandReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata[_ZTCN4inet13physicallayer17FlatReceptionBaseE0_NS0_13ReceptionBaseE]+0x20): undefined reference to typeinfo for inet::physicallayer::ReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata[_ZTCN4inet13physicallayer17FlatReceptionBaseE0_NS0_13ReceptionBaseE]+0x270): undefined reference to typeinfo for inet::physicallayer::ReceptionBase' ../out/clang-release/src/LoRaPhy/LoRaReception.o:(.rdata[_ZTCN4inet13physicallayer17FlatReceptionBaseE0_NS0_13ReceptionBaseE]+0x3b8): undefined reference to typeinfo for inet::physicallayer::ReceptionBase'
../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.text[_ZN4inet13physicallayer16TransmissionBaseD1Ev]+0xb): undefined reference to VTT for inet::physicallayer::TransmissionBase' ../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.text[_ZN4inet13physicallayer16TransmissionBaseD1Ev]+0x15): undefined reference to VTT for inet::physicallayer::TransmissionBase'
../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.text[_ZN4inet13physicallayer16TransmissionBaseD1Ev]+0x24): undefined reference to VTT for inet::physicallayer::TransmissionBase' ../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.text[_ZN4inet13physicallayer16TransmissionBaseD1Ev]+0x36): undefined reference to VTT for inet::physicallayer::TransmissionBase'
../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.text[_ZN4inet13physicallayer16TransmissionBaseD0Ev]+0xb): undefined reference to VTT for inet::physicallayer::TransmissionBase' ../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.text[_ZN4inet13physicallayer16TransmissionBaseD0Ev]+0x15): more undefined references to VTT for inet::physicallayer::TransmissionBase' follow
../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.text[ZN7omnetpp22check_and_cast_failureIPKN4inet13physicallayer24ITransmissionAnalogModelEKNS2_16TransmissionBaseEEEvPT0_T]+0x22): undefined reference to typeinfo for inet::physicallayer::TransmissionBase' ../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.rdata+0x550): undefined reference to typeinfo for inet::physicallayer::TransmissionBase'
../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.rdata+0x7c0): undefined reference to typeinfo for inet::physicallayer::TransmissionBase' ../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.rdata+0x918): undefined reference to typeinfo for inet::physicallayer::TransmissionBase'
../out/clang-release/src/LoRaPhy/LoRaTransmission.o:(.rdata+0xa58): undefined reference to typeinfo for inet::physicallayer::TransmissionBase' ../out/clang-release/src/LoRaPhy/LoRaTransmitter.o:(.text+0x3b4): undefined reference to typeinfo for inet::physicallayer::TransmissionRequest'
../out/clang-release/src/LoRaPhy/LoRaTransmitter.o:(.rdata+0x830): undefined reference to typeinfo for inet::physicallayer::FlatTransmitterBase' ../out/clang-release/src/LoRaPhy/LoRaTransmitter.o:(.rdata+0xdc0): undefined reference to typeinfo for inet::physicallayer::FlatTransmitterBase'
../out/clang-release/src/LoRaPhy/LoRaTransmitter.o:(.rdata+0xe40): undefined reference to typeinfo for inet::physicallayer::NarrowbandTransmitterBase' ../out/clang-release/src/LoRaPhy/LoRaTransmitter.o:(.rdata+0x13a0): undefined reference to typeinfo for inet::physicallayer::NarrowbandTransmitterBase'
../out/clang-release/src/LoRaPhy/LoRaTransmitter.o:(.rdata+0x19f0): undefined reference to `typeinfo for inet::physicallayer::FlatTransmitterBase'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:143: ../out/clang-release/src/flora.exe] Error 1
make[1]: Leaving directory '/c/Users/User/Documents/omnetpp-5.2.1/samples/FLORA/flora-0.8/src'
make: *** [Makefile:2: all] Error 2

19:42:36 Build Finished (took 3s.854ms)

How to get energy of nodes

Hi guys,

Im new to omnett and FLoRa.
I need to know how can we get the energy consumed by each nodes after simulated? I stuck with this for quite awhile now, i changed so many thing but still got 0J for energy (as per pic below)

@mariuszslabicki

image

INET 4

Are you going to update Flora to INET 4? Thanks you!

updateTransceiverState and updateTransceiverPart

Hello sir,

I was observing the implementation and I encountered these two function in LoRaRadio.cc. As far as I understood, these ones are for MAC layer in order to change RadioState. Is there any usage of these functions beside of that? Also, I can't figure out the difference between RadioReceptionStates. What do RECEPTION_STATE_BUSY and RECEPTION_STATE_UNDEFINED states represent? Thank you for consideration.

Syntax errors

Hi, I wanna build Flora, however after doing "build project", error with below log occurred. I am using omnetpp 5.5.1 and inet-4.1.1 in ubuntu 18.10. I had plenty of errors but manage to solve them though I'm still new in omnetpp and c++.
08:06:06 **** Incremental Build of configuration release for project Flora ****
make MODE=release all

src/LoRa/LoRaGWMac.h:38:29: error: ‘virtual inet::InterfaceEntry* inet::LoRaGWMac::createInterfaceEntry()’ marked ‘override’, but does not override
virtual InterfaceEntry *createInterfaceEntry() override;
^~~~~~~~~~~~~~~~~~~~

src/LoRa/LoRaGWMac.h:42:18: error: ‘virtual void inet::LoRaGWMac::handleUpperPacket(omnetpp::cPacket*)’ marked ‘override’, but does not override
virtual void handleUpperPacket(cPacket *msg) override;
^~~~~~~~~~~~~~~~~

src/LoRa/LoRaGWMac.h:43:18: error: ‘virtual void inet::LoRaGWMac::handleLowerPacket(omnetpp::cPacket*)’ marked ‘override’, but does not override
virtual void handleLowerPacket(cPacket *msg) override;
^~~~~~~~~~~~~~~~~

src/LoRa/LoRaGWMac.cc:23:15: error: invalid new-expression of abstract class type ‘inet::LoRaGWMac’
Define_Module(LoRaGWMac);
^~~~~~~~~
In file included from src/LoRa/LoRaGWMac.cc:16:
src/LoRa/LoRaGWMac.h:32:7: note: because the following virtual functions are pure within ‘inet::LoRaGWMac’:
class LoRaGWMac: public MacProtocolBase {
^~~~~~~~~
/OperationalBase.h:60:18: note: ‘virtual void inet::OperationalBase::handleStartOperation(inet::LifecycleOperation*)’
virtual void handleStartOperation(LifecycleOperation operation) = 0;
^~~~~~~~~~~~~~~~~~~~
/home/osboxes/Downloads/omnetpp-5.5.1/samples/inet/src/inet/common/lifecycle/OperationalBase.h:61:18: note: ‘virtual void inet::OperationalBase::handleStopOperation(inet::LifecycleOperation
)’
virtual void handleStopOperation(LifecycleOperation operation) = 0;
^~~~~~~~~~~~~~~~~~~
/home/osboxes/Downloads/omnetpp-5.5.1/samples/inet/src/inet/common/lifecycle/OperationalBase.h:62:18: note: ‘virtual void inet::OperationalBase::handleCrashOperation(inet::LifecycleOperation
)’
virtual void handleCrashOperation(LifecycleOperation operation) = 0;
^~~~~~~~~~~~~~~~~~~~
In file included from src/LoRa/LoRaGWMac.h:22,
from src/LoRa/LoRaGWMac.cc:16:
/home/osboxes/Downloads/omnetpp-5.5.1/samples/inet/src/inet/linklayer/base/MacProtocolBase.h:46:18: note: ‘virtual void inet::MacProtocolBase::configureInterfaceEntry()’
virtual void configureInterfaceEntry() = 0;
^~~~~~~~~~~~~~~~~~~~~~~
src/LoRa/LoRaGWMac.cc: In member function ‘virtual inet::InterfaceEntry
inet::LoRaGWMac::createInterfaceEntry()’:
src/LoRa/LoRaGWMac.cc:63:48: error: no matching function for call to ‘inet::InterfaceEntry::InterfaceEntry(inet::LoRaGWMac*)’
InterfaceEntry e = new InterfaceEntry(this);
^
In file included from /home/osboxes/Downloads/omnetpp-5.5.1/samples/inet/src/inet/linklayer/base/MacProtocolBase.h:23,
from src/LoRa/LoRaGWMac.h:22,
from src/LoRa/LoRaGWMac.cc:16:
/home/osboxes/Downloads/omnetpp-5.5.1/samples/inet/src/inet/networklayer/common/InterfaceEntry.h:154:5: note: candidate: ‘inet::InterfaceEntry::InterfaceEntry()’
InterfaceEntry();
^~~~~~~~~~~~~~
/home/osboxes/Downloads/omnetpp-5.5.1/samples/inet/src/inet/networklayer/common/InterfaceEntry.h:154:5: note: candidate expects 0 arguments, 1 provided
/home/osboxes/Downloads/omnetpp-5.5.1/samples/inet/src/inet/networklayer/common/InterfaceEntry.h:119:5: note: candidate: ‘inet::InterfaceEntry::InterfaceEntry(const inet::InterfaceEntry&)’
InterfaceEntry(const InterfaceEntry& obj);
^~~~~~~~~~~~~~
/home/osboxes/Downloads/omnetpp-5.5.1/samples/inet/src/inet/networklayer/common/InterfaceEntry.h:119:5: note: no known conversion for argument 1 from ‘inet::LoRaGWMac
’ to ‘const inet::InterfaceEntry&’
make: *** [Makefile:140: out/gcc-release//src/LoRa/LoRaGWMac.o] Error 1
"make MODE=release all" terminated with exit code 2. Build might be incomplete.

08:06:08 Build Failed. 6 errors, 0 warnings. (took 2s.355ms)
what is the problem?
Your assistance will be highly appreciated.

Error while building project - [Makefile:145: ../out/clang-debug/src/libflora_dbg.dll] Error 1

Hello all,

I am running an error when trying to build Flora, bot on omnet++ 6.o official version or in PRE11.
I am trying to use INet 4.3.7, Flora 1.0.0 and Omnet++ 6.0 (latest version).
My setup is Windows 10 pro with AMD Ryzen 5 processor 64 Bit.
Here is the step by step that i am doing:
1 - Install Omnet++ with basic steps (1 - Setenv, 2 - ./Configure and 3 - Make), so, i dont change anything in the configure.user file.
2 - Install INET 4.3.7 from the software (Help --> Install Simulation Models --> INet Framework 4 Version 4.3.7) and the result is:
18:31:26 Build Finished. 0 errors, 18 warnings. (took 4m:43s.892ms)
3 - Install Flora also from software (Help --> Install Simulation Models -->)
I start getting a lot of warning and in the end i get the below error:
`lld-link: error: duplicate symbol: inet::OperationalMixinomnetpp::cSimpleModule::isDown() const

defined at ../../inet4.3/src/inet/common/lifecycle/OperationalMixin.h:77
../out/clang-debug/src/LoRa/LoRaGWMac.o
defined at libINET_dbg.dll
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:145: ../out/clang-debug/src/libflora_dbg.dll] Error 1
make[1]: Leaving directory '/s/omnetpp/omnetpp-6.0/samples/flora/src'
make: *** [Makefile:5: all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.`

Do you have any idea of what could be wrong?
I also have a Ubunt LTS 20.04 VM so, i can use it if necessary.

Thanks in advance,
Jelson G.

Computing error with FLORA

Hi,

I manage to compile FLORA by changing the version of INET I used inet-3.6.7, but now that the compilation works i have trouble during the computation , here is what I obtanined in the error window Cannot evaluate parameter 'initialLoRaTP': operator "*": Refusing to perform computations involving quantities with nonlinear units (3dBm) -- in module (inet::SimpleLoRaApp) LoRaNetworkTest.loRaNodes[0].SimpleLoRaApp (id=30), during network setup

I read that you already discuss with another people but I really don't understand how the error can be corrected..I am very sorry again and many thanks for your help

DOCCER

ADR doesn't seem to work on the network server

Hello

I'm running an ADR simulation of FLoRa

I setting .networkServer..evaluateADRinServer = true

When I start all nodes with SF12 but there was no change

Do I need to make any other settings?

would you help me?

My guess is that the lora node does not receive the SF calculated by the network server.

Problem with building of Flora

Hello.

I have a problem connected with building Flora (I have OMNeT++ 5.4.1). I tried build project with INET 3.6.6 and I got some errors:

src/LoRa/LoRaRadio.cc:33:24: error: definition of dllimport static field not allowed
src/LoRa/LoRaRadio.cc:34:24: error: definition of dllimport static field not allowed
src/LoRa/LoRaRadio.cc:35:24: error: definition of dllimport static field not allowed
src/LoRa/LoRaRadio.cc:36:24: error: definition of dllimport static field not allowed
src/LoRa/LoRaRadio.cc:37:24: error: definition of dllimport static field not allowed
make: *** [Makefile:155: out/clang-release//src/LoRa/LoRaRadio.o] Error 1

In a configure.user I set
PREFER_CLANG=no
according to your instruction.

Of course, I have selected INET in Project References.
Similar errors occurred with INET 4.1.1 and INET 3.5.0. I have Windows 10. Could you help me to solve this problem?

Thank you very much.

incomplete build issue

Hello everybody

I'm facing some kind of errors I couldn't find any solution for
those are :
lld-link: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:144: ../out/gcc-debug/src/libflora_dbg.dll] Error 1
make[1]: Leaving directory '/c/Users/aabde/Downloads/omnetpp-6.0pre11/samples/flora/src'
make: *** [Makefile:5: all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.

receiver implementation

Hi, did you implement two receive window?
when I run a simulation, all nodes seems to detect packets from other nodes, however, nodes only listen after transmitting a packet according to LoRaWAN specification.

and they can not listen uplinks among nodes because they can listen only I/Q inverted signal which downlink uses.

these nodes are not likely to use Class A device, am i right?

Compile error: Definition of dllimport static field not allowed

Hi,
I am new to omnetpp and LoRa. Trying to run your LoRa simulation but getting error: Definition of dllimport static field not allowed.

I am using Omnet++ 3.5.1 with INET 3.6.4. Platform is Windows.

The output of console:
...
In file included from src/LoRa/LoRaRadio.cc:20:
../inet/src\inet/common/ModuleAccess.h:98:4: warning: 'inet::getModuleFromPar' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport]
T *getModuleFromPar(cPar& par, const cModule *from, bool required)
^
../inet/src\inet/common/ModuleAccess.h:95:13: note: previous declaration is here
INET_API T *getModuleFromPar(cPar& par, const cModule *from, bool required = true);
^
../inet/src\inet/common/ModuleAccess.h:95:1: note: previous attribute is here
INET_API T *getModuleFromPar(cPar& par, const cModule *from, bool required = true);
^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#define INET_API OPP_DLLIMPORT
^
C:/Users/smartlab/Desktop/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#define OPP_DLLIMPORT __declspec(dllimport)
^
src/LoRa/LoRaRadio.cc:31:24: error: definition of dllimport static field not allowed
simsignal_t LoRaRadio::minSNIRSignal = cComponent::registerSignal("minSNIR");
^
src/LoRa/LoRaRadio.h:31:7: note: attribute is here
class INET_API LoRaRadio : public FlatRadioBase //: public PhysicalLayerBase, public virtual IRadio
^
../inet/src\inet/common/INETDefs.h:52:23: note: expanded from macro 'INET_API'
#define INET_API OPP_DLLIMPORT
^
C:/Users/smartlab/Desktop/omnetpp-5.2.1/include/omnetpp/platdep/platdefs.h:33:37: note: expanded from macro 'OPP_DLLIMPORT'
#define OPP_DLLIMPORT __declspec(dllimport)
^
src/LoRa/LoRaRadio.cc:32:24: error: definition of dllimport static field not allowed
...

The errors specifically are referring to the following line in LoRaRadio.cc:

simsignal_t LoRaRadio::minSNIRSignal = cComponent::registerSignal("minSNIR");
simsignal_t LoRaRadio::packetErrorRateSignal = cComponent::registerSignal("packetErrorRate");
simsignal_t LoRaRadio::bitErrorRateSignal = cComponent::registerSignal("bitErrorRate");
simsignal_t LoRaRadio::symbolErrorRateSignal = cComponent::registerSignal("symbolErrorRate");
simsignal_t LoRaRadio::droppedPacket = cComponent::registerSignal("droppedPacket");

How to resolve the problem? Thank you

regards,

Shaw

aloha Protocol

omnet.ini ( Aloha channel =fasle) these means Aloha Protocol didn't enable , if i modified to True it works OR Need configuration from LoraApp ?????

Issues building Flora on Ubuntu 20

Hi everyone,

I'm having an issue building the project in Omnet 6, I did Make sure that the FLoRa project has INET project (inet4.3) as a project reference (Project > Properties > Project References) as you can see in the first picture. The second pictures show the line of error at LoRa/LoRaMacControlInfo.msg:20 .

Inet is building ok, I installed it via the omnet functionallity (at first install of omnet) , do you think it can come from there

My hypothesis is that the link between inet and flora did not happen but how can i fix it? The error tell me that is a synthax one but i gess that it's more about the import inet. Do you have any advise?

Thanks a lot!

15:45:11 **** Incremental Build of configuration release for project flora ****
make MODE=release all
make[1]: Entering directory '/home/nico/omnetpp-5.7/samples/flora/src'
MSGC: LoRa/LoRaMacControlInfo.msg
LoRa/LoRaMacControlInfo.msg:20: Error: syntax error, unexpected NAME, expecting $end
make[1]: Leaving directory '/home/nico/omnetpp-5.7/samples/flora/src'
make[1]: *** [Makefile:157: LoRa/LoRaMacControlInfo_m.h] Error 1
make: *** [Makefile:5: all] Error 2
"make MODE=release all" terminated with exit code 2. Build might be incomplete.

15:45:11 Build Failed. 3 errors, 0 warnings. (took 175ms)

image

image

"Unknown log format" error

My environment setup is as follows;

  • OMNETPP v5.2.1
  • Inet v3.6.3
  • Ubuntu 20.04

When trying to initiate the Flora simulation the following error is encountered;
image

In addition to that the following error is printed out in the console;

Simulation terminated with exit code: 139
Working directory: /media/nuwan/Data/Study/Masters/Implementation/flora/simulations
Command line: ../src/flora -m -n ../src:.:../../inet3/src:../../inet3/examples:../../inet3/tutorials:../../inet3/showcases --image-path=../../inet3/images -l ../../inet3/src/INET batchTest.ini

Environment variables:
PATH=/home/nuwan/omnetpp-5.2.1/bin::/home/nuwan/omnetpp-5.2.1/bin:/home/nuwan/.nvm/versions/node/v14.8.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/nuwan/bake
LD_LIBRARY_PATH=/home/nuwan/omnetpp-5.2.1/lib::/media/nuwan/Data/Study/Masters/Implementation/inet3/src:
OMNETPP_IMAGE_PATH=/home/nuwan/omnetpp-5.2.1/images

This behaviour is consistent with all 4 .ini files in the simulations directory i.e; batchTest.ini, loraNetworSkeleton.ini, loraNetworkTest.ini & loraNetworkTest-nonorth.ini

Note: I have turned off both OGS and OGS Earth services when configuring OMNETPP for whatever that's worth

Any fixes would be greatly appreciated.

Problem during setup

Hello, I have managed to build INET 3.6.6 and FLoRa 0.8 in OMNeT++ 5.5.1 on an Ubuntu 18.04 machine, however, when I Run As OMNeT++ Simulation I get the following error:

Cannot evaluate parameter 'initialLoRaTP': operator "*": Refusing to perform computations involving quantities with nonlinear units (3dBm) -- in module (inet::SimpleLoRaApp) LoRaNetworkTest.loRaNodes[0].SimpleLoRaApp (id=30), during network setup

I have tried using multiple different INET versions, such as 4.1.1, 4.1.0, 3.6.6, 3.6.5, 3.6.4, 3.6.3, but have always had issues with either getting FLoRa to compile with override errors (v4.1.1) or just not being able to compile INET (the rest of the versions).

can't build Flora

Hello,
I need help with this error

make MODE=debug all
make[1]: Entering directory '/c/Downloads/omnetpp-6.0pre10-src-windows/omnetpp-6.0pre10/samples/flora/src'
MSGC: LoRa/LoRaMacControlInfo.msg
LoRa/LoRaMacControlInfo.msg:20: Error: cannot resolve import 'inet.common.INETDefs'
make[1]: Leaving directory '/c/Downloads/omnetpp-6.0pre10-src-windows/omnetpp-6.0pre10/samples/flora/src'
LoRa/LoRaMacControlInfo.msg:21: Error: cannot resolve import 'inet.common.Units'
LoRa/LoRaMacControlInfo.msg:22: Error: cannot resolve import 'inet.linklayer.common.MacAddress'
LoRa/LoRaMacControlInfo.msg:31: Error: unknown type 'inet::MacAddress' for field 'src' in 'LoRaMacControlInfo'
LoRa/LoRaMacControlInfo.msg:32: Error: unknown type 'inet::MacAddress' for field 'dest' in 'LoRaMacControlInfo'
LoRa/LoRaMacControlInfo.msg:35: Error: unknown type 'inet::Hz' for field 'LoRaCF' in 'LoRaMacControlInfo'
LoRa/LoRaMacControlInfo.msg:37: Error: unknown type 'inet::Hz' for field 'LoRaBW' in 'LoRaMacControlInfo'
opp_msgtool: error in 1 file(s)
make[1]: *** [Makefile:155: LoRa/LoRaMacControlInfo_m.h] Error 1
make: *** [Makefile:5: all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.

Sub Urban Environment

Hi,
I guess the omnetpp.ini configuration in the current repository is urban environment. However, as you mentioned in the paper, there is an also suburban environment. How can we configure the simulation as if in suburban area? Thank you

Problem to compile FLORA with MacOS Catalina

Hi, I am sorry to busy you but I downloaded and tried to compile the FLORA example. I read your comments from 2018 where erros occurred because CLANG compiler was used instead of GCC. So it what I have done but the Build failed. Here is the set of compilation error :

23:30:08 **** Build of configuration gcc-debug for project flora ****
make MODE=debug all
MSGC: LoRa/LoRaMacControlInfo.msg
MSGC: LoRa/LoRaMacFrame.msg
MSGC: LoRaApp/LoRaAppPacket.msg
MSGC: LoRaPhy/LoRaRadioControlInfo.msg
LoRa/LoRaGWMac.cc
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:20:10: warning: non-portable path to file '"inet/linklayer/contract/IMacProtocol.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include "inet/linklayer/contract/IMACProtocol.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"inet/linklayer/contract/IMacProtocol.h"
LoRa/LoRaGWMac.h:21:10: warning: non-portable path to file '"inet/linklayer/base/MacProtocolBase.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include "inet/linklayer/base/MACProtocolBase.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"inet/linklayer/base/MacProtocolBase.h"
LoRa/LoRaGWMac.h:31:25: error: unknown class name 'MACProtocolBase'; did you mean 'MacProtocolBase'?
class LoRaGWMac: public MACProtocolBase {
^~~~~~~~~~~~~~~
MacProtocolBase
../../inet4/src/inet/linklayer/base/MACProtocolBase.h:29:16: note: 'MacProtocolBase' declared here
class INET_API MacProtocolBase : public LayeredProtocolBase, public cListener
^
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:37:29: error: 'createInterfaceEntry' marked 'override' but does not override any member functions
virtual InterfaceEntry *createInterfaceEntry() override;
^
LoRa/LoRaGWMac.h:41:18: error: 'handleUpperPacket' marked 'override' but does not override any member functions
virtual void handleUpperPacket(cPacket *msg) override;
^
LoRa/LoRaGWMac.h:42:18: error: 'handleLowerPacket' marked 'override' but does not override any member functions
virtual void handleLowerPacket(cPacket *msg) override;
^
LoRa/LoRaGWMac.h:36:18: warning: 'inet::LoRaGWMac::finish' hides overloaded virtual function [-Woverloaded-virtual]
virtual void finish() override;
^
/Users/certon/omnetpp-5.6.1/include/omnetpp/clistener.h:118:18: note: hidden overloaded virtual function 'omnetpp::cIListener::finish' declared here: different number of parameters (2 vs 0)
virtual void finish(cComponent *component, simsignal_t signalID) {}
^
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:41:18: warning: 'inet::LoRaGWMac::handleUpperPacket' hides overloaded virtual function [-Woverloaded-virtual]
virtual void handleUpperPacket(cPacket *msg) override;
^
../../inet4/src/inet/common/LayeredProtocolBase.h:38:18: note: hidden overloaded virtual function 'inet::LayeredProtocolBase::handleUpperPacket' declared here: type mismatch at 1st parameter ('inet::Packet *' vs 'omnetpp::cPacket *')
virtual void handleUpperPacket(Packet *packet);
^
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:42:18: warning: 'inet::LoRaGWMac::handleLowerPacket' hides overloaded virtual function [-Woverloaded-virtual]
virtual void handleLowerPacket(cPacket *msg) override;
^
../../inet4/src/inet/common/LayeredProtocolBase.h:39:18: note: hidden overloaded virtual function 'inet::LayeredProtocolBase::handleLowerPacket' declared here: type mismatch at 1st parameter ('inet::Packet *' vs 'omnetpp::cPacket *')
virtual void handleLowerPacket(Packet *packet);
^
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:55:18: warning: 'inet::LoRaGWMac::receiveSignal' hides overloaded virtual function [-Woverloaded-virtual]
virtual void receiveSignal(cComponent *source, simsignal_t signalID, long value, cObject *details) override;
^
../../inet4/src/inet/linklayer/base/MACProtocolBase.h:87:18: note: hidden overloaded virtual function 'inet::MacProtocolBase::receiveSignal' declared here: type mismatch at 3rd parameter ('omnetpp::cObject *' vs 'long')
virtual void receiveSignal(cComponent *source, simsignal_t signalID, cObject *obj, cObject *details) override;
^
LoRa/LoRaGWMac.cc:23:15: error: allocating an object of abstract class type 'inet::LoRaGWMac'
Define_Module(LoRaGWMac);
^
../../inet4/src/inet/linklayer/base/MACProtocolBase.h:57:18: note: unimplemented pure virtual method 'configureInterfaceEntry' in 'LoRaGWMac'
virtual void configureInterfaceEntry() = 0;
^
LoRa/LoRaGWMac.cc:27:5: error: use of undeclared identifier 'MACProtocolBase'; did you mean 'MacProtocolBase'?
MACProtocolBase::initialize(stage);
^~~~~~~~~~~~~~~
MacProtocolBase
../../inet4/src/inet/linklayer/base/MACProtocolBase.h:29:16: note: 'MacProtocolBase' declared here
class INET_API MacProtocolBase : public LayeredProtocolBase, public cListener
^
LoRa/LoRaGWMac.cc:63:29: error: no matching constructor for initialization of 'inet::InterfaceEntry'
InterfaceEntry *e = new InterfaceEntry(this);
^ ~~~~
../../inet4/src/inet/networklayer/common/InterfaceEntry.h:120:5: note: candidate constructor not viable: no known conversion from 'inet::LoRaGWMac *' to 'const inet::InterfaceEntry' for 1st argument
InterfaceEntry(const InterfaceEntry& obj);
^
../../inet4/src/inet/networklayer/common/InterfaceEntry.h:155:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
InterfaceEntry();
^
6 warnings and 7 errors generated.
make[1]: *** [../out/gcc-debug/src/LoRa/LoRaGWMac.o] Error 1
make: *** [all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.

23:30:10 Build Failed. 9 errors, 6 warnings. (took 2s.449ms)

Perhaps you may provide me councils to help in debugging, I am really neophyte.

Best

DOCCER

New Routing Protocols

How can we modify this framework to test new routing protocols for LoRa devices ?

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

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

Power Calculations

Hey,

Could anyone help me please with the method of extracting the plots and consuming Power?

can't simulate template flora project

Hello everyone,
I installed flora and inet 4.3.3 project in here:
image
when i first simulator this error occurs:
image
i fixed this by adding "this." in front of "interfaceTableModule" in LoRaGWNic.ned and LoRaNic.ned files:
image
howerver, when I re-simulate, it keeps giving error:
image
this is template project, I don't know how to handle this.
Thanks for your help.

Environment with Flora

Hey there,
sorry to be bothering you, but i have a question regarding the interaction of physical objects with the transmission of your LoRa-Nodes. I created a few objects in my simulation and loaded them in using the PhysicalEnvironment module. Although i am able to see the objects with the PhysicalEnvironmentVisualizer module, it appears that they are not taken into account when it comes to the actual calculation of the transmisson.

Since i am fairly new to simulating in omnetpp and your flora project, i cannot figure out, if I am doing something wrong, or whether this feature is just not supported.

Thank you very much for your time,
Niklas

Communication between nodes

Hi, congrats for your work.

I would like to know if it is easy/possible to simulate packet transmission/reception between device nodes?

regards,

Simulation ability

Hello Everybody

I'm asking about the ability of LoRa to make a simulation for a given inputs like the attached file

Can I make simulation on some nodes, gateways sensors and end devices and if it's applicable could you afford me with a video, a reference or some instructions at least ?

thanks in advance

Simulation Scenario (Home Automation) (2021-07-19).pdf

FLoRa build fails with several errors

Nine errors and six warnings from the build that automatically happened as part of the "import" menu item.

Windows 10 Pro, Omnet++ 5.6.2, Inet 4.2, and FLoRa 0.8. The build output is included below.

There are some files in the inet\misc\rename folder (see below) that list either renames that have been done or should be done; I'm not sure which. I also don't know if there's already a tool distributed with FLoRa or inet (inet\migrate folder?) that would do the renames? I do know, however, that manually renaming the invalid names allow other errors to appear.

FLoRa is not in the workspace folder (samples), Maybe that's caused by the failed build. I'm not sure what happens to the source files in the FLoRa\src distribution, although there is a new folder named "out" which may contain some of the build errors.

A regression build by the developers/maintainers is needed.

Rename-related files in inet\misc\rename:

  • class_renames_cumulated.txt
  • replacements.pl
  • class_renames_cumulated.txt
  • migrateinclude.pl
  • suggested_class_renames.txt

19:47:11 **** Build of configuration gcc-debug for project flora ****
make MODE=debug
make[1]: Entering directory '/c/Users/Scott/Documents/flora/src'
MSGC: LoRa/LoRaMacControlInfo.msg
MSGC: LoRa/LoRaMacFrame.msg
MSGC: LoRaApp/LoRaAppPacket.msg
MSGC: LoRaPhy/LoRaRadioControlInfo.msg
LoRa/LoRaGWMac.cc
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:20:10: warning: non-portable path to file '"inet/linklayer/contract/IMacProtocol.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include "inet/linklayer/contract/IMACProtocol.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"inet/linklayer/contract/IMacProtocol.h"
LoRa/LoRaGWMac.h:21:10: warning: non-portable path to file '"inet/linklayer/base/MacProtocolBase.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include "inet/linklayer/base/MACProtocolBase.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"inet/linklayer/base/MacProtocolBase.h"
LoRa/LoRaGWMac.h:31:25: error: unknown class name 'MACProtocolBase'; did you mean 'MacProtocolBase'?
class LoRaGWMac: public MACProtocolBase {
^~~~~~~~~~~~~~~
MacProtocolBase
C:/Users/Scott/Desktop/omnetpp-5.6.2/samples/inet/src\inet/linklayer/base/MACProtocolBase.h:29:16: note: 'MacProtocolBase' declared here
class INET_API MacProtocolBase : public LayeredProtocolBase, public cListener
^
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:37:29: error: 'createInterfaceEntry' marked 'override' but does not override any member functions
virtual InterfaceEntry *createInterfaceEntry() override;
^
LoRa/LoRaGWMac.h:41:18: error: 'handleUpperPacket' marked 'override' but does not override any member functions
virtual void handleUpperPacket(cPacket *msg) override;
^
LoRa/LoRaGWMac.h:42:18: error: 'handleLowerPacket' marked 'override' but does not override any member functions
virtual void handleLowerPacket(cPacket *msg) override;
^
LoRa/LoRaGWMac.h:36:18: warning: 'inet::LoRaGWMac::finish' hides overloaded virtual function [-Woverloaded-virtual]
virtual void finish() override;
^
C:/Users/Scott/Desktop/omnetpp-5.6.2/include\omnetpp/clistener.h:118:18: note: hidden overloaded virtual function 'omnetpp::cIListener::finish' declared here: different number of parameters (2 vs 0)
virtual void finish(cComponent *component, simsignal_t signalID) {}
^
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:41:18: warning: 'inet::LoRaGWMac::handleUpperPacket' hides overloaded virtual function [-Woverloaded-virtual]
virtual void handleUpperPacket(cPacket *msg) override;
^
C:/Users/Scott/Desktop/omnetpp-5.6.2/samples/inet/src\inet/common/LayeredProtocolBase.h:38:18: note: hidden overloaded virtual function 'inet::LayeredProtocolBase::handleUpperPacket' declared here: type mismatch at 1st parameter ('inet::Packet *' vs 'omnetpp::cPacket *')
virtual void handleUpperPacket(Packet *packet);
^
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:42:18: warning: 'inet::LoRaGWMac::handleLowerPacket' hides overloaded virtual function [-Woverloaded-virtual]
virtual void handleLowerPacket(cPacket *msg) override;
^
C:/Users/Scott/Desktop/omnetpp-5.6.2/samples/inet/src\inet/common/LayeredProtocolBase.h:39:18: note: hidden overloaded virtual function 'inet::LayeredProtocolBase::handleLowerPacket' declared here: type mismatch at 1st parameter ('inet::Packet *' vs 'omnetpp::cPacket *')
virtual void handleLowerPacket(Packet *packet);
^
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:55:18: warning: 'inet::LoRaGWMac::receiveSignal' hides overloaded virtual function [-Woverloaded-virtual]
virtual void receiveSignal(cComponent *source, simsignal_t signalID, long value, cObject *details) override;
^
C:/Users/Scott/Desktop/omnetpp-5.6.2/samples/inet/src\inet/linklayer/base/MACProtocolBase.h:91:18: note: hidden overloaded virtual function 'inet::MacProtocolBase::receiveSignal' declared here: type mismatch at 3rd parameter ('omnetpp::cObject *' vs 'long')
virtual void receiveSignal(cComponent *source, simsignal_t signalID, cObject *obj, cObject *details) override;
^
LoRa/LoRaGWMac.cc:23:15: error: allocating an object of abstract class type 'inet::LoRaGWMac'
Define_Module(LoRaGWMac);
^
C:/Users/Scott/Desktop/omnetpp-5.6.2/samples/inet/src\inet/linklayer/base/MACProtocolBase.h:61:18: note: unimplemented pure virtual method 'configureInterfaceEntry' in 'LoRaGWMac'
virtual void configureInterfaceEntry() = 0;
^
LoRa/LoRaGWMac.cc:27:5: error: use of undeclared identifier 'MACProtocolBase'; did you mean 'MacProtocolBase'?
MACProtocolBase::initialize(stage);
^~~~~~~~~~~~~~~
MacProtocolBase
C:/Users/Scott/Desktop/omnetpp-5.6.2/samples/inet/src\inet/linklayer/base/MACProtocolBase.h:29:16: note: 'MacProtocolBase' declared here
class INET_API MacProtocolBase : public LayeredProtocolBase, public cListener
^
LoRa/LoRaGWMac.cc:63:29: error: no matching constructor for initialization of 'inet::InterfaceEntry'
InterfaceEntry *e = new InterfaceEntry(this);
^ ~~~~
C:/Users/Scott/Desktop/omnetpp-5.6.2/samples/inet/src\inet/networklayer/common/InterfaceEntry.h:120:5: note: candidate constructor not viable: no known conversion from 'inet::LoRaGWMac *' to 'const inet::InterfaceEntry' for 1st argument
InterfaceEntry(const InterfaceEntry& obj);
^
C:/Users/Scott/Desktop/omnetpp-5.6.2/samples/inet/src\inet/networklayer/common/InterfaceEntry.h:155:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
InterfaceEntry();
^
6 warnings and 7 errors generated.
make[1]: *** [Makefile:152: ../out/clang-debug/src/LoRa/LoRaGWMac.o] Error 1
make[1]: Leaving directory '/c/Users/Scott/Documents/flora/src'
make: *** [Makefile:2: all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.

19:47:14 Build Failed. 9 errors, 6 warnings. (took 3s.172ms)

timingCollison in none alohachannelModel

Hello. I have a problem in the method "isPacketCollided" in LoRaReceiver.cc
I think in "alohachannelmodel" timingCollison should be checked and it is not nesesory for conditions that "alohachannelMode=false". could you help me?

Inquiry on MAC protocol used

Hi, may i know which MAC protocol (CSMA/CA or ALOHA) is used in the Flora framework. Also, which source .cc file can i look for it? Because I'm doing a project on those protocols. Hopes to get your reply ASAP, thanks!!!

low DER even in a small network

Hello. I have a big problem in analysis of results. when I use the flora version 0.8 and run the network even with SF=intuniform(7,12) , TX Power=14, network size = 3000*3000 with log normal shadowing with sigma=3.57; I have low DER(about 9%)(you can try yourself!)because the most packet that arrive LoRaGateway were dropped cause of their low power(less than -137dBm). it is not reasonable and in many articles is written that DER is about 80-90% for 100 nodes(like https://ieeexplore.ieee.org/abstract/document/8580906/). could you help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.