-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtodo.txt
200 lines (188 loc) · 8.26 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
Todo hardware
-------------
Todo bugs
---------
Todo functional
---------------
Make buffer handling safe in nmea.c
Todo tidy up
------------
Tidy up javascript code
Create a new website with BlueBridge name
Todo testing
------------
Check for internet connection loss in android app when watching by mqtt
Todo documentation
------------------
Create documentation
Done
----
Test different brokers
Remove loggy function from modem and serial code
Try new power supply
Move network connection code so that SMS works if no GPRS available
Implement settings from SMS
Reply to SMS settings message
Test that Bluetooth/NMEA0183/NMEA2000 still works after adding IoT stuff
Try removing printf.c/h
Add project to git
Add broker address choice to webpage
Rename modem_init function
Move SMS code into separate file
Remove old C style data types
Rationalize lengths of APN, username, password #defines
Rename set sms pdu type function in modem.c/h
Restart after SMS settings change
Try new cheaper pressure sensor
Test changing broker on webpage
Test start/stop SMS messages
Rename project to BlueThing
Add IoT period to settings
Add use IoT period
Test IoT period
Show start/stop and period in settings message
Change MQTT password topic name to pass
Change LED component on schematic to a PL2
Use string capitalize function in SMS keys
Test that no CR on end of a user sent SMS message works
Add 32 bit hash function to utils
In Android app clear heading/pressure change items when watching stopped
In Android app Windspeed label is misaligned
Rename function in util.c/h to start with util_
Default to emqx broker in dropdown on webpage
Rename hardware design files and project to BlueThing
Change SMS message command key from IMEI to code
Hash the IMEI in app into a 32 bit code
Use hashed IMEI code instead of hardcoded string for MQTT topic
Rename mqtt data buf from buf to mqtt_data_buf in boat_iot.c
Period set to 5s gives strange settings text message
Combine all mqtt messages into one
Make cog completely random in test data
Finish test data
Finish sending data from app to broker
Boat code on webpage accept lower case by using java script toupper equivalent
Change set code on webpage from text entry to dialog
Remove unnecessary console logging from javascript
In javascript change boatname to boatcode
Period setting ending in 'm' or 's' doesn't work
Close mqtt connection and socket on long period
Set default started value to false
Settings period with 0s time looks odd
Check all todo's in code
Implement sms pos command that sends boat position
Implement sms data command that sends all boat data without position
Test pre-sent SMS
Change google maps link in pos sms response to satellite view
Flash led when mqtt message sent
Do a new board layout
Remove redundant #includes
Ask if to store cookies on webpage
Add MIT license headers to android app and website files
Get new boards made
Generate new hw pdf files
The placement of the red square in the mapiator map is not quite right - top left corner of square is location. Investigate polygon instead
Modem_interface.h should not depend on modem.h
Settings defaults as #defines
Move extern declarations into header files
Create BOM
Change strcpy for safe_strcpy
Change strcat for safe_strcat
After receiving a start command publish first MQTT message immediately
Rotate boat shape according to heading in javascript
Change constants standard header in include files to defines
Add standard headers to c/c++ source files and reorder sections
Check all pointer parameters are const where possible
Refactor pressure sensor driver to move freertos stuff from main into driver
Use size_t in mqtt for lengths
Use uint8_t* in mqtt for non null terminated data
Test with OpenCPN
Create data flow diagram
Test new GSM aerial
Add LED holder to bom
Create doxyfile
Doxygen all code ESP32 code
Make webpage broker/port enterable via webpage
Modem SMS read need buf lengths and checks
safe strncat needs sorting in utils and nmea0183 library
Android app add mqtt settings persistence
Android app create dialog for new settings needed by mqtt
Android app rearrange UI layout to allow extra button to activate new settings dialog
Android app add settings dialog activate button and implement UI logic
Android app test MQTT connect, subscribe and receive message in prototype code
Android app move prototype mqtt code to main app
Android app implement mqtt connection, subscribe, warnings dialogs
Android app decode MQTT messages
Android app update ui and do watching for mqtt received data
If settings are wrong and a data connection cannot be made the device constantly reboots and never gets to code that reads sms messages to allow new settings to be applied
Send pressure readings via mqtt
Update webpage to show pressure reading
Make time display on webpage a segment display
Pressure not showing on android app
In android app add setting for periodic ping sound
Add reset settings to default sms command
Add reload button to webpage
Signal strength bands in webpage javascript need sorting
Add remote station signal strength if space allows
Rename boat_iot.c/h to publisher.c/h
Multiple tcp errors in mqtt publish need a reboot
Data times out in android app with mqtt data source with default 30s publish period. Make data timeout period > 30s
Default mqtt port in android app is incorrect
Backlight goes dark when watching is started - remove this feature
Connecting to wrong port via mqtt causes crash
App icon not showing in older android version
Move settings code in android app to separate class
Add defaults to broker/port prompt dialogs in webpage
Add time since last publish in android app when connected by mqtt
In android app create a utilities class and move non-app specific code into it
Add test data on/off sms command
Build new hw on new pcb's
New version of pcb with minor bugs fixed and name changed back to blue bridge
Swap 12V and GND spade connectors around on PCB
Add labels to existing jumpers - test data and gps source
Add 3 pins for testing data to/from modem
Add test points for 3.3V, 4.2V, 5V, 12V
Update pdf hw printout files
Remove sms command for test data and add gpio read from jumper to create test data - needs hw version 1.1 or modified 1.0
Add RF module to hw design, leave as do not fit for now
When period is changed send a publish immediately to update clients on new period
Display publish period in android app when connected by internet
Send publish period in mqtt message
Adjust no data alarm period in android app depending on received period
Plotted boat point in android app too small, make it bigger
North is down in android app plot, make it up
In android app change settingsConnection from integer to enum type
Add option to clear boat plot points chart in android app
Regression test bluetooth anchor watching functionality/pressure sensor/NMEA2000
Add n2k gps data read
If a mqtt publish fails, delay for 1s and try again
Increase mqtt publish timeout from 5s to 10s
Rename repo to bluebridge
Rename everything back to blue bridge in source
TCP write size over 99 causes problems - test by making floating point numbers longer in mqtt publish in boat_iot.c
RMC message data not arriving by Bluetooth in test mode
GGA message transmitting real GPS data not test GPS data in test mode
Add wind direction to andoid app
Test full functionality of anchor watching by mqtt
Rename truewindangle to groundwindangle in android app anchor view
Delete the old blue bridge repo
Add HW design for exhaust temperature measurement sensors
Add software to read exhaust temperature sensors
Add software to send exhaust temperatures to NMES2000
Get hardware version 2.0 board made
Build new hw on 2.0 board
Update README.md with exhaust temperature sensors
Update dataflow.svg with exhaust sensors
Send exhaust temperatures via MQTT
Update webpage to show exhaust temperatures
Update webpage to show period
Add degree symbols to webpage
Android app a no pressure reading available alarm sometimes comes up when switching on watching, but then goes away. Wait longer before sounding this alarm.
Remove test data creation code
main.cpp line 769 says port should say starboard
spp_acceptor.c line 335 spelling error
spp_acceptor.c line 170 cast needed
sms.c use size_t on lines 178, 179, 118
Test on boat
Fix lack of true wind data on Raymarine system
Line 150 of sms.c should use vPortFree not free
spp_acceptor.c line 181, 222 should use vPortFree not free