Fixed test code headers to be consistent and accurate having been derived from original C files. (#1087)
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
* @file
|
||||
* @brief BACnet AtomicReadFile service structures, codecs, and handlers.
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2007
|
||||
* @date 2013
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#ifndef BACNET_ATOMIC_READ_FILE_H
|
||||
|
||||
@@ -232,7 +232,7 @@ void bsc_deinit_ctx(BSC_SOCKET_CTX *ctx);
|
||||
*
|
||||
* @param ctx - socket context.
|
||||
* @param c - BACNet socket descriptor .
|
||||
* @param url - url to connect to. For example: wss://legrand.com:8080.
|
||||
* @param url - url to connect to. For example: wss://example.com:8080.
|
||||
*
|
||||
* @return error code from BSC_SC_RET enum.
|
||||
* The following error codes can be returned:
|
||||
|
||||
@@ -147,7 +147,7 @@ typedef void (*BSC_WEBSOCKET_SRV_DISPATCH)(
|
||||
* @param type - type of BACNet/SC connection, check
|
||||
* BSC_WEBSOCKET_CONNECTION_TYPE enum. According BACNet standard
|
||||
* different type of connections require different websocket protocols.
|
||||
* @param url - BACNet/SC server URL. For example: wss://legrand.com:8080.
|
||||
* @param url - BACNet/SC server URL. For example: wss://example.com:8080.
|
||||
* @param ca_cert - pointer to certificate authority (CA) cert in PEM or DER
|
||||
* format.
|
||||
* @param ca_cert_size - size in bytes of CA cert.
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
* @brief test BACnet Abort message encode/decode APIs
|
||||
* @date 2007
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/abort.h>
|
||||
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
* @brief test BACnet AtomicReadFile service encode/decode APIs
|
||||
* @date 2007
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/arf.h>
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief BACnet AtomicWriteFile service structures, codecs, and handlers.
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2007
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/awf.h>
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
* @brief Unit test for BACNET_ADDRESS copy, init, compare
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date January 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bacaddr.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief BACnet Application encoding and decoding API testing
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2007
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
/**
|
||||
* @file
|
||||
* @brief BACnet primitive value encoding and decoding API testing
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2007
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <math.h>
|
||||
#include <ctype.h> /* For isprint */
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
* @brief Unit test for BACnetDestination encode and decode
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date December 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @date November 2023
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief BACnet Error message encoding and decoding API testing
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2007
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bacdef.h>
|
||||
#include <bacnet/bacerror.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2007
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bacint.h>
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnetPropertyStates encode/decode APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2008
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bacpropstates.h>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet real value encode/decode APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2004
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <math.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet CharacterString, BitString, and OctetString APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2004
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bacstr.h>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @date April 2020
|
||||
* @brief Test file for a basic BBMD for BVLC IPv6 handler
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdio.h> /* for standard i/o, like printing */
|
||||
#include <stdint.h> /* for standard integer types uint8_t etc. */
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet address cache APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2004
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bacaddr.h>
|
||||
#include <bacnet/basic/binding/address.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Accumulator object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2017
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/acc.h>
|
||||
#include <bacnet/bactext.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Access Credential object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2015
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/access_credential.h>
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet access_door object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2015
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/access_door.h>
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Access Point object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2015
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bacdcode.h>
|
||||
#include <bacnet/basic/object/access_point.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Access Rights object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2015
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/access_rights.h>
|
||||
#include <property_test.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Access User object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2015
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/access_user.h>
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Access Zone object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2015
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/access_zone.h>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date April 2024
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/ai.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date December 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date April 2024
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/ao.h>
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet AuditLog object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
|
||||
* @date 2023
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet auditlog APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/auditlog.h>
|
||||
#include <bacnet/bactext.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date April 2024
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/av.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date December 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* Copyright (C) 2022 Steve Karg <skarg@users.sourceforge.net>
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/bacfile.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date April 2024
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date December 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date September 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date April 2024
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/bo.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Binary Value object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2007
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
#include <bacnet/basic/object/bv.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date December 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date June 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/calendar.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date December 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date July 2023
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/channel.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date June 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date June 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date July 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/command.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date February 2024
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/credential_data_input.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date July 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Device object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2004
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/device.h>
|
||||
#include <bacnet/bactext.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* Copyright (C) 2006 Steve Karg <skarg@users.sourceforge.net>
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*
|
||||
*********************************************************************/
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date July 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet load control object
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2007
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bacdcode.h>
|
||||
#include <bacnet/bacstr.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Life Safety Point object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2005
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
#include <bacnet/basic/object/lsp.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Life Safety Zone object APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2024
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
#include <bacnet/basic/object/lsz.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date April 2024
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/ms-input.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date April 2024
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/mso.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date April 2024
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/msv.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date December 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date December 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date February 2024
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/readrange.h>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet objects container APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2012
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/sys/keylist.h>
|
||||
#include <bacnet/basic/object/objects.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date July 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/osv.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date July 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date March 2025
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/program.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date July 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date May 2024
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/structured_view.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg
|
||||
* @date January 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/service/h_apdu.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date December 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Mikhail Antropov
|
||||
* @date July 2022
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date February 2024
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date February 2024
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#ifndef _BACNET_PROPERTY_TEST_H_
|
||||
#define _BACNET_PROPERTY_TEST_H_
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg
|
||||
* @date January 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/tsm/tsm.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date June 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/object/time_value.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date July 2023
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet FIFO container APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2004
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/sys/fifo.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test POSIX filename API
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2007
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/sys/filename.h>
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test Key List container API
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2003
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/sys/keylist.h>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @section LICENSE
|
||||
* Copyright (c) 2022 Steve Karg <skarg@users.sourceforge.net>
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @section LICENSE
|
||||
* Copyright (c) 2010 Steve Karg <skarg@users.sourceforge.net>
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/sys/linear.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test Ring Buffer container API
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2004
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/sys/ringbuf.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test Static Buffer container API
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2005
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/basic/sys/sbuf.h>
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet Change-Of-Value service encoding and decoding API
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2012
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
// #include <bacnet/bacapp.h>
|
||||
#include <bacnet/cov.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @date August 2023
|
||||
* @section LICENSE
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bacdest.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2023-June
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/datalink/automac.h>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
/**
|
||||
* @file
|
||||
* @brief test of bsc-socket interface
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Kirill Neznamov <kirill.neznamov@dsr-corporation.com>
|
||||
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
|
||||
* @author Ondřej Hruška <ondra@ondrovo.com>
|
||||
* @author Patrick Grimm <patrick@lunatiki.de>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test of BACnet/SC Node interface
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Kirill Neznamov <kirill.neznamov@dsr-corporation.com>
|
||||
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
|
||||
* @author Ondřej Hruška <ondra@ondrovo.com>
|
||||
* @author Patrick Grimm <patrick@lunatiki.de>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test of bsc-socket interface
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test of BACnet/SC Socket interface
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Kirill Neznamov <kirill.neznamov@dsr-corporation.com>
|
||||
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
|
||||
* @author Ondřej Hruška <ondra@ondrovo.com>
|
||||
* @author Patrick Grimm <patrick@lunatiki.de>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test of bsc-socket interface
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet BVLC datalink encoding and decoding API
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2004
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <stdlib.h> /* For calloc() */
|
||||
#include <stdlib.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/bactext.h>
|
||||
#include <bacnet/datalink/bvlc.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet COBS encode/decode APIs
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2014
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <stdlib.h>
|
||||
#include <bacnet/datalink/cobs.h>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test BACnet CRC8, CRC16, and CRC32K datalink encoding and decoding API
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @date 2004
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet integer encode/decode APIs
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/datalink/crc.h>
|
||||
#include <bacnet/basic/sys/bytes.h>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief test of BACnet/SC Hub Connector
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Kirill Neznamov <kirill.neznamov@dsr-corporation.com>
|
||||
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
|
||||
* @author Ondřej Hruška <ondra@ondrovo.com>
|
||||
* @author Patrick Grimm <patrick@lunatiki.de>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test of bsc-socket interface
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief Mock for the ARCNET datalink
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Greg Shue <greg.shue@outlook.com>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <stdint.h>
|
||||
#include "bacnet/datalink/arcnet.h"
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief Mock for the BACnet/IP datalink
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Greg Shue <greg.shue@outlook.com>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <stdint.h> /* for standard integer types uint8_t etc. */
|
||||
#include <stdbool.h> /* for the standard bool type. */
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief Mock for the BACnet/IPv6 datalink
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Greg Shue <greg.shue@outlook.com>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief Mock for the BACnet/SC datalink
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Greg Shue <greg.shue@outlook.com>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <stdint.h> /* for standard integer types uint8_t etc. */
|
||||
#include <stdbool.h> /* for the standard bool type. */
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief Mock for the BACnet MS/TP datalink
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Greg Shue <greg.shue@outlook.com>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief Mock for the BACnet Ethernet datalink
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Greg Shue <greg.shue@outlook.com>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <zephyr/ztest.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Legrand North America, LLC.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
/**
|
||||
* @file
|
||||
* @brief Mock for all the BACnet datalinks
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @author Greg Shue <greg.shue@outlook.com>
|
||||
* @date 2020
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* @file
|
||||
* @brief test BACnet datalink return codes
|
||||
*/
|
||||
|
||||
#include <stdlib.h> /* For calloc() */
|
||||
#include <zephyr/ztest.h>
|
||||
#include <bacnet/datalink/datalink.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* @author Steve Karg <skarg@users.sourceforge.net>
|
||||
* @brief test BACnet MSTP datalink state machines
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user