Skip to content

Latest commit

 

History

History
134 lines (109 loc) · 5.82 KB

TODO.md

File metadata and controls

134 lines (109 loc) · 5.82 KB

TODO

  • event listener: add listen auto-send interval (cf. #21) - [x] set-event-listener - [x] get-event-listener - [x] CHANGELOG - [x] README

  • Rework any remaining DateTime pointers to rather use IsZero

  • Rework any remaining Time pointers

  • (?) Replace (* UHPPOTE) in API functions with non-pointer version

TODO

uhppote

  • make types consistent across API

  • Genericize message unit tests

  • Convert to 1.13 error handling

  • Fix golint errors

  • Invert conf Unmarshal so that it iterates struct rather than file (simplifies e.g. DeviceMap)

  • Rework plist encoder/decoder to be only for launchd (and remove 'parse' from daemonize/undaemonize)

  • Unify event buffer operations

  • Test IPConfig utility 'search message' ... received 20 bytes from 155.138.158.102:54544 ... 00000000 24 10 f4 33 02 06 00 00 00 00 00 00 ff ff ff ff ... 00000010 00 00 02 00

     ... received 20 bytes from 155.138.158.102:54544
     ...          00000000  24 10 b0 31 01 02 00 00  00 00 00 00 ff ff ff ff
     ...          00000010  00 00 01 00
     ...
    
     ... received 20 bytes from 155.138.158.102:54544
     ...          00000000  24 10 f4 33 02 06 00 00  00 00 00 00 ff ff ff ff
     ...          00000010  00 00 02 00
     ...
    
     ... received 20 bytes from 155.138.158.102:54544
     ...          00000000  24 10 ba 37 03 08 00 00  00 00 00 00 ff ff ff ff
     ...          00000010  00 00 03 00
     ...
    
     ... received 20 bytes from 155.138.158.102:54544
     ...          00000000  24 10 b0 32 05 02 00 00  00 00 00 00 ff ff ff ff
     ...          00000010  00 00 05 00
     ...
    
     ... received 24 bytes from 155.138.158.102:54544
     ...          00000000  20 10 b1 f9 06 02 00 00  00 00 00 00 ff ff ff ff
     ...          00000010  00 00 01 00 ff ff ff ff
     ...
    
     ... received 24 bytes from 155.138.158.102:54544
     ...          00000000  20 10 7d 2b 07 06 00 00  00 00 00 00 ff ff ff ff
     ...          00000010  00 00 02 00 ff ff ff ff
     ...
    
     ... received 24 bytes from 155.138.158.102:54544
     ...          00000000  20 10 42 ed 08 08 00 00  00 00 00 00 ff ff ff ff
     ...          00000010  00 00 03 00 ff ff ff ff
     ...
    
     ... received 24 bytes from 155.138.158.102:54544
     ...          00000000  20 10 e4 83 09 02 00 00  00 00 00 00 ff ff ff ff  | ...............|
     ...          00000010  00 00 05 00 ff ff ff ff                           |........|
     ...
    
  • bad udp cksum tcpdump: listening on en3, link-type EN10MB (Ethernet), capture size 262144 bytes 14:08:25.074807 IP (tos 0x0, ttl 64, id 55147, offset 0, flags [none], proto UDP (17), length 92, bad cksum 0 (->9bf4)!) 192.168.66.225.60267 > 192.168.66.255.60000: [bad udp cksum 0x078b -> 0x0acc!] UDP, length 64 0x0000: 4500 005c d76b 0000 4011 0000 c0a8 42e1 [email protected]. 0x0010: c0a8 42ff eb6b ea60 0048 078b 1794 0000 ..B..k.`.H...... 0x0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0050: 0000 0000 0000 0000 0000 0000 ............

Documentation

  • TeX protocol description
  • ASN.1 protocol specification
  • godoc
  • build documentation

Other

  1. Rework uhppote to use bidirectional channel to serialize requests

  2. Look into ARP for set-address

  3. Verify fields in listen events/status replies against SDK:

    • battery status can be (at least) 0x00, 0x01 and 0x04
  4. PDL + go generate

  5. Ballerina

  6. Eclipse Kura

  7. Klee 8 . AsyncAPI

  8. go-fuzz

  9. cgo: explicitly set alignment __attribute__((align(8))) complex float x;

  10. Transpilers

Notes

  1. https://stevelosh.com/blog/2021/03/small-common-lisp-cli-programs/