RE: CPAP Wireless SD Card for The Rest of Us
For FlashPAP you will need to insert your card in your PC than start FlashPAP. Create a user account that matches the name on the card, Michael. Declare your machine type and either search for or enter the IP that you used on the card. Finally, point to the dedicated data directory that you created on your computer to store the data. This will create a user profile, probably named, "Michael.fpap" in the FlashPAP directory.
If you have problems configuring the card. Please provide the IP you assigned the card and the complete path to your new data directory. The "fpap" file is a simple text file easily set up.
Ultimately, you will be able to create an automated download procedure from a shortcut on your desktop. We need Jeff or other Mac user to validate the details since I'm "Mac Challenged".
RE: CPAP Wireless SD Card for The Rest of Us
We were cross posting and I just reviewed your setup configuration. You seem to have your card's data directory in the FlashPAP directory, the best that I can tell. I would recommend that you place it in your Documents folder, to keep the data separate from the application. The bottom line is; If your setup works, then so be it.
RE: CPAP Wireless SD Card for The Rest of Us
To use in the morning launch flashpap it will copy the updated files from the SD card then open Oscar and import the updated data from the flashpap download directory it’s a two step process
RE: CPAP Wireless SD Card for The Rest of Us
Crimson Nape, I'm flying a little blind since I don't have a wireless SD card myself.
If it shows up as a removable drive then it would be a simple "rsync" to copy the files from the SD card to the users storage folder (~/CPAP-data or something).
If it needs to be mounted like a network share first then there's a little extra involved.
Something simple using Mac's built in Script Editor using rsync
Code: tell application "Terminal"
activate
do script "rsync -avz /Volumes/RESMED/ ~/CPAP-data/ResMed; exit"
end tell
Saved on the Desktop as "CopyCPAP.app"
04-16-2020, 05:54 PM
(This post was last modified: 04-16-2020, 05:56 PM by wacomme.)
RE: CPAP Wireless SD Card for The Rest of Us
(04-16-2020, 04:22 PM)jaswilliams Wrote: To use in the morning launch flashpap it will copy the updated files from the SD card then open Oscar and import the updated data from the flashpap download directory it’s a two step process
Good to know. Thank you.
(04-16-2020, 04:29 PM)Jeff8356 Wrote: Crimson Nape, I'm flying a little blind since I don't have a wireless SD card myself.
If it shows up as a removable drive then it would be a simple "rsync" to copy the files from the SD card to the users storage folder (~/CPAP-data or something).
If it needs to be mounted like a network share first then there's a little extra involved.
Something simple using Mac's built in Script Editor using rsync
Code: tell application "Terminal"
activate
do script "rsync -avz /Volumes/RESMED/ ~/CPAP-data/ResMed; exit"
end tell
Saved on the Desktop as "CopyCPAP.app" Does this script work? Does it need any modification? I suppose it's six of one, half dozen of the other. It's still a two-step process, correct?
RE: CPAP Wireless SD Card for The Rest of Us
I guess I need to use FlashPAP since SleepMaster isn't working for me.
So I need to use FlashPAP first, and then open OSCAR?
RE: CPAP Wireless SD Card for The Rest of Us
(04-16-2020, 06:00 PM)wacomme Wrote: So I need to use FlashPAP first, and then open OSCAR?
You are correct. To help semi-automate the data download with FlashPAP, you can use command line parameters. Normally, you would open FlashPAP, select the user, then select to download the data, finally exiting FlashPAP. To make this all steps into one step, you will use the normal command to run FlashPAP but append the 2 parameters, user=Michael and exit=yes to the command. Please note, I used your name as the user in these examples.
Here are examples of what the command looks like in Linux and Windows:
Windows:
C:\FlashPAP\FlashPAP.jar user=Michael exit=yes
In Linux, at least mine:
/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -jar /home/CrimsonNape/FlashPAP/FlashPAP.jar user=Michael exit=yes
I don't know the Mac syntax to achieve this. This is where an experienced Mac user can REALLY help.
I hope this makes some sense.
RE: CPAP Wireless SD Card for The Rest of Us
Would this be a command to put in Terminal?
RE: CPAP Wireless SD Card for The Rest of Us
I use these commands in a desktop shortcut. Again, Jeff or someone experienced with a Mac will have to guide you on its creation. Basically, if you can run FlashPAP from a terminal, then just add the 2 parameters to the command and give it a try.
RE: CPAP Wireless SD Card for The Rest of Us
On your Mac something like this should work from the command line (Terminal):
Code: open /Users/jeff/Downloads/FlashPAP/FlashPAP.jar user=Michael exit=yes
Of course you would need to change the location and names to match what you have on your system.
See if the above works for you
|