Commit 1d52103
committed
Add sweep buffer and recovery endpoints
Implement sweep recovery and stop controls: add a SweepDataPoint buffer (MAX_SWEEP_BUFFER) to store recent sweep points, track sweepInProgress and sweepStopRequested, and persist points during a sweep. Introduce HTTP endpoints /sweep_buffer (GET) to retrieve buffered data and /sweep_stop (POST) to request stopping a running sweep. Update sweep loop to check for client disconnect or explicit stop request and improve logging; ensure buffer reset at sweep start and clear flags at completion.
Other updates: bump build metadata (date/time/git hash), update README esptool path, add an image width attribute in index.html, reorder a serial unknown-command log branch, update many embedded website HTML assets, and include an updated firmware binary.1 parent d3d8f16 commit 1d52103
19 files changed
Lines changed: 873 additions & 449 deletions
File tree
- Production_Files/Software/ODMR_Server
- build/fw-images
- data
- src
- website_html
- website
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
98 | 110 | | |
99 | 111 | | |
100 | 112 | | |
| |||
719 | 731 | | |
720 | 732 | | |
721 | 733 | | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
722 | 739 | | |
723 | 740 | | |
724 | 741 | | |
| |||
733 | 750 | | |
734 | 751 | | |
735 | 752 | | |
736 | | - | |
737 | | - | |
| 753 | + | |
| 754 | + | |
738 | 755 | | |
739 | | - | |
| 756 | + | |
740 | 757 | | |
741 | 758 | | |
742 | 759 | | |
| |||
753 | 770 | | |
754 | 771 | | |
755 | 772 | | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
756 | 781 | | |
757 | 782 | | |
758 | 783 | | |
| |||
777 | 802 | | |
778 | 803 | | |
779 | 804 | | |
| 805 | + | |
| 806 | + | |
780 | 807 | | |
781 | 808 | | |
782 | 809 | | |
783 | 810 | | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
784 | 846 | | |
785 | 847 | | |
786 | 848 | | |
| |||
1046 | 1108 | | |
1047 | 1109 | | |
1048 | 1110 | | |
| 1111 | + | |
| 1112 | + | |
1049 | 1113 | | |
1050 | 1114 | | |
1051 | 1115 | | |
| |||
1160 | 1224 | | |
1161 | 1225 | | |
1162 | 1226 | | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | 1227 | | |
1168 | 1228 | | |
1169 | 1229 | | |
| |||
1190 | 1250 | | |
1191 | 1251 | | |
1192 | 1252 | | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
1193 | 1257 | | |
1194 | 1258 | | |
1195 | 1259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
0 commit comments