AGirs
Macros | Functions | Variables
Listener.cpp File Reference
#include "config.h"
#include "GirsLib/LedLcdManager.h"
#include "GirsLib/GirsUtils.h"
#include <IrReceiverSampler.h>
#include <Ethernet.h>
#include <IPAddress.h>
#include <Beacon.h>
#include "GirsLib/version.h"
Include dependency graph for Listener.cpp:

Go to the source code of this file.

Macros

#define PROGNAME   "Listener"
 
#define xstr(s)   str(s)
 
#define str(s)   #s
 
#define DUMMYPORT   8888
 

Functions

static IPAddress broadcastIp (BROADCAST_IP)
 
static void readOneDecode ()
 
void setup ()
 
void loop ()
 

Variables

static const milliseconds_t beginTimeout = BEGINTIMEOUT
 
static const milliseconds_t endingTimeout = ENDINGTIMEOUT
 
static const size_t captureSize = CAPTURESIZE
 
static const microseconds_t markExcess = IRRECEIVER_MARK_EXCESS
 
static LED_PARAMETER_CONST led_t receiveled = RECEIVELED
 
static IrReader * irReceiver = NULL
 
static EthernetUDP udp
 
static char decode [100]
 

Macro Definition Documentation

◆ DUMMYPORT

#define DUMMYPORT   8888

◆ PROGNAME

#define PROGNAME   "Listener"

Definition at line 45 of file Listener.cpp.

◆ str

#define str (   s)    #s

◆ xstr

#define xstr (   s)    str(s)

Function Documentation

◆ broadcastIp()

static IPAddress broadcastIp ( BROADCAST_IP  )
static

◆ loop()

void loop ( )

Definition at line 157 of file Listener.cpp.

◆ readOneDecode()

static void readOneDecode ( )
static

Definition at line 59 of file Listener.cpp.

◆ setup()

void setup ( )

Definition at line 91 of file Listener.cpp.

Variable Documentation

◆ beginTimeout

const milliseconds_t beginTimeout = BEGINTIMEOUT
static

Definition at line 33 of file Listener.cpp.

◆ captureSize

const size_t captureSize = CAPTURESIZE
static

Definition at line 35 of file Listener.cpp.

◆ decode

char decode[100]
static

Definition at line 57 of file Listener.cpp.

◆ endingTimeout

const milliseconds_t endingTimeout = ENDINGTIMEOUT
static

Definition at line 34 of file Listener.cpp.

◆ irReceiver

IrReader* irReceiver = NULL
static

Definition at line 42 of file Listener.cpp.

◆ markExcess

const microseconds_t markExcess = IRRECEIVER_MARK_EXCESS
static

Definition at line 36 of file Listener.cpp.

◆ receiveled

LED_PARAMETER_CONST led_t receiveled = RECEIVELED
static

Definition at line 39 of file Listener.cpp.

◆ udp

EthernetUDP udp
static

Definition at line 53 of file Listener.cpp.