Comments (4)
Hi @danieladriano,
I have just checked GBC reception with DenService
which seems to be working as intended. Hence, I do not assume that anything is severely broken. Did I understand you correctly that only the communication between RSUs and vehicles is broken but among the same type is working? Maybe the security entity is configured differently and thus dropped by one of them? You can check this by looking at node[x].vanetza
(and rsu[x].vanetza
) if SecurityEntity
is present.
Regards,
Raphael
from artery.
Hi @riebl ,
In my service, when the message have the vehicle as origin and a RSU as destine, the communication via GBC don't work. But the inverse (RSU to Vehicle) its working and V2V too.
If I change from GBC for SHB, the communication works fine.
About the security entity, I don't have SecurityEntity
set at node[x].vanetza
or rsu[x].vanetza
.
This is my code for send a packet from vehicle to RSU.
void VehicleService::sendPacket(cPacket* packet)
{
btp::DataRequestB req;
req.destination_port = host_cast<VehicleService::port_type>(getPortNumber());
req.gn.transport_type = geonet::TransportType::GBC;
req.gn.traffic_class.tc_id(static_cast<unsigned>(dcc::Profile::DP1));
req.gn.communication_profile = geonet::CommunicationProfile::ITS_G5;
geonet::Area area;
area.shape = geonet::Circle();
using units::si::meter;
geonet::Circle destination_shape;
destination_shape.r = 100.0 * meter;
area.shape = destination_shape;
area.position.latitude = opLatitude;
area.position.longitude = opLongitude;
req.gn.destination = area;
request(req, packet);
}
Thanks for the helping.
Regards,
Daniel
from artery.
Okay, based on your detailed problem description I have been able to find and fix the problem.
I don't want to close this issue ticket, however, because I would like to have a test case to prevent this issue in the future. Any ideas are welcome.
from artery.
Hi @riebl ,
Thanks for the help and the bug fix. I will test my application again and give you a feedback.
I have no experience with test cases, but if I have any ideas, I will pass on to you.
Thanks again.
Regards,
Daniel
from artery.
Related Issues (20)
- Connecting to Sumo server by TraCi HOT 9
- Artery build error HOT 6
- run into problems while trying `vagrant up` on my Ubuntu 22.04 machine HOT 6
- CAM and DENM messages HOT 2
- DEN use cases HOT 1
- connecting artery simulation scenario with the external v2x device HOT 3
- Traffic Lights management HOT 1
- Problem with adding new files to INET (<!> Error: Cannot load library) HOT 3
- adding RSU to simuLTE probleme cars veins HOT 5
- Difficulty Implementing External Service Message Transmission and Enabling Network Participants to Edit Messages in Artery HOT 6
- Integrating MQTT protocol with artery HOT 13
- Segementation fault (core dumps) in artery::FovSensor::refreshDisplay HOT 1
- ASSERT: Condition 'mController' does not hold in function 'getVehicleController' HOT 14
- Equip services to vehicles HOT 1
- Protobuff transmission using cPacket and request
- Problems running CAM Fixed and Dynamic with the same scenario HOT 5
- about a cmake error HOT 6
- UPER encoded DecentralizedEnvironmentalNotificationMessage(DENM) structure
- Regarding creating a new service to stationary nodes(rsu) HOT 3
- Creating messages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artery.