Skip to content
Fabian edited this page Nov 14, 2016 · 3 revisions

DebugDataGenerator

Generate random messages with random values, which can commited to Queue 1, Queue2 and database.

Usage:

java DEBUGDATAGENERATOR MODUS [Options]
or
java DEBUGDATAGENERATOR [Options] MODUS
or
java DEBUGDATAGENERATOR help

Modus:

raspi:

Push sensormessages into the Middleware. Queue 1, Middleware, Queue2 and server have to run to get messages to the database. The Debugdatagenerator has to run on the raspi.

server:

Push chairmessages into the server. Queue2 and server have to run to get messages to the database. The debugdatagenerator has to run on the server.

database:

Push data direct into database. No other service is needed (except database). For configuration, edit the properties file.

Options:

Delay:

delay INT

Set the delay between messages in ms. Standardvalue is 1 ms.

Number of messages:

numData INT

Set the number of messages. Standardvalue is 10 messages.

Daemon

daemon

The DebugDataGenerator runs until it gets killed (CTRL + C) ###Sensortypes temperature || pressure || distance || acceleration || gyroscope || microphone || location Sets the Sensortypes, which will be generated. Can be used in every combination.

Clone this wiki locally