v1.19 Release

Dependencies:   nRF51822

Changes

RevisionDateWhoCommit message
63:c321added5b1 2021-06-16 fdelahan 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. default tip
62:9ef9817c7cad 2021-02-25 sgetz7908 Turn off 3 blinks when first going to USER mode.;
61:3ab0f16d2bfc 2021-02-24 sgetz7908 Changed SKIP_SHIP_MODE to 0; Removed code that ran the adaptive thresholds when SKIP_SHIP_MODE=1.;
60:6327aa30a10e 2021-02-24 sgetz7908 Added golden data set #2, which crosses between EST and DST.; Based on V1.19.; New version is V1.19gs.;
59:1dd53bfb012d 2021-02-01 fdelahan Version v1.19 submitted to Merck. Extra log codes commented out. Only one debounce routine utilized.
58:9b94a7caadba 2020-12-18 sgetz7908 In SHIP_MODE_CHECK_CAP debounce ambient detector and delay before going back to sleep.
57:6c0608782fc6 2020-12-11 sgetz7908 No change
56:97c90403d489 2020-12-11 sgetz7908 No Change
55:a66f86bbfc9f 2020-12-11 sgetz7908 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.
54:bc0199198178 2020-10-22 fdelahan Extend adapt threshold to EOL Cap Off; reduced delay after turning on analog.
53:4524fff577eb 2020-09-29 fdelahan 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.
52:23cc9f576e4a 2020-09-21 sgetz7908 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.
51:53fe9aff625a 2020-09-18 sgetz7908 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.;
50:8dca54c1e3fd 2020-09-11 sgetz7908 Changed to V1.18; Only adapt the cap on threshold just prior to going to sleep for SHIP_MODE.;
49:d2bd9056426e 2020-09-03 sgetz7908 Threshold change. The threshold on vs off can not overlap.
48:bb7d5118e03c 2020-09-02 sgetz7908 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.; ;
47:a1e91dea282d 2020-08-25 fdelahan Revised some mnemoincs and moved some test_cap constants to main.h
46:b85be1ccf179 2020-08-21 sgetz7908 Updated to V1.17; Added hysteresis to the cap detection function; Removed NRF51DK debugging option; Removed Bright light lockout for cap detection
45:bd6a86de08f9 2020-07-27 fdelahan turned off max cap on value - no longer in saturation; reorganized advertising payload - aesthetics
44:48ce47b35564 2020-07-06 sgetz7908 Added 0x1800 UUID to advertising packet.; Change version to 1.15;
43:7a9cfb57f9e8 2020-06-23 sgetz7908 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
42:213f9b0cabe4 2020-03-20 sgetz7908 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
41:80f618bb53a4 2020-03-19 fdelahan Version 12 - Cap threshold = 150 counts; Test mode
40:adabdb1c5abe 2020-01-16 fdelahan Added delay for read of ambient sensor bit. Added DEW snippets turning on/off of logging function.
39:93d6d459c76c 2019-12-19 fdelahan 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"
38:4b06a103c044 2019-12-18 sgetz7908 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
37:0cb0a0b22b99 2019-12-13 fdelahan wait after analog turn on = 3.5 ms; In-Use mode timer = 1 s; EOL max uses = 120; CAP OFF threshold = 100
36:f76a7b956f52 2019-10-01 sgetz7908 Max uses changed to 60
35:e8fa201fe147 2019-09-26 sgetz7908 31 days use.; Reset clock when it wakes from ship mode.
34:c122d842ad9a 2019-09-17 sgetz7908 Advertises forever when in test mode.;
33:787d30671783 2019-07-30 sgetz7908 Turned off LED debugging.; Changed to V1.06;
32:749e1c060d03 2019-07-30 sgetz7908 Changed EOL_MAX_USES to 120.; Fixed issue that when the connect inactivity timeout was exceeded, it would lockup.;
31:f79f3ccd88b5 2019-07-29 sgetz7908 Update version to 1.04;
30:76b51e525c40 2019-07-26 sgetz7908 Fix device name that appends Device Address.; Miscoded and needed to set 2 top bit per BLE standard.; ; This version also skips Test Mode.;
29:4b347695b9f7 2019-07-16 sgetz7908 In main.h, changed max uses to 120.;
28:e06f81d436a8 2019-04-17 sgetz7908 Changed MAX_USES from 4 to 120.;
27:bb7247a1704e 2019-04-17 sgetz7908 Works acording to Merck flow diagram.;
26:a577c4b69fe0 2019-04-15 sgetz7908 Added all functions required by Merck Flow Diagram.; Still needs testing.;
25:42163d650266 2019-03-25 sgetz7908 Everything here except EOL mode.; Some Flashing led stuff is in here for debugging.
24:761c30334cf4 2019-03-21 sgetz7908 Test mode added; needs testing and DATA flag; Needs EOL stuff
23:7ca590427f0e 2019-03-19 sgetz7908 Saving in progress work of updating code to new Merck Flow Diagram.
22:a3add5a1fef3 2019-02-22 sgetz7908 Version number is sent out when Status/Battery inquiry is requested via BLE.
21:af2f8b0e3e75 2019-02-21 sgetz7908 Committing for due to unknown state of old stuff.;
20:a110023f39d1 2019-01-16 sgetz7908 no change;
19:74bcf9d0bc6b 2018-10-16 sgetz7908 Updated so it works. Based on SmartCap.
18:c9e6626f8efc 2018-10-16 sgetz7908 LED off when cap is on (reflecting).; Fixed issue where it would not output all records over BLE. Delay needed to do a wait.BLE to work correctly.
17:7467c722b575 2018-09-11 sgetz7908 Latest
16:cb381e1daf8f 2017-06-06 sgetz7908 Now logs duration of 'cap off' event, and logs when the device was removed from the package.;
15:e35aa889366e 2017-06-02 sgetz7908 Advertises for 2 minutes after cap is put on.; ; Battey voltage is read at power up, but does not seem to update after that. However, proper battery voltage can be obtained using the UART program and sending command 's'.;
14:2f85a359d3f7 2017-06-02 sgetz7908 Advertises for 2 minutes after cap is put on.; Was doing it after cap removed.;
13:c7448beaec17 2017-06-01 sgetz7908 Fixed bug when skipping ship mode.;
12:55495eedbd8e 2017-05-31 sgetz7908 Debugged code.; #defines currently skip ship mode, enable debug led, and has uart debugging on.
11:c65905cb9f56 2017-05-31 sgetz7908 Testing looking good.; Still has #defines setup for testing
10:b3553e75eee0 2017-05-30 sgetz7908 in process of debugging;
9:0b017e956142 2017-05-30 sgetz7908 Full code with BLE communication, and test modes.; Not fully tested yet.
8:5bb94184842d 2017-05-23 sgetz7908 Added sensor routines.
7:090f9eea7b3c 2017-05-23 sgetz7908 Initial SmartCap Code
6:54eb8fe110f2 2017-05-23 sgetz7908 Minor changes;
5:0af1058fe48b 2017-01-25 sgetz7908 Added Bluetooth stuff for the Dulera App.;
4:1bfa16834dd4 2017-01-24 sgetz7908 ADC reference uses the internal 1.2V reference rather than VCC.; Includes Fran's adjusted main.h parameters.; LED turns off sooner.;