Giter VIP home page Giter VIP logo

biometric's People

Contributors

dependabot[bot] avatar obriensystems avatar

Stargazers

 avatar

Watchers

 avatar  avatar

biometric's Issues

edit readme

Heart rate tracking is done via Bluetooth 4.0 LE (Smart)

java 11 upgrade - add jaxb 2.3.0

the following classes were removed as part of JAXB from java 11
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

 

<jaxb.version>2.3.0</jaxb.version>

  javax.xml.bind  jaxb-api  ${jaxb.version}   com.sun.xml.bind  jaxb-core  ${jaxb.version}   com.sun.xml.bind  jaxb-impl  ${jaxb.version}

http://jira.obrienlabs.cloud/browse/OBRIENLABS-18

Add JPA unique identifer pattern

IdentifiableObject should prefix id's in memory with size + classId + id
and store a registrar setting
Put the following in the @PostConstruct method of a @component
IdentifiableObject.registerClass(int, class)
Store the following maps on the root jpa class (not on the InheritableThreadLocal)
private static Map<Integer, Class<? extends DbObject>> entityMap = Collections.synchronizedMap(new HashMap<Integer, Class<? extends DbObject>>());
private static Map<Class<? extends DbObject>, Integer> keyMap = Collections.synchronizedMap(new HashMap<Class<? extends DbObject>, Integer>());

Add SSL Forcing

https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html

/usr/lib/jvm/jre-1.8.0-openjdk/bin
[root@nuc12-i7 ~]# vi ~/.bashrc
[root@nuc12-i7 ~]# source ~/.bashrc
[root@nuc12-i7 ~]# echo $JAVA_HOME
/usr/lib/jvm/jre-1.8.0-openjdk
[root@nuc12-i7 ~]# $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
Enter keystore password: 
Re-enter new password: 
What is your first and last name?
[Unknown]: michael
What is the name of your organizational unit?
[Unknown]: obrienlabs
What is the name of your organization?
[Unknown]: obrienlabs.org
What is the name of your City or Locality?
[Unknown]: ottawa
What is the name of your State or Province?
[Unknown]: on
What is the two-letter country code for this unit?
[Unknown]: ca
Is CN=michael, OU=obrienlabs, O=obrienlabs.org, L=ottawa, ST=on, C=ca correct?
[no]: y
Enter key password for <tomcat>
(RETURN if same as keystore password): 
Re-enter new password:
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false"
keystoreFile="/root/.keystore"
keystorePass="8"
sslProtocol="TLS" />

25-Apr-2016 15:06:26.823 INFO [http-nio-8080-exec-9] org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP request header
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name
at org.apache.coyote.http11.AbstractNioInputBuffer.parseRequestLine(AbstractNioInputBuffer.java:228)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
try
<!-Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /->

Add BLE reg/callback for pulse oximeter: SpO2 (O2 saturation) and PI (Perfusion index)

Masimo now has an LE capable oximiter that works very well
http://www.apple.com/ca/shop/product/HK9Q2VC/A/masimo-mightysat-fingertip-pulse-oximeter-bluetooth-le

Oxygen Saturation (SpO2)
A measure of the oxygen saturation in the arterial blood, a higher SpO2 indicates an elevated level of oxygen. SpO2 can change due to a number of factors, including lung or heart function and altitude.

Perfusion Index (PI)
Measures your peripheral blood flow; a higher PI indicates greater blood flow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.