|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
RRD and Respironics Smart CardGreetings,
I’m new to this, but have done playing around with rrdtool. Can anyone tell me how to dump data from a respironics .bin file off a respironics smart card? I’m guessing there is compression/encryption that’s not letting me ‘rrdtool dump’ the data. Cheers, Chris _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: RRD and Respironics Smart CardWhat makes you think the data is in rrd format?
-Adam On Apr 21, 2008, at 10:51 AM, Chris wrote: > Greetings, > > > I’m new to this, but have done playing around with rrdtool. > > Can anyone tell me how to dump data from a respironics .bin file off > a respironics smart card? > > I’m guessing there is compression/encryption that’s not letting me > ‘rrdtool dump’ the data. > > Cheers, > > Chris > > _______________________________________________ > rrd-users mailing list > rrd-users@... > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: RRD and Respironics Smart CardAdam,
I'm pretty sure the data is in some form of round robin database for a number of reasons: a. the data record on the smartcard is always the same size: 32KB. b. the old data rolls off when the card is full, and new data continues to record. Chris -----Original Message----- From: Adam Jacob Muller [mailto:lists@...] Sent: Monday, April 21, 2008 11:07 AM To: Chris Cc: rrd-users@... Subject: Re: [rrd-users] RRD and Respironics Smart Card What makes you think the data is in rrd format? -Adam On Apr 21, 2008, at 10:51 AM, Chris wrote: > Greetings, > > > I'm new to this, but have done playing around with rrdtool. > > Can anyone tell me how to dump data from a respironics .bin file off > a respironics smart card? > > I'm guessing there is compression/encryption that's not letting me > 'rrdtool dump' the data. > > Cheers, > > Chris > > _______________________________________________ > rrd-users mailing list > rrd-users@... > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: RRD and Respironics Smart CardOn Tue, Apr 22, 2008 at 09:45:59AM -0400, Chris wrote:
> I'm pretty sure the data is in some form of round > robin database for a number of reasons: > a. the data record on the smartcard > is always the same size: 32KB. > b. the old data rolls off when the card > is full, and new data continues to record. My weight is constant, thus it is in rrdtool format \o/ _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: RRD and Respironics Smart CardHi Fabien,
Sorry, I have to ask... So, how is your weight affected when you 'rrdtool dump'? Granted, there is the possibility that the .bin file is not using Tobias Oetiker's algorithms. But why would Respironics reinvent the wheel? Respironics' smart card system is younger than RRDTool. Others on my preferred list about cpap machines have suggested the likelihood that the file is some form of rrd. I suspect its encrypted and/or compressed. I'm looking for suggestions or pointers about how to unlock and dump such a file. Any help will be greatly appreciated. Chris -----Original Message----- From: rrd-users-bounces@... [mailto:rrd-users-bounces@...] On Behalf Of Fabien Wernli Sent: Tuesday, April 22, 2008 11:10 AM To: rrd-users@... Subject: Re: [rrd-users] RRD and Respironics Smart Card On Tue, Apr 22, 2008 at 09:45:59AM -0400, Chris wrote: > I'm pretty sure the data is in some form of round > robin database for a number of reasons: > a. the data record on the smartcard > is always the same size: 32KB. > b. the old data rolls off when the card > is full, and new data continues to record. My weight is constant, thus it is in rrdtool format \o/ _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: RRD and Respironics Smart CardChris,
"some form of rrd" isn't necessarily the same as "some form of Tobi Oetiker's creation." It's more likely that your card uses (and returns) some form of circular buffer scheme -- this might also be called "some form of round-robin database." hth! /andy On Tuesday 22 April 2008 01:17:08 pm Chris wrote: > Hi Fabien, > > Sorry, I have to ask... > So, how is your weight affected when you 'rrdtool dump'? > > Granted, there is the possibility that the .bin file is > not using Tobias Oetiker's algorithms. > But why would Respironics reinvent the wheel? > Respironics' smart card system is younger than RRDTool. > Others on my preferred list about cpap machines have suggested > the likelihood that the file is some form of rrd. > > I suspect its encrypted and/or compressed. > > I'm looking for suggestions or pointers about how to unlock and > dump such a file. Any help will be greatly appreciated. > > Chris > > -----Original Message----- > From: rrd-users-bounces@... > [mailto:rrd-users-bounces@...] On Behalf Of Fabien Wernli > Sent: Tuesday, April 22, 2008 11:10 AM > To: rrd-users@... > Subject: Re: [rrd-users] RRD and Respironics Smart Card > > On Tue, Apr 22, 2008 at 09:45:59AM -0400, Chris wrote: > > I'm pretty sure the data is in some form of round > > robin database for a number of reasons: > > a. the data record on the smartcard > > is always the same size: 32KB. > > b. the old data rolls off when the card > > is full, and new data continues to record. > > My weight is constant, thus it is in rrdtool format > > \o/ > > _______________________________________________ > rrd-users mailing list > rrd-users@... > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > _______________________________________________ > rrd-users mailing list > rrd-users@... > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users -- Andy Riebs, HP High Performance Computing Linux R&D Technology for better business outcomes Linux Software, <http://www.hp.com/go/clusters> Catalyst Program, <http://www.hp.com/go/catalysts> My opinions are not necessarily those of HP (w) +1.603.884.1521, andy.riebs@... (h) andy@... (Data are not is.) _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: RRD and Respironics Smart CardChris wrote:
>Granted, there is the possibility that the .bin file is >not using Tobias Oetiker's algorithms. >But why would Respironics reinvent the wheel? Why wouldn't they ? There are many reasons : having a proprietary format that isn't readable with other tools might be a design goal; not using anything 'tainted' with an open licence might also be a requirement; just plain "we know better" attitude; not knowing about rrdtool; not running a system suitable for running rrdtool - so there's a few options for you, the list is by no means complete. >Respironics' smart card system is younger than RRDTool. So ? rrdtool does not have a monopoly on fixed size circular buffer schemes. >Others on my preferred list about cpap machines have suggested >the likelihood that the file is some form of rrd. > >I suspect its encrypted and/or compressed. > >I'm looking for suggestions or pointers about how to unlock and >dump such a file. Any help will be greatly appreciated. Detective work is needed. I'd be surprised if it was encrypted as this would make updates unneccessarily complex and processor intensive. So, hexdump the file and take a peek - try and figure out what format it's in. You can do the same with an rrd file and compare - the difference being that you can make custom rrd files, and experiment with inserting known data into them (and I imagine that Tobi probably has a file spec somewhere). That's probably as much help as anyone on this list can give you. _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: RRD and Respironics Smart CardChris,
Distinctive features of rrdtool that might indicate whether your Respironics card is using rrdtool include 1. Consolidating data over a variety of time periods. Does the card simply return data for the last 30 hours, for example, or does it return data by hour, day, and week? 2. Does it generate cool, and very distinctive, graphs like rrdtool? /andy On Tuesday 22 April 2008 02:06:41 pm Simon Hobson wrote: > Chris wrote: > >Granted, there is the possibility that the .bin file is > >not using Tobias Oetiker's algorithms. > >But why would Respironics reinvent the wheel? > > Why wouldn't they ? There are many reasons : having a proprietary > format that isn't readable with other tools might be a design goal; > not using anything 'tainted' with an open licence might also be a > requirement; just plain "we know better" attitude; not knowing about > rrdtool; not running a system suitable for running rrdtool - so > there's a few options for you, the list is by no means complete. > > >Respironics' smart card system is younger than RRDTool. > > So ? rrdtool does not have a monopoly on fixed size circular buffer > schemes. > > >Others on my preferred list about cpap machines have suggested > >the likelihood that the file is some form of rrd. > > > >I suspect its encrypted and/or compressed. > > > >I'm looking for suggestions or pointers about how to unlock and > >dump such a file. Any help will be greatly appreciated. > > Detective work is needed. > > I'd be surprised if it was encrypted as this would make updates > unneccessarily complex and processor intensive. > > So, hexdump the file and take a peek - try and figure out what format > it's in. You can do the same with an rrd file and compare - the > difference being that you can make custom rrd files, and experiment > with inserting known data into them (and I imagine that Tobi probably > has a file spec somewhere). > > That's probably as much help as anyone on this list can give you. > > _______________________________________________ > rrd-users mailing list > rrd-users@... > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users -- Andy Riebs, HP High Performance Computing Linux R&D Technology for better business outcomes Linux Software, <http://www.hp.com/go/clusters> Catalyst Program, <http://www.hp.com/go/catalysts> My opinions are not necessarily those of HP (w) +1.603.884.1521, andy.riebs@... (h) andy@... (Data are not is.) _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: RRD and Respironics Smart CardSimon, Andy
Thanks for your replies. I originally replied to Simon alone by mistake but am resending this re-edited to the group instead. You are right, it may be proprietary. To that end, I've emailed Respironics directly asking for a linux dump tool. Surely their software techs have just such a tool for diagnostics already made. I can't be faulted for asking, eh? I looked at the data in Hackman Hex Editor and did an ASCII search on my name. It found that and my phone number within the data, so you're probably right - it's likely not encrypted or compressed. I compared the files. Areas of interest included the top of the file, the used area and the unused area. The top of the .rrd starts 'RRD' and general information about the rrd setup. The .bin file starts with 'RA' and my general patient data plus other info I cannot decipher. The middle (recorded) areas seem dissimilar, as do the ends (unrecorded). Empty content for the .bin file is a wall of FF. Not so in the .rrd. However, I have only compared two files. I tried rrdtool dump - the simplest way I could think of to access the file. This doesn't work. The .bin file contains some general data about me, a high resolution data set for about a week, depending on the number of events recorded. The higher the number of events per day, the fewer days of hi-res recording are overwritten. There is also a lo-res data set that includes daily records about 20 fields for up to six plus months, maybe longer. The fact that I can tell where data ends, where the two content types begin and end, and empty content begins again seems to indicate some sort of rrd. Both sets of data are graphed as images rather than line-art like excel. I wouldn't exactly call the graphs fancy, but they are informative. Chris -----Original Message----- Chris, Distinctive features of rrdtool that might indicate whether your Respironics card is using rrdtool include 1. Consolidating data over a variety of time periods. Does the card simply return data for the last 30 hours, for example, or does it return data by hour, day, and week? 2. Does it generate cool, and very distinctive, graphs like rrdtool? /andy On Tuesday 22 April 2008 02:06:41 pm Simon Hobson wrote: > Chris wrote: > >Granted, there is the possibility that the .bin file is > >not using Tobias Oetiker's algorithms. > >But why would Respironics reinvent the wheel? > > Why wouldn't they ? There are many reasons : having a proprietary > format that isn't readable with other tools might be a design goal; > not using anything 'tainted' with an open licence might also be a > requirement; just plain "we know better" attitude; not knowing about > rrdtool; not running a system suitable for running rrdtool - so > there's a few options for you, the list is by no means complete. > > >Respironics' smart card system is younger than RRDTool. > > So ? rrdtool does not have a monopoly on fixed size circular buffer > schemes. > > >Others on my preferred list about cpap machines have suggested > >the likelihood that the file is some form of rrd. > > > >I suspect its encrypted and/or compressed. > > > >I'm looking for suggestions or pointers about how to unlock and > >dump such a file. Any help will be greatly appreciated. > > Detective work is needed. > > I'd be surprised if it was encrypted as this would make updates > unneccessarily complex and processor intensive. > > So, hexdump the file and take a peek - try and figure out what format > it's in. You can do the same with an rrd file and compare - the > difference being that you can make custom rrd files, and experiment > with inserting known data into them (and I imagine that Tobi probably > has a file spec somewhere). > > That's probably as much help as anyone on this list can give you. _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: RRD and Respironics Smart CardChris wrote:
>I looked at the data in Hackman Hex Editor >and did an ASCII search on my name. >It found that and my phone number within the >data, so you're probably right - it's >likely not encrypted or compressed. It's also a good clue that it's definitely not an RRD file - there isn't a way to store that sort of info in an RRD file. _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: RRD and Respironics Smart CardOn Tue, Apr 22, 2008 at 01:17:08PM -0400, Chris wrote:
> Sorry, I have to ask... > So, how is your weight affected when you 'rrdtool dump'? yikes! :-) > I'm looking for suggestions or pointers about how to unlock and > dump such a file. Any help will be greatly appreciated. you were talking about reinventing the wheel... you'd be surprised how many times it has been done. Moreover, 99% of the times it has been done lazily, knowing it must already exist somehow. Which means in your particular case, that your binary format is most likely very basic a design, and should be easy to reverse-engineer - but I might be wrong :) _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
| Free Forum Powered by Nabble | Forum Help |