Macros
sensor_lib_config.h File Reference

This file contains all library configurations. More...

#include <stdio.h>
Include dependency graph for sensor_lib_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEVICE_NAME_LEN   100
 
#define MAX_NUMBER_OF_POINTS_PER_SESSION   50
 Upper Limit of suppored POINT Data per Point Data Session. 3D OR 2D. A maximum of 2x as much point data can be received in one session: 1x for 1D and 1x for 3D. More...
 
#define MAX_NUMBER_OF_SENSORS_ON_BUS   10
 If this define is set, the library will use the linux socket interface. More...
 
#define MPRINTF(f_, ...)
 
#define NOREALPRINTF   1
 Used to select currently used print-functions. Implemented atm are REGULAR_MPRINTF. More...
 

Detailed Description

This file contains all library configurations.


Definition in file sensor_lib_config.h.

Macro Definition Documentation

◆ DEVICE_NAME_LEN

#define DEVICE_NAME_LEN   100

Definition at line 59 of file sensor_lib_config.h.

◆ MAX_NUMBER_OF_POINTS_PER_SESSION

#define MAX_NUMBER_OF_POINTS_PER_SESSION   50

Upper Limit of suppored POINT Data per Point Data Session. 3D OR 2D. A maximum of 2x as much point data can be received in one session: 1x for 1D and 1x for 3D.


Definition at line 40 of file sensor_lib_config.h.

◆ MAX_NUMBER_OF_SENSORS_ON_BUS

#define MAX_NUMBER_OF_SENSORS_ON_BUS   10

If this define is set, the library will use the linux socket interface.



Upper Limit of suppored Sensors on Bus. This value influences static array sizes

Definition at line 35 of file sensor_lib_config.h.

◆ MPRINTF

#define MPRINTF (   f_,
  ... 
)
Value:
do \
{ \
if (0) printf((f_), ##__VA_ARGS__); \
} while (0)

Definition at line 53 of file sensor_lib_config.h.

◆ NOREALPRINTF

#define NOREALPRINTF   1

Used to select currently used print-functions. Implemented atm are REGULAR_MPRINTF.


Definition at line 52 of file sensor_lib_config.h.



toposens_echo_driver
Author(s): Tobias Roth , Dennis Maier , Baris Yazici
autogenerated on Mon Feb 28 2022 23:57:42