You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.6 KiB
58 lines
1.6 KiB
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Digital Voice Modem - DFSI V.24/UDP Software
|
|
* GPLv2 Open Source. Use is subject to license terms.
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright (C) 2024 Bryan Biedenkapp, N2PLL
|
|
*
|
|
*/
|
|
/**
|
|
* @file FSCHeartbeat.h
|
|
* @ingroup dfsi_fsc_frames
|
|
* @file FSCHeartbeat.cpp
|
|
* @ingroup dfsi_fsc_frames
|
|
*/
|
|
#if !defined(__FSC_HEARTBEAT_H__)
|
|
#define __FSC_HEARTBEAT_H__
|
|
|
|
#include "Defines.h"
|
|
#include "common/Defines.h"
|
|
#include "common/Log.h"
|
|
#include "common/Utils.h"
|
|
#include "frames/FrameDefines.h"
|
|
#include "frames/fsc/FSCMessage.h"
|
|
|
|
namespace p25
|
|
{
|
|
namespace dfsi
|
|
{
|
|
namespace fsc
|
|
{
|
|
// ---------------------------------------------------------------------------
|
|
// Class Declaration
|
|
// ---------------------------------------------------------------------------
|
|
|
|
/**
|
|
* @brief Implements the FSC Heartbeat Message.
|
|
* @ingroup dfsi_fsc_frames
|
|
*/
|
|
class HOST_SW_API FSCHeartbeat : public FSCMessage {
|
|
public:
|
|
static const uint8_t LENGTH = 3;
|
|
|
|
/**
|
|
* @brief Initializes a copy instance of the FSCHeartbeat class.
|
|
*/
|
|
FSCHeartbeat();
|
|
/**
|
|
* @brief Initializes a copy instance of the FSCHeartbeat class.
|
|
* @param data Buffer to containing FSCHeartbeat to decode.
|
|
*/
|
|
FSCHeartbeat(uint8_t* data);
|
|
};
|
|
} // namespace fsc
|
|
} // namespace dfsi
|
|
} // namespace p25
|
|
|
|
#endif // __FSC_HEARTBEAT_H__
|