Merck / Mbed OS SmartCap_OS5

Dependencies:   nRF51822

Revisions of Source/main.h

Revision Date Message Actions
54:bc0199198178 2020-10-22 Extend adapt threshold to EOL Cap Off; reduced delay after turning on analog. File  Diff  Annotate
53:4524fff577eb 2020-09-29 Incorporates calibration of cap on, cap off and cap off trigger values. Fast sample rate set to 100 msec on cap off trigger. Fast sample rate runs for 5 seconds. File  Diff  Annotate
51:53fe9aff625a 2020-09-18 Added 2 step cap off detection.; 1st step causes the rate of checking for a cap off to increase.; 2nd step is the actual detection of a cap off.; File  Diff  Annotate
50:8dca54c1e3fd 2020-09-11 Changed to V1.18; Only adapt the cap on threshold just prior to going to sleep for SHIP_MODE.; File  Diff  Annotate
49:d2bd9056426e 2020-09-03 Threshold change. The threshold on vs off can not overlap. File  Diff  Annotate
48:bb7d5118e03c 2020-09-02 Added adaptive cap_on threshold. (only increases htreshold); Added 'sq' BLE command. Displays filtered cap_on on-off reading, peak filtered reading, current cap_on threshold.; ; File  Diff  Annotate
47:a1e91dea282d 2020-08-25 Revised some mnemoincs and moved some test_cap constants to main.h File  Diff  Annotate
46:b85be1ccf179 2020-08-21 Updated to V1.17; Added hysteresis to the cap detection function; Removed NRF51DK debugging option; Removed Bright light lockout for cap detection File  Diff  Annotate
45:bd6a86de08f9 2020-07-27 turned off max cap on value - no longer in saturation; reorganized advertising payload - aesthetics File  Diff  Annotate
44:48ce47b35564 2020-07-06 Added 0x1800 UUID to advertising packet.; Change version to 1.15; File  Diff  Annotate
43:7a9cfb57f9e8 2020-06-23 Changed scaling of ADC when reading the Cap On/Off input. This was a result of the board's analog voltage being lowered to 1.8V. Cap On/Off threshold changed.; ; Version updated to 1.14 File  Diff  Annotate
42:213f9b0cabe4 2020-03-20 Changed to V13.; Changed test_cap() to ignore new cap sensor readings if the off_reading is too high. This happens when ambient IR light is excessive. Threshold is in main.h File  Diff  Annotate
41:80f618bb53a4 2020-03-19 Version 12 - Cap threshold = 150 counts; Test mode File  Diff  Annotate
40:adabdb1c5abe 2020-01-16 Added delay for read of ambient sensor bit. Added DEW snippets turning on/off of logging function. File  Diff  Annotate
39:93d6d459c76c 2019-12-19 Brought back the battery level command for the UART, i.e., "sb"; Set settling time for ambient sensor at 200 ms when reading level, i.e., "sl" File  Diff  Annotate
38:4b06a103c044 2019-12-18 Added 'SL' command to allow reading analog value of light sensor. Delay for circuit powerup can be changed via #define in main.h; ; version 1.10 File  Diff  Annotate
37:0cb0a0b22b99 2019-12-13 wait after analog turn on = 3.5 ms; In-Use mode timer = 1 s; EOL max uses = 120; CAP OFF threshold = 100 File  Diff  Annotate
36:f76a7b956f52 2019-10-01 Max uses changed to 60 File  Diff  Annotate
35:e8fa201fe147 2019-09-26 31 days use.; Reset clock when it wakes from ship mode. File  Diff  Annotate
34:c122d842ad9a 2019-09-17 Advertises forever when in test mode.; File  Diff  Annotate
33:787d30671783 2019-07-30 Turned off LED debugging.; Changed to V1.06; File  Diff  Annotate
32:749e1c060d03 2019-07-30 Changed EOL_MAX_USES to 120.; Fixed issue that when the connect inactivity timeout was exceeded, it would lockup.; File  Diff  Annotate
31:f79f3ccd88b5 2019-07-29 Update version to 1.04; File  Diff  Annotate
30:76b51e525c40 2019-07-26 Fix device name that appends Device Address.; Miscoded and needed to set 2 top bit per BLE standard.; ; This version also skips Test Mode.; File  Diff  Annotate
28:e06f81d436a8 2019-04-17 Changed MAX_USES from 4 to 120.; File  Diff  Annotate
27:bb7247a1704e 2019-04-17 Works acording to Merck flow diagram.; File  Diff  Annotate
26:a577c4b69fe0 2019-04-15 Added all functions required by Merck Flow Diagram.; Still needs testing.; File  Diff  Annotate
25:42163d650266 2019-03-25 Everything here except EOL mode.; Some Flashing led stuff is in here for debugging. File  Diff  Annotate
24:761c30334cf4 2019-03-21 Test mode added; needs testing and DATA flag; Needs EOL stuff File  Diff  Annotate
23:7ca590427f0e 2019-03-19 Saving in progress work of updating code to new Merck Flow Diagram. File  Diff  Annotate | base