Commit 2be17c1d authored by garciay's avatar garciay
Browse files

Bug fixed AtsRSUSimulator

parent 1f0fe4bb
......@@ -91,7 +91,7 @@ all: Makefile $(CONVERTER)
$(LIB_MAKEFILE): $(addprefix $(ASN_DIR)/, $(ASN_FILES))
$(ASN1C) -gen-PER -gen-OER $(addprefix -pdu=,$(PDU)) -fcompound-names $^
-for n in $(PATCHES); do patch -i "$(SCRIPT_DIR)/$$n"; done
-for n in $(PATCHES); do git apply "$(SCRIPT_DIR)/$$n"; done
$(CONVERTER): $(ASN_LIBRARY) $(CONVERTER_OBJS)
$(CC) $(CFLAGS) -o $@ $(CONVERTER_OBJS) $(ASN_LIBRARY) $(LIBS)
......
......@@ -22,7 +22,7 @@ using namespace std; // Required for isnan()
security_services * security_services::instance = nullptr;
security_services::security_services() : _setup_done{false}, _ec_keys_enc(nullptr), _security_cache(new security_cache), _security_db(nullptr), _last_generation_time(0), _unknown_certificate(), _latitude(0), _longitude(0), _elevation(0) {
security_services::security_services() : _setup_done{false}, _ec_keys_enc(nullptr), _security_cache(new security_cache), _security_db(nullptr), _last_generation_time(0), _unknown_certificate(0, nullptr), _latitude(0), _longitude(0), _elevation(0) {
loggers::get_instance().log(">>> security_services::security_services");
} // End of ctor
......
......@@ -123,7 +123,7 @@ LogEventTypes:= Yes
# save_mode : Set to 1 to save sent packet, 0 otherwise
# Single GeoNetworking component port
system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=43551050,longitude=10298730,its_aid=37,secured_mode=1,encrypted_mode=0,certificate=CERT_IUT_F_AT,peer_certificate=CERT_TS_F_AT,sec_db_path=/home/vagrant/tmp/asn1c_cert)/ETH(mac_src=080027500f9b)/PCAP(mac_src=080027500f9b,nic=eth2,filter=and ether proto 0x8947)"
system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=43551050,longitude=10298730,its_aid=37,secured_mode=1,encrypted_mode=0,certificate=CERT_IUT_A_AT,peer_certificate=CERT_TS_A_AT,sec_db_path=/home/vagrant/tmp/asn1c_cert)/ETH(mac_src=080027500f9b)/PCAP(mac_src=080027500f9b,nic=eth2,filter=and ether proto 0x8947)"
# Config port based on UDP
system.cfPort.params := "CF(ut=cam)/UDP(dst_ip=192.168.2.2)"
......
......@@ -61,6 +61,7 @@ do
done
done
cp ${SRC_ITS_PATH}/asn1/Makefile ${PATH_DEV_ITS}/asn1
cp ${SRC_ITS_PATH}/asn1/*.c.diff ${PATH_DEV_ITS}/asn1
# Update testdata
echo 'Updating testdata'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment