(07-20-2021, 01:01 PM)NelsonM Wrote: That's some impressive bash scripting, Biorn! Unfortunately the URLs you're using don't work with my ez Share either; I have a different firmware. It reports as version 4.4 from around 2014.
I've concluded this card isn't going to work for me. I managed to order a Toshiba FlashAir from eBay/Germany for $50 so will try that instead.
The firmware only wants to work with files that look like image files from cameras. It doesn't want to serve the ResMed files. I spent some time hacking around and never could never find a way to list all the files on the card. I was able to coerce it to download arbitrary files though, URLs like this get ResMed data:
/download?fname=2071A5~1.EDF&fdir=..\DATALOG\20210719
Maybe if you can guess all the filenames ResMed will write this would be useful. They are pretty predictable, it's probably doable.
The other drawback of ez Share is it seems to only work as an access point; there's no way to make it a client on an existing WiFi network. That's pretty inconvenient and I can't think of any way to work around it short of dedicating a WiFi adapter to my computer.
I wrote up way more detailed technical notes than are appropriate for a forum post. You can find them on my blog.
Hello, effectively the firmware of the old one card don't work due to the lack of the filemanager webpage.
To answer your question, no it's just impossible to download it with a brute force, that represent like 864'000 downloads for one day.
I took a quick look in your blog,
- the download folder work like that: check media files in the folder then pack it in a zip file and upload. (so no way to use it for these extensions)
- for the wifi ap side it's not a problem, I don't really have time for that but it's very easy to add in the script a part to switch wifi on the sdcard when downloading data then switch back to you home network.
- it's possible to update the firmware through usb protocole, I started to work on it in the past, was able to find some request but I stoped due to my ignorance in nucleus OS, that would take me too much time to reverse the firmware.
An easier way should be to find in the firmware the media extensions strings and replace it with the resmed extensions then you can easy download your daily folder.
now that I think about it, I was able to reverse the firmware, yep I remember now it's bit reversed and big endian and maybe compressed.
if you really want to investigate I can add some stuff on my repo. Tell me if I need to search and post it.
PS: Version of my card/firmware is LZ1801EDPG:1.0.0:2016-03-19:72 LZ1801EDRS:1.0.0:2016-03-19:72 SPEED:-H:SPEED