MRPT  1.9.9
xsrssi.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2019, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See: https://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #ifndef XSRSSI_H
10 #define XSRSSI_H
11 
12 #include "xstypesconfig.h"
13 
14 #define XS_RSSI_MAX (128)
15 #define XS_RSSI_UNKNOWN (-XS_RSSI_MAX)
16 
17 #ifdef __cplusplus
18 extern "C"
19 {
20 #endif
21 
24  XSTYPES_DLL_API int XsRssi_unbiased(int raw);
25 
26 #ifdef __cplusplus
27 } // extern "C"
28 namespace XsRssi
29 {
30 /*! \brief The maximum RSSI value. */
31 static const int max = XS_RSSI_MAX;
32 /*! \brief The RSSI value that was reserved for when the RSSI is unknown. */
33 static const int unknown = XS_RSSI_UNKNOWN;
34 /*! \copydoc XsRssi_unbiased */
35 inline int unbiased(int raw) { return XsRssi_unbiased(raw); }
36 } // namespace XsRssi
37 #endif
38 
39 #endif // file guard
XSTYPES_DLL_API int XsRssi_unknown()
#define XS_RSSI_MAX
Definition: xsrssi.h:14
#define XS_RSSI_UNKNOWN
Definition: xsrssi.h:15
#define XSTYPES_DLL_API
Definition: xstypesconfig.h:9
XSTYPES_DLL_API int XsRssi_unbiased(int raw)
XSTYPES_DLL_API int XsRssi_max()



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019