Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed Jul 30, 2024
1 parent b107548 commit b62fe28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/v2i-hub/SpatPlugin/src/SignalControllerConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ namespace SpatPlugin {
{
// For binary SPAT a value of 2 enables original SPAT binary broadcast on the TSC and a value of 6 enables original SPAT plugin additional Pedestrian Information.
// NOTE: Pedestrian information is untested.
tmx::utils::snmp_response_obj enable_spat;
enable_spat.val_int = 2;
enable_spat.type = tmx::utils::snmp_response_obj::response_type::INTEGER;
status = status && scSNMPClient->process_snmp_request(NTCIP1202V2::ENABLE_SPAT_OID, tmx::utils::request_type::SET, enable_spat);
tmx::utils::snmp_response_obj enable_spat_resp;
enable_spat_resp.val_int = 2;
enable_spat_resp.type = tmx::utils::snmp_response_obj::response_type::INTEGER;
status = status && scSNMPClient->process_snmp_request(NTCIP1202V2::ENABLE_SPAT_OID, tmx::utils::request_type::SET, enable_spat_resp);
}

return status;
Expand Down

0 comments on commit b62fe28

Please sign in to comment.