Hello!
I am learning the module Satellite (it requires ns3.43). All tests and examples are working. I have created my own example based on the Satellite's example sat-gw-handower-example.cc. My goal was to get pcap-files for traffic throw orbiters. Simulation successfully catches packets for all nodes but not for orbiters: pcap-files of orbiteers are empty. My code in attachment, a file sat-gw-handover-example_my_rollback.cc
To overcome issue with empty orbiters pcaps I decided to change method for catching packets from orbiter (my second code in attachment, a file sat-handover-fixed.cc), Unfortunately, it's compilation ends with strange error which is not understandable for me (and AI :):
```
from /home/igor/workspace_ns3.43/ns-3.43/build/include/ns3/bulk-send-helper.h:1,
from /home/igor/workspace_ns3.43/ns-3.43/build/include/ns3/applications-module.h:6,
from /home/igor/workspace_ns3.43/ns-3.43/scratch/sat-handover-fixed.cc:22:
/home/igor/workspace_ns3.43/ns-3.43/src/core/model/ptr.h: In instantiation of ‘ns3::Ptr<T>::Ptr(const ns3::Ptr<U>&) [with U = ns3::Ipv4; T = ns3::LoraLogicalChannel]’:
/home/igor/workspace_ns3.43/ns-3.43/scratch/sat-handover-fixed.cc:64:25: required from here
/home/igor/workspace_ns3.43/ns-3.43/src/core/model/ptr.h:672:24: error: cannot convert ‘ns3::Ipv4*’ to ‘ns3::LoraLogicalChannel*’ in initialization
672 | : m_ptr(PeekPointer(o))
| ~~~~~~~~~~~^~~
| |
| ns3::Ipv4*
ninja: build stopped: subcommand failed.
```
So, my questions are:
1. What is the right way to capture pcap-filles from orbiters?
2. How to solve described compilation issue?
Best regards,
Igor
-- -------------------------------------------------------------------------------