obu-firmware builds against vanetza-idf from microbu-esp32c5/external, but that tree was gitignored, so a clone of this repository could not build the firmware it ships. It is now committed here as ordinary files in its own folder, microbu-esp32c5/: the colleague's commit cf4b99f plus the V2X2MAP bridge's signature verification (--trust) used on the bench. Nothing is fetched from or pushed to the colleague's repository; this repository and its remotes carry everything. The folder's own .gitignore keeps build output, downloaded components and private key material out, as it did there; the committed file set is identical to that repository's tracked files. The ESP32-C5 is still flashed from obu-firmware/, which only takes vanetza-idf from microbu-esp32c5/, so the two stay separate folders. FLASHING.md says how to take a newer version of the colleague's tree (copy it over the folder, rebuild, test, commit).
56 lines
2.1 KiB
C++
56 lines
2.1 KiB
C++
#ifndef PORTS_HPP_T2IEFSSC
|
|
#define PORTS_HPP_T2IEFSSC
|
|
|
|
#include <vanetza/common/byte_order.hpp>
|
|
|
|
namespace vanetza
|
|
{
|
|
namespace btp
|
|
{
|
|
|
|
typedef uint16be_t port_type;
|
|
|
|
namespace ports
|
|
{
|
|
|
|
// Port numbers according to ETSI TS 103 248 v2.4.1 (2024-07)
|
|
static const port_type CAM = host_cast<uint16_t>(2001);
|
|
static const port_type DENM = host_cast<uint16_t>(2002);
|
|
static const port_type TOPO = host_cast<uint16_t>(2003);
|
|
static const port_type SPAT = host_cast<uint16_t>(2004);
|
|
static const port_type SAM = host_cast<uint16_t>(2005);
|
|
static const port_type IVIM = host_cast<uint16_t>(2006);
|
|
static const port_type SREM = host_cast<uint16_t>(2007);
|
|
static const port_type SSEM = host_cast<uint16_t>(2008);
|
|
static const port_type CPM = host_cast<uint16_t>(2009);
|
|
static const port_type EVCSN_POI = host_cast<uint16_t>(2010);
|
|
static const port_type TRM = host_cast<uint16_t>(2011);
|
|
static const port_type TCM = host_cast<uint16_t>(2011);
|
|
static const port_type VDRM = host_cast<uint16_t>(2011);
|
|
static const port_type VDPM = host_cast<uint16_t>(2011);
|
|
static const port_type EOFM = host_cast<uint16_t>(2011);
|
|
static const port_type EV_RSR = host_cast<uint16_t>(2012);
|
|
static const port_type RTCMEM = host_cast<uint16_t>(2013);
|
|
static const port_type CTLM = host_cast<uint16_t>(2014);
|
|
static const port_type CRLM = host_cast<uint16_t>(2015);
|
|
static const port_type EC_AT_REQUEST = host_cast<uint16_t>(2016);
|
|
static const port_type MCDM = host_cast<uint16_t>(2017);
|
|
static const port_type VAM = host_cast<uint16_t>(2018);
|
|
static const port_type IMZM = host_cast<uint16_t>(2019);
|
|
static const port_type DSM = host_cast<uint16_t>(2020);
|
|
static const port_type P2P_CRL = host_cast<uint16_t>(2021);
|
|
static const port_type P2P_DCTL = host_cast<uint16_t>(2022);
|
|
static const port_type MRM = host_cast<uint16_t>(2023);
|
|
static const port_type P2P_FCTL = host_cast<uint16_t>(2024);
|
|
static const port_type POIM_PA = host_cast<uint16_t>(2025);
|
|
static const port_type MIM = host_cast<uint16_t>(2026);
|
|
static const port_type MVM = host_cast<uint16_t>(2026);
|
|
|
|
} // namespace ports
|
|
|
|
} // namespace btp
|
|
} // namespace vanetza
|
|
|
|
#endif /* PORTS_HPP_T2IEFSSC */
|
|
|