|
std::vector< Packet > | makeMegaPacket (const std::vector< std::byte > &appData) |
| A megapacket is a packet whose app data is bigger than Packet::APP_DATA_SIZE.
|
|
PacketExtendedVerification1 | makeVerificationSuccess (const uint8_t appIdSource, const uint8_t appIdDestination, const uint16_t sequenceCount) |
| Make verification packet acceptance success.
|
|
PacketExtendedVerification1 | makeVerificationFailure (const uint8_t appIdSource, const uint8_t appIdDestination, const uint16_t sequenceCount, const uint8_t code, const std::vector< std::byte > ¶meters) |
| Make verification packet acceptance failure.
|
|
PacketExtendedVerification1 | makeVerificationFailure (const uint8_t appIdSource, const uint8_t appIdDestination, const uint16_t sequenceCount, const uint8_t code, std::vector< std::byte > &¶meters) |
| Make verification packet acceptance failure.
|
|
◆ makeMegaPacket()
std::vector< Packet > PacketBuilderDirector::makeMegaPacket |
( |
const std::vector< std::byte > & |
appData | ) |
|
A megapacket is a packet whose app data is bigger than Packet::APP_DATA_SIZE.
- Parameters
-
- Returns
- * std::vector<Packet>
◆ makeVerificationFailure() [1/2]
PacketExtendedVerification1 PacketBuilderDirector::makeVerificationFailure |
( |
const uint8_t |
appIdSource, |
|
|
const uint8_t |
appIdDestination, |
|
|
const uint16_t |
sequenceCount, |
|
|
const uint8_t |
code, |
|
|
const std::vector< std::byte > & |
parameters |
|
) |
| |
Make verification packet acceptance failure.
It swaps that source and destination by default on the app. Id. field that is going into the app data because this method assumes that the packet that is being created is a verification for a packet that was for the same module that is creating this verification packet.
- Parameters
-
appIdSource | |
appIdDestination | |
sequenceCount | |
code | |
parameters | |
- Returns
- PacketExtendedVerification1
◆ makeVerificationFailure() [2/2]
PacketExtendedVerification1 PacketBuilderDirector::makeVerificationFailure |
( |
const uint8_t |
appIdSource, |
|
|
const uint8_t |
appIdDestination, |
|
|
const uint16_t |
sequenceCount, |
|
|
const uint8_t |
code, |
|
|
std::vector< std::byte > && |
parameters |
|
) |
| |
Make verification packet acceptance failure.
It swaps that source and destination by default on the app. Id. field that is going into the app data because this method assumes that the packet that is being created is a verification for a packet that was for the same module that is creating this verification packet.
- Parameters
-
appIdSource | |
appIdDestination | |
sequenceCount | |
code | |
parameters | |
- Returns
- PacketExtendedVerification1
◆ makeVerificationSuccess()
PacketExtendedVerification1 PacketBuilderDirector::makeVerificationSuccess |
( |
const uint8_t |
appIdSource, |
|
|
const uint8_t |
appIdDestination, |
|
|
const uint16_t |
sequenceCount |
|
) |
| |
Make verification packet acceptance success.
It swaps that source and destination by default on the app. Id. field that is going into the app data because this method assumes that the packet that is being created is a verification for a packet that was for the same module that is creating this verification packet.
- Parameters
-
appIdSource | |
appIdDestination | |
sequenceCount | Sequence control count |
- Returns
- PacketExtendedVerification1
The documentation for this class was generated from the following files: