GitXplorerGitXplorer
c

electrisense-client

public
1 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
2577bae57e484fd24672e5f9d9a1e6cc562ee1a1

Begin work on pthread

ccapickett committed 12 years ago
Unverified
d93dc0c606b6eb56ef8364812b9cf825b95db634

Begin implementation of relay fork to push dumps

ccapickett committed 12 years ago
Unverified
66b9e072106cc01e9cd6d88277b72c4b72e8a636

Refactor/Reformat/Stuff

ccapickett committed 12 years ago
Unverified
8e6301ec8a2d60658ab4e757f3fdc068ff2035c1

Implement sdcard dumping - consumer side

ccapickett committed 12 years ago
Unverified
b96101b5e9fcce23c99180600427674861b975b0

Add sublime project files

ccapickett committed 12 years ago
Unverified
0770e53a663a803a6525ac93e0663d5072d0466d

Fix output and bugfix

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