COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
ErrorStatus.h
Go to the documentation of this file.
1//
2// Copyright 2014 - 2026 (C). Alex Robenko. All rights reserved.
3//
4// SPDX-License-Identifier: MPL-2.0
5//
6// This Source Code Form is subject to the terms of the Mozilla Public
7// License, v. 2.0. If a copy of the MPL was not distributed with this
8// file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
12
13#pragma once
14
15namespace comms
16{
17
35
36} // namespace comms
37
Main namespace for all classes / functions of COMMS library.
ErrorStatus
Error statuses reported by the Communication module.
Definition ErrorStatus.h:19
@ MsgAllocFailure
Used to indicate that message allocation has failed.
@ Success
Used to indicate successful outcome of the operation.
@ NumOfErrorStatuses
Number of supported error statuses, must be last.
@ NotSupported
The operation is not supported.
@ InvalidMsgId
Used to indicate that received message has unknown id.
@ InvalidMsgData
Used to indicate that a message has invalid data.