ResMed smart card - any further info?

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

Re: ResMed smart card - any further info?

Post by Jay Aitchsee » Tue Jul 21, 2015 11:53 am

turbosnore wrote:but ACS reader monitor still says "Card Status Unresponsive" and ATR is empty.
I've never used the reader Monitor App, but it would appear the QuickView diagnostic is a more robust program and it seems to indicate your card and reader are operating normally. Reading the help manual of the Quickview Diagnostic indicates the program will display the ATR Value and the Active Protocol of the Card inserted. Since no ATR is displayed by either the QuickView or the Monitor programs, is it possible this card simply does not answer to reset?

I suspect that these cards (as used by ResMed) are not smart cards at all, but rather are memory cards, such as the ACS SLE5542 and the SLE5528 which could explain the missing ATR, but I don't have the knowledge to say for sure. Maybe you could research this bit. The tech sheets for these cards do say they conform to ISO/IEC 7816 with regard to ATR.

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: S9 Auto, P10 mask, P=7.0, EPR3, ResScan 5.3, SleepyHead V1.B2, Windows 10, ZEO, CMS50F, Infrared Video

User avatar
turbosnore
Posts: 293
Joined: Wed Nov 05, 2008 7:00 am
Location: Nokia (town), Finland

Re: ResMed smart card - any further info?

Post by turbosnore » Tue Jul 21, 2015 3:02 pm

I tried to find something about the SLE-cards, but found very little.
Maybe I try the standards...

Also, I found a windows program that allows me to send commands in hex, and I could read stuff from the card.
Too bad it's a toy-program. I can't copy the read data in hex, nor does it log anything.
I tried to find out about using smart cards in Windows programs, but found very little.

I might be able to write a Linux program to read the data, but figuring out about windows seems more work than
I have time for. Darn. (I'm thinking about SleepyHead...)

_________________
Mask: AirFit™ F10 Full Face Mask with Headgear
Additional Comments: Not sure about the gear yet, SW used is SleepyHead
De-bugging is for sissies, real men do de-monstrations.

User avatar
Pugsy
Posts: 64065
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: ResMed smart card - any further info?

Post by Pugsy » Tue Jul 21, 2015 3:46 pm

Question for you.
IF (big if) you could get SleepyHead to talk to the smart card what information would you hope to glean from it?

Well..another question...do you just like to try to sort through challenges like this as a matter of something that gives you pleasure in getting something done that couldn't be done before?
I know there are people like that and I am to a certain extent but I get a headache when I challenge the brain too much just so I can prove that I can do it.

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.

If you want to try the Eclipse mask and want a special promo code to get a little off the price...send me a private message.

User avatar
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

Re: ResMed smart card - any further info?

Post by Jay Aitchsee » Tue Jul 21, 2015 3:59 pm

OK, so you made me dig out my old S8 stuff
Here's a screen shot of the QuickView and it does show the ATR to be 3B 00 with a T=0 protocol, which is probably appropriate for a memory card.
(click on the reader the left panel to get the details in the right.
My log, shown below the shot, is essentially the same as yours.
Image
ACS QuickView Log : 7/21/2015:17:36:06
Starting diagnostics routine...
Reading System Information
OS Build: 7601
CSD Version: Service Pack 1
Processor: Intel - Pentium III Xeon
Processor speed: 2465.305936 MHz
Submodel: Primary
Model ID: Family 6 Model 10 Stepping 7 Level 13
No of Processors: 4
Physical Memory Total: 4,294,967,295 Bytes
Physical Memory Free: 4,032,073,728 Bytes
Virtual Memory Free: 2,063,831,040 Bytes

Checking for Proprietary readers

Loading ACR30 library...
No ACR30 library found, loading acsr2032 library...
No ACSR2032 library found

Loading ACR38 library...
No ACR38 library found

Loading ACR80 library...
No ACR80 library found

Loading ACR122 library...
No ACR122 library found

Checking for PC/SC readers

Loading PC/SC library...
PC/SC library is loaded
Checking PC/SC functions...
PC/SC functions loaded
Calling SCardEstablishContext...
Success!
Calling SCardListReaders...
Success!
Calling SCardConnect...ACS ACR38U 0
Success!
Calling SCardControl...
Success!

ACS ACR38U 0
Firmware Version: ACR38-1100

Calling SCardDisconnect...
Success!

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: S9 Auto, P10 mask, P=7.0, EPR3, ResScan 5.3, SleepyHead V1.B2, Windows 10, ZEO, CMS50F, Infrared Video
Last edited by Jay Aitchsee on Wed Jul 22, 2015 10:22 am, edited 2 times in total.

User avatar
turbosnore
Posts: 293
Joined: Wed Nov 05, 2008 7:00 am
Location: Nokia (town), Finland

Re: ResMed smart card - any further info?

Post by turbosnore » Tue Jul 21, 2015 4:02 pm

Pugsy wrote:Question for you.
IF (big if) you could get SleepyHead to talk to the smart card what information would you hope to glean from it?
The same that ResScan reads from it.
Well..another question...do you just like to try to sort through challenges like this as a matter of something that gives you pleasure in getting something done that couldn't be done before?
I know there are people like that and I am to a certain extent but I get a headache when I challenge the brain too much just so I can prove that I can do it.
That I don't really know. Almost 20 years of embedded SW... maybe I'm already addicted to frustration.

_________________
Mask: AirFit™ F10 Full Face Mask with Headgear
Additional Comments: Not sure about the gear yet, SW used is SleepyHead
De-bugging is for sissies, real men do de-monstrations.

User avatar
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

Re: ResMed smart card - any further info?

Post by Jay Aitchsee » Tue Jul 21, 2015 4:09 pm

Even if you got it to work, ResScan is probably just as good for the S8 anyway, since there is no flow data, etc., that can be displayed in Sleepyhead. My solution was to buy an S9.

But here's the ACR38 Reference Manual, FYI. There's quite a bit about memory cards in it.

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: S9 Auto, P10 mask, P=7.0, EPR3, ResScan 5.3, SleepyHead V1.B2, Windows 10, ZEO, CMS50F, Infrared Video