v1.19 Release

Dependencies:   nRF51822

Revisions of Source/main.cpp

Revision Date Message Actions
63:c321added5b1 2021-06-16 This is a dead end version of 1.19. The code has been modified to produce an incorrect crc for 1.19 to be used in verification testing of utility software.; A "1" was added to the crc message of the 'm' request in the comm case statement. File  Diff  Annotate
62:9ef9817c7cad 2021-02-25 Turn off 3 blinks when first going to USER mode.; File  Diff  Annotate
61:3ab0f16d2bfc 2021-02-24 Changed SKIP_SHIP_MODE to 0; Removed code that ran the adaptive thresholds when SKIP_SHIP_MODE=1.; File  Diff  Annotate
60:6327aa30a10e 2021-02-24 Added golden data set #2, which crosses between EST and DST.; Based on V1.19.; New version is V1.19gs.; File  Diff  Annotate
59:1dd53bfb012d 2021-02-01 Version v1.19 submitted to Merck. Extra log codes commented out. Only one debounce routine utilized. File  Diff  Annotate
58:9b94a7caadba 2020-12-18 In SHIP_MODE_CHECK_CAP debounce ambient detector and delay before going back to sleep. File  Diff  Annotate
57:6c0608782fc6 2020-12-11 No change File  Diff  Annotate
56:97c90403d489 2020-12-11 No Change File  Diff  Annotate
55:a66f86bbfc9f 2020-12-11 V1.19; Cap Off time is now recorded with 3 bytes.; Maximum logged records is now 511.; This code assumes it is package in ship mode with the cap off. When reawakened and the cap is put on, the cap thresholds will be set. File  Diff  Annotate
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
52:23cc9f576e4a 2020-09-21 When doing the "fast" ticks for the 2 step cap off, it was only calling test_cap(). Now calls process_state() also, so it can be processed as a cap off. 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
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
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
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
29:4b347695b9f7 2019-07-16 In main.h, changed max uses 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