Skip to content

Commit

Permalink
Merge pull request #89 from CDOT-CV/Fix/tim-message-forwarding
Browse files Browse the repository at this point in the history
Change the tx flag to on for TIM message forwarding
  • Loading branch information
drewjj authored Jul 18, 2024
2 parents 77cc0a2 + b917dae commit 9ab3ab1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions services/common/rsufwdsnmpset.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def config_init(
"47900",
index,
"8003",
raw=True
raw=True,
)
else:
return (
Expand All @@ -502,6 +502,7 @@ def config_init(
)
elif snmp_version == "1218":
# Based on message type, choose the right port
# rsu_ip, snmp_creds, dest_ip, udp_port, rsu_index, psid, tx
if msg_type.lower() == "bsm":
return config_txrxmsg(
rsu_ip, snmp_creds, dest_ip, "46800", index, "20", False
Expand All @@ -524,7 +525,7 @@ def config_init(
)
if msg_type.lower() == "tim":
return config_txrxmsg(
rsu_ip, snmp_creds, dest_ip, "47900", index, "8003", False
rsu_ip, snmp_creds, dest_ip, "47900", index, "8003", True
)
else:
return (
Expand Down

0 comments on commit 9ab3ab1

Please sign in to comment.