Page 4 of 4
Re: Edit: Wireless XPAP data transfer is here!
Posted: Fri Jan 02, 2015 10:37 am
by glarnold
Thanks. I saw those. Didn't mention Vista, so wanted to ask.
So far, my efforts have produced lots of errors.
Will continue working on it, but was just checking to see if Vista would be fruitless effort.
And not sure on the machine.
Re: Edit: Wireless XPAP data transfer is here!
Posted: Fri Jan 02, 2015 11:24 am
by Krelvin
glarnold wrote:Thanks. I saw those. Didn't mention Vista, so wanted to ask.
So far, my efforts have produced lots of errors.
Will continue working on it, but was just checking to see if Vista would be fruitless effort.
And not sure on the machine.
Best place to get an answer would be:
http://www.sleepmaster.org/contact.html
Re: Edit: Wireless XPAP data transfer is here!
Posted: Fri Jan 02, 2015 1:10 pm
by Jack_Russel_Fan
glarnold wrote:And one more question - will it work with Windows Vista?
Version 2.0.1.1 will not work with Windows Vista, however the Ubuntu version 1.0.1.9 should. It does not have as many features, as I had to strip some to make it compatible with Ubuntu 14 using Wine windows program loader. Heck, It may even work on XP! I no longer use XP or Vista so I have no way to test it on them. v1.0.1.9 is a windows program.
Tom
Re: Edit: Wireless XPAP data transfer is here!
Posted: Fri Jan 02, 2015 3:23 pm
by glarnold
Thank you. That's the information I was looking for. No need to waste time trying to make it work on my W Vista laptop.
Re: Edit: Wireless XPAP data transfer is here!
Posted: Wed Jan 07, 2015 5:21 am
by Jack_Russel_Fan
glarnold wrote:Thank you. That's the information I was looking for. No need to waste time trying to make it work on my W Vista laptop.
I just completed testing, and the Ubuntu version on the SleepMaster.org website will work on Windows Vista!
EDIT: Tested on Windows XP also!
Tom
Re: Edit: Wireless XPAP data transfer is here!
Posted: Wed Jan 07, 2015 10:10 am
by bruskee
Anyone tested on the new ResMed Airsense 10 auto ?
Re: Edit: Wireless XPAP data transfer is here!
Posted: Wed Jan 07, 2015 11:02 am
by Jack_Russel_Fan
bruskee wrote:Anyone tested on the new ResMed Airsense 10 auto ?
I will if someone will send me a zipped copy of their data card!
PM me for email address!
Tom
Re: Edit: Wireless XPAP data transfer is here!
Posted: Sun Feb 01, 2015 12:03 pm
by sleepy tinkerer
I don't have a nice GUI for my solution, but I wrote a script that should be able to achieve most (all?) of this functionality on Unix and Unix-like systems (works perfectly on my Mac, should work on Linux) and should be flexible enough to support most CPAP machines.
I'd love to hear feedback if this script works for other people.
Code: Select all
#!/usr/bin/perl
# Before first use, Place the FlashAir inside the CPAP machine and allow it to
# reformat the card (if necessary, depends on CPAP model). Once done, put the card
# back in your computer and modify the SD_WLAN/CONFIG file on the SD card to
# look like this: -- see https : //flashair-developers.com/en/documents/
#[Vendor]
#APPMODE=5
#APPNAME=cpap
#PRODUCT=FlashAir
#VENDOR=TOSHIBA
#APPSSID=<yourssid>
#APPNETWORKKEY=<yourwifipassword>
#LOCK=1
#APPAUTOTIME=0
# Remove the card and reinsert it into your computer. You should be able to access
# the card via web browser using the hostname cpap.local. If so, the card should
# be ready to be permanently moved to the CPAP machine.
$host = "cpap.local";
sub get_dirlist {
my @dirlist = ();
my $path = shift;
open CURL, "curl -s 'http://$host/command.cgi?op=100&DIR=$path'|";
while(<CURL>) {
push @dirlist, $_;
}
close CURL;
for (@dirlist) {
next if /WLANSD/;
($dirname, $filename, $size, $attribute, $date, $time) = split(/,/);
$path = "$dirname/$filename";
$path =~ s/^\///;
if ($attribute & 0x10) {
system "mkdir -p $path";
get_dirlist($path);
} else {
if (-e $path && (stat $path)[7] == $size) {
print "$path: skipping\n";
next;
}
print "$path: downloading\n";
system "curl -so $path 'http://$host/$path'";
}
}
}
get_dirlist("/");
Re: Edit: Wireless XPAP data transfer is here!
Posted: Sun Feb 01, 2015 1:09 pm
by Krelvin
sleepy tinkerer wrote:I don't have a nice GUI for my solution, but I wrote a script that should be able to achieve most (all?) of this functionality on Unix and Unix-like systems (works perfectly on my Mac, should work on Linux) and should be flexible enough to support most CPAP machines.
I'd love to hear feedback if this script works for other people.
why don't you create a new thread for your software instead of basically hijacking a thread for a different package?
Re: Edit: Wireless XPAP data transfer is here!
Posted: Sun Feb 01, 2015 1:26 pm
by sleepy tinkerer
Krelvin wrote:why don't you create a new thread for your software instead of basically hijacking a thread for a different package?
To answer the question "why" --
I deliberately didn't hijack the other thread -- the one titled "Sleep Master Wireless XPAP data transfer" -- because I wanted to avoid being accused of thread hijacking. (So much for that!) I figured this thread ("Wireless XPAP data transfer is here!") was just about the subject of, well, wireless XPAP data transfer, and therefore this fit into it.
I'd barely count this as software, it's nowhere nearly as polished and easy to use as Sleep Master (and won't run on the machines that Sleep Master was designed for). The entirety of it fits in a forum post, and it's only ever been tested by one person on one machine. I just posted it in response to someone looking for a way to accomplish wireless XPAP data transfer when they could not use Sleep Master.
To answer the suggestion --
Considering the above, do you think it merits making its own thread? It might help with visibility, I suppose.
Re: Edit: Wireless XPAP data transfer is here!
Posted: Sun Feb 01, 2015 2:35 pm
by Krelvin
Edited Response.
You are posting Perl Unix source code. The OP's post is a windows application that is not available as source code.
You deserve your own topic for your script which is specific to it and not confused with a completely different solution.