How can I simulate the RSSI in the Omnet++?
self reply.
I am trying to use Ieee802.15.4A for my simulation. I want to get the RSSI value.
I found these lines in CSMA802154.h to calculate the RSSI.
But I don know how to print the RSSI when a packet receive in a node.
cPacket *CSMA802154::decapsMsg(macpkt_ptr_t macPkt) {
cPacket * msg = csma::decapsMsg(macPkt);
// get bit error rate
PhyToMacControlInfo* cinfo = static_cast (macPkt->getControlInfo());
const DeciderResult802154Narrow* result = static_cast (cinfo->getDeciderResult());
double ber = result->getBER();
double rssi = result->getRSSI();
//get control info attached by base class decapsMsg method
//and set its rssi and ber
assert(dynamic_cast(msg->getControlInfo()));
MacToNetwControlInfo* cInfo = static_cast(msg->getControlInfo());
cInfo->setBitErrorRate(ber);
cInfo->setRSSI(rssi);
ev
Ameneh Deljoo · : can you share me your soultion of this probelm
with thanks
We know that Aluminum has 8 series alloys and these alloys have a different composition. The effect of each of these elements on preparation (surface treatment as physically and as chemically) can...
05 March 2018 5,585 4 View
Hello everyone, I would like to simulate a simple scenario in inetmanet or mixim. For example we have 5 nodes in the network and the nodes will send hello include own Id periodically, some of the...
05 November 2014 4,824 2 View
When RSS is changed for some sensor node.
25 June 2014 2,615 18 View
Hi Community, I'm facing the issue of integration/compiling a new routing protocol in a WSN simulator. The final goal is to successfully add, configure this routing protocol in hardware devices...
01 March 2021 9,332 6 View
28 February 2021 5,433 3 View
Hello researchers, Hello Castalia3.2 researchers I am a beginner with Castalia, I work on optimization of RFID systems used in wireless body networks. I simulated a WBAN with 10 nodes and one...
28 February 2021 400 1 View
I am simulating helix antenna in hfss, right now, giving excitation with 50 ohms port. When I see the results of Z parameter (real). It shows lower than 50 ohms. Do not understand, if it can be...
27 February 2021 4,218 7 View
Hi, everyone I'm working on a privacy-preserving algorithm that will apply to IoT devices. So, I need to measure the power consumption by implementing this algorithm. Any suggestion, advice,...
25 February 2021 8,749 6 View
Hi Hope you are well. Can you please share your code for D2D implementation in Matlab. I want to implement D2D in Matlab based Vienna simulator and struggling to deploy D2D. Thanks
24 February 2021 9,378 3 View
I understand there are a lot of software programs that can simulate DED by going through specific modeling, simulation, and commands. For me, that was time consuming and results were not accurate....
24 February 2021 4,428 3 View
Using GDB, it is straightforward to debug and monitor a target program by setting a break-point at a specific instruction, since the instruction addresses are known. However, we have two...
24 February 2021 1,598 2 View
Hi, We are trying to simulate particles with Langevin dynamics in a shear flow by Lees-Edwards boundary conditions in MD simulations. It seems thermal forces and shear flow do not go hand in...
23 February 2021 1,761 1 View
Dear researchers, I want to simulate a flow (air) in a wind tunnel, and I want to integrate a fluidic actuator inside it in order to control the separation of the boundary layer. At the blower...
22 February 2021 4,882 3 View