Skip to content
Snippets Groups Projects
config.h 557 B
Newer Older
#ifndef __CONFIG_H
#define __CONFIG_H
Jake Drahos's avatar
Jake Drahos committed


#define DEFAULT_SOCKET "/var/run/ucart.socket"
#define SOCKET_ENV "UCART_SOCKET"
Jake Drahos's avatar
Jake Drahos committed
#define NOQUAD_ENV "UCART_NO_QUAD"
Jake Drahos's avatar
Jake Drahos committed


// If you are planning on using any of these env vars and you have
// 	exported them with normal user rights. You will need to run the 
// 	backend with sudo elevation and with the --preserve-env flag or -E
#define QUAD_WIFI_ENV "UCART_USE_WIFI"
#define QUAD_IP_ENV "UCART_QUAD_IP"
#define QUAD_IP_DEFAULT "192.168.4.1"
#define QUAD_PORT_ENV "UCART_QUAD_PORT"
#define QUAD_PORT_DEFAULT 8080
Jake Drahos's avatar
Jake Drahos committed

#endif