Project

General

Profile

News

PilppaFW: 1-wire data capture example in blog post

Added by Mika Laitio over 7 years ago

Blog post at http://pilppa.org/home/blogs/show/4 has now an example from the data
that nws-w1 app can gather from the 1-wire sensor devices in my buffalo wzr-hp-g300nh router.

In addition of just returning the raw-data, plp libraries are capable of calculating
and various kind of summaries from the data in an efficient way and serving it over the network
to clients. This functionality is implemented in libplpbus client/server libraries that utilizes the CORBA
while hiding most of the CORBA complexity away.

lib1wire: DS2423 kernel driver

Added by Mika Laitio over 9 years ago

from the message:...

Hi

Attached is 1-wire/w1 DS2423 slave driver for reading the values from all 4 counters available DS2423 devices by using standard w1_slave file. In ds2423 the
counters are tied to ram pages 12-15 in and each of those ram-pages. Each of these counter values (and asoociated ram page values) are represented as a own
line in w1_slave file. Driver has been tested on mips and x86.

usage example:
cat /sys/bus/w1/devices/1d-00000009b964/w1_slave

00 02 00 00 00 00 00 00 00 6d 38 00 ff ff 00 00 fe ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff crc=YES c=2
00 02 00 00 00 00 00 00 00 e0 1f 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff crc=YES c=2
00 5a 0e 5f 18 00 00 00 00 0b 28 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff crc=YES c=408882778
00 05 00 00 00 00 00 00 00 8d 39 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff crc=YES c=5

PilppaFW: lib1wire library

Added by Mika Laitio over 9 years ago

Linux kernel has itself a standard w1 drivers. This project aims to utilize it for reading the data provided by those drivers.

PilppaFW: new projects added

Added by Mika Laitio over 9 years ago

libplp, libplpbus and libplpha libraries provide the base for the new framework.
- libplp provides all kind of common functionalities. (only common error coces and stracing method prototypes available at the moment)
- libplpbus message bus which allow synchronous and asynchronous communication between multiple devices
- libplpha high availability library

    (1-6/6)

    Also available in: Atom