Apnea Board Forum - CPAP | Sleep Apnea
Anybody get the newer O2Ring-S data into OSCAR? - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: Anybody get the newer O2Ring-S data into OSCAR? (/Thread-Anybody-get-the-newer-O2Ring-S-data-into-OSCAR)



Anybody get the newer O2Ring-S data into OSCAR? - Craiggvt - 10-10-2024

I bought the o2Ring-s because it has the USB-c charge port, but it doesn't look like it's compatible with OSCAR.

Has anybody gotten it to import?  It looks like it samples every second instead of every 4 seconds. Not sure if that's the reason OSCAR can't import the data.

Any help?  Thanks!

PS. I'm on an M2 mac if that makes a difference.


RE: Anybody get the newer O2Ring-S data into OSCAR? - Crimson Nape - 10-10-2024

Hi Craiggvt! - Welcome
As usual, this company can't help but to reinvent the wheel each time they release something new or a software update. To answer your question, yes. A member was kind enough to write the loader for the O2Ring-S's new binary format and provide it for inclusion into OSCAR. It will be in the next release, but you can download and build your own copy of OSCAR now. Here is the link to the OSCAR repository, https://gitlab.com/CrimsonNape/OSCAR-code. Instructions on how to build your own version is in the OSCAR-code/Building/MacOS/BUILD-mac.md
- Red


RE: Anybody get the newer O2Ring-S data into OSCAR? - Craiggvt - 10-10-2024

Hi Crimson Nape!

Thanks so much for the reply!

I tried following your directions, but the Qt 5.12.8 gave me an error because I'm running Sequoia (15.0.1).  It looks like it's expecting an older OS.

Next I tried installing a newer version of Qt, version 6.8.0. I tried following along using the same instructions, but there were some minor differences.  After trying to "make" it, I kept getting an error about an unknown module in Qt: serialport.

So I guess I'll have to wait until the next version is released, unless you have an idea of what I am doing wrong?

Any idea when the next version will be released?

Thanks so much!!


RE: Anybody get the newer O2Ring-S data into OSCAR? - Crimson Nape - 10-10-2024

If you are trying to build the code with Qt Creator, try using the command line to build it.  Qt Creator turns all warnings and errors on. Also, don't waste your time with Qt6. There are so many things that have to be modified, it will be a nightmare. The code is set up to build under Qt5.5 and later versions of Qt5.
- Red


RE: Anybody get the newer O2Ring-S data into OSCAR? - Craiggvt - 10-11-2024

Hmm...  It looks like I got it through the qmake process (~/Qt5.12.8/5.12.8/clang_64/bin/qmake ../oscar/oscar.pro)


But when I try the next line (make), I get these errors along with an incomplete or corrupted oscar.app

/Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qbytearray.h:545:22: error: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-provided copy assignment operator [-Werror,-Wdeprecated-copy-with-user-provided-copy]
  545 |     inline QByteRef &operator=(const QByteRef &c)
      |                      ^
/Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qbytearray.h:563:28: note: in implicit copy constructor for 'QByteRef' first required here
  563 | { Q_ASSERT(i >= 0); return QByteRef(*this, i); }
      |                            ^
In file included from ../oscar/SleepLib/crypto.cpp:9:
In file included from ../../Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/QDebug:1:
In file included from ../../Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qdebug.h:45:
In file included from /Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qhash.h:46:
In file included from /Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qlist.h:47:
In file included from /Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qhashfunctions.h:44:
/Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qstring.h:1063:22: error: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-provided copy assignment operator [-Werror,-Wdeprecated-copy-with-user-provided-copy]
 1063 |     inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar©); }
      |                      ^
/Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qstring.h:1163:28: note: in implicit copy constructor for 'QCharRef' first required here
 1163 | { Q_ASSERT(i >= 0); return QCharRef(*this, i); }
      |                            ^
In file included from ../oscar/SleepLib/crypto.cpp:9:
In file included from ../../Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/QDebug:1:
In file included from ../../Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qdebug.h:49:
In file included from /Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qtextstream.h:46:
In file included from /Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qlocale.h:43:
/Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qvariant.h:399:16: error: definition of implicit copy assignment operator for 'Private' is deprecated because it has a user-provided copy constructor [-Werror,-Wdeprecated-copy-with-user-provided-copy]
  399 |         inline Private(const Private &other) Q_DECL_NOTHROW
      |                ^
/Users/user/Qt5.12.8/5.12.8/clang_64/lib/QtCore.framework/Headers/qvariant.h:273:15: note: in implicit copy assignment operator for 'QVariant:Tonguerivate' first required here
  273 |     { other.d = Private(); }
      |               ^
3 errors generated.
make: *** [crypto.o] Error 1




Do I need to add any modules to Qt?