GitXplorerGitXplorer
c

electrisense-client

public
1 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
0f4210c3eebfed2dc963e751fb16f0c26045f94f

Notify server on issues

ccapickett committed 12 years ago
Unverified
fcf68e4ef5a6a75deef5453bc5944b03e6094e2f

Quiet verbose output of consumer

ccapickett committed 12 years ago
Unverified
fff387b1043bf8eb88f894f38b9bff479c23d84e

Clean up code and prevent most crashes

ccapickett committed 12 years ago
Unverified
7dd23e7d56f0f792ef13f29a44268543c0e1f003

Scrap pthread optimization (for now)

ccapickett committed 12 years ago
Unverified
f182a15f577df7c30d4536d53052ae26e443034d

Attempt to fix fork SIGVSEG

ccapickett committed 12 years ago
Unverified
0f7580947a6c1870d13704fdc083322104abb6c2

Relay now successfully sends sdcard dumps

ccapickett committed 12 years ago

README

The README file for this repository.

The software detailed in this documentation was designed and implemented for the purposes of connecting a Carambola to the Firefly's (designed by Sidhant Gupta) microprocessor and a server hosted on a local network.

Software

The client software consists of two main entities: the consumer and relay. Their purposes are as follows.

Consumer

The consumer is a realtime process designed to handle all the communication with the Firefly's microprocessor. Its task is singular: to move any data available in the micro's data buffer to a larger buffer located on the Carambola. This buffer, described in buffer.h, is shared between the consumer and relay such that the relay may take data in that buffer and process it. Because of the memory constraints of the microprocessor, the consumer must always be able to read data in the micro's buffer at a consistent fast pace. For this reason, the consumer does little additional processing. In the case of the relay process dying, the consumer will handle restarting the relay and keeping the data safe on the large SD card storage medium.

Relay

The relay is a process tasked with moving any data available in either a) the shared buffer, or b) the SD card storage medium. The destination for this data will be a server located on the same local network as the Carambola. This is to ensure that network latency is minimal, so that a minimal amount of processor time will be used sending the data across the network.

@authors Larson, Patrick; Pickett, Cameron