-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathtodo.txt
59 lines (53 loc) · 2.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
things to do:
-------------
maybe make IP based on link local addresses _or_
remove the default gateway from the IP stack => security is improved if it can only talk locally
consider espconn_find_connection
queuelength is maxtcpcon
only accept pair-setup URL if pairing
replace plink_active with my own linked list of pcryp
fix issue of notes8a.txt
remove existing connections coming from the same IP when new connection
keepalive doesn't kill because events keep it awake or it is just broken!
use state=4 as criterion not to send more...
unify all sends into data_send
use vTaskList to find stack usage
already prepare accessory message while verifying signature
store clientkeys in an encrypted format
make remove invited key more robust
swap buffer for encrypt input with output and then it can grow what is needed
do encryption concatenation backward so you need a 0x400 input buffer max
verify is calculation of len in decrypt is OK, should be shifting with loop, right?
set clockspeed to 160MHz at crypto moments
after deleteing a guest, track down existing TCP sessions and kill those
if tcp not encrypted within 2 seconds, close it
gpio stuff can be done without driver stuff??
make sendbuffer before encrypt more automatic instead of +2x0x18
Doing
-----
HacK: make a mdns routine that really builds the message
DONE
----
make the callback routine responsible for init etc. by using a param to be multiuse
when disconnect, remove the event flag
if not encrypted, do not accept json messages
get random keys in place
change v for B in crytoinit
make SRP step 1 part of init in case of pairing
get debug printing conditional
implement GET /characteristics
make multiple clients work in parallel
event message
implement GET /identify
identify before pair
make an 'update' routine
make the setup of a characteristic a routine with some params
unify all routines in one file an make it a library
consider vTaskdelay in mdns loop
change decrypt out buffer from objects[3] to a dynamic buffer (if too big)
make pairing variables dynamic, not global
and do something usefull with this foundation ;-)
not possible
------------
store myusername and mykey and peerkey in RTC-flash -- it is not flash but ram
make task stack value 256 instead of 2560 -- crashes and didn't make an advantage in heap report