Commit Graph

1327 Commits

Author SHA1 Message Date
saxon ebd6d5816d psi: full stop at end of comment, made lastTime belong to packer and moved some vars to a more appropriate location 2019-01-08 19:39:22 +10:30
saxon 872d689957 psi: PatTableID=>patID and PmtTableID=>pmtID i.e. also made unexported 2019-01-08 08:42:30 +10:30
saxon ffc1af2cd4 psi: removed declaration and initialisation of standard psi structures in std.go as this is dangerous 2019-01-07 17:13:50 +10:30
saxon 561e603d96 psi: ran gofmt -s -w on files 2019-01-07 17:04:57 +10:30
saxon d19327b6d5 psi: renamed std... to standard... 2019-01-07 17:02:57 +10:30
saxon 2284d38492 psi: removed more unnecessary conversions 2019-01-07 17:00:48 +10:30
saxon 83e4a4c5c5 psi: removing uneccessary conversion in psi_test.go 2019-01-07 16:58:12 +10:30
saxon b2b5db1f1f psi: using lowercase letters in hex 2019-01-07 16:32:18 +10:30
saxon 13b8c23351 psi: removed byteToBool func as can do this by other means 2019-01-07 16:30:48 +10:30
saxon ba9e5a3136 psi: renamed SD (specific data) interface to SpecificData 2019-01-07 16:27:18 +10:30
saxon 0c0afa8bde psi: removed redundent return in updateCrc 2019-01-07 16:25:08 +10:30
saxon 26f26cbeee psi: using binary.BigEndian.PutUin32 to put crc32 into the psi 2019-01-07 16:23:38 +10:30
saxon fa0154ad3d psi: using b instead of out for updateCrc 2019-01-07 16:20:06 +10:30
saxon 6ebb982238 psi: improved comment for updateCrc 2019-01-07 16:18:20 +10:30
saxon 261118187b psi: using copy inside UpdateLocation() instead of range 2019-01-07 16:16:53 +10:30
saxon 0d3abd5798 psi: using own trim function to get rid of null chars in gps string 2019-01-07 14:24:54 +10:30
saxon 8cf2181958 psi: modified error messages for updateTime and updateLocation to make clearer 2019-01-07 13:56:25 +10:30
saxon 31683b4194 psi: HasTime and HasLocation now return bool instead of error 2019-01-07 13:49:47 +10:30
saxon a0079ef046 psi: created crc.go to put crc stuff in and renamed op.go to helpers.go 2019-01-07 12:26:58 +10:30
saxon 239e1dfc93 psi: made TimeLocation struct member vars exported 2019-01-07 12:05:05 +10:30
saxon 7a73f69fe9 psi: MetaData struct => TimeLocation and also not initialising anymore 2019-01-07 11:59:46 +10:30
saxon 703f0a0523 revid: cleaned up send logic in httpSender send func 2019-01-07 10:45:22 +10:30
saxon 8878063dc8 revid: clean up vars for use in calculation of time between writes to packer 2019-01-07 10:43:30 +10:30
Dan Kortschak b46e267983 cmd/revid-cli: use sensible default for encoding option 2019-01-05 10:33:32 +10:30
Alan Noble 250da4232a Merged in configurable-log-path (pull request #93)
Added LogPath and ConfigFile command line flags.

Approved-by: kortschak <dan@kortschak.io>
2019-01-04 23:40:13 +00:00
scruzin 04a76e424a Added LogPath and ConfigFile command line flags. 2019-01-05 08:48:47 +10:30
Alan Noble c971d4b225 Merged in portable-sockets (pull request #92)
Replaced Unix sockets with IPConn. Sock_XXX funtions have been left as is for PR readability.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-01-04 20:37:23 +00:00
saxon e340c9b9be rtmp: removed debug prints 2019-01-02 21:55:43 +10:30
saxon cec95cd652 rtmp: using TCP rather IP 2019-01-02 21:54:01 +10:30
saxon 0b2c38117f revid: trying to fix rtmp 2019-01-02 21:28:20 +10:30
saxon 30f3f0558f Fixing smartlogger build error
Merge branch 'master' into portable-sockets
2019-01-02 20:51:46 +10:30
scruzin 04d7540b34 Replaced Unix sockets with IPConn. Sock_XXX funtions have been left as is for PR readability. 2019-01-02 18:20:30 +10:30
Saxon Milton 6d61ff7c25 Merged in change-of-logger-package (pull request #91)
Change of logger package

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-02 07:05:21 +00:00
saxon cca95f1c5d revid: fixed cmds used for testing 2019-01-02 17:32:20 +10:30
saxon 686a507ff8 revid: fixed smartlogger import path 2019-01-02 17:21:33 +10:30
saxon 94e4397594 revid: trying to work out bug 2019-01-02 17:21:03 +10:30
Saxon Milton 38998ab848 Merged in change-of-logger-package (pull request #89)
av: updated logging to suit changes made on iot and utils

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-02 06:25:24 +00:00
saxon a4c73cf6c5 av: updated logging to suit changes made on iot and utils 2019-01-02 15:39:47 +10:30
Saxon Milton ebccfa1a54 Merged in raspivid-no-start-fatal (pull request #87)
revid: fatal when raspivid cannot be started

Approved-by: kortschak <dan@kortschak.io>
2018-12-29 10:57:49 +00:00
Dan Kortschak 1e3b4b1ab8 cmd/revid-cli,revid: reduce stringly typing in config/flags 2018-12-28 13:43:21 +10:30
Saxon Milton 5a181f3576 revid: fix rtmp sending
Approved-by: kortschak <dan@kortschak.io>
2018-12-28 03:09:41 +00:00
saxon ca681a6176 revid: fatal when raspivid cannot be started 2018-12-28 10:53:10 +10:30
Saxon Milton 081007b091 Merged in psi-improvements (pull request #79)
Psi improvements

Approved-by: Alan Noble <anoble@gmail.com>
2018-12-17 11:13:30 +00:00
saxon 1095f32ae4 revid: added send retry flag 2018-12-14 20:50:26 +10:30
saxon ab643f2b97 revid: set default bitrate to 400000 2018-12-14 20:38:53 +10:30
saxon 618fadd90b revid: trying to fix jumpy rtp 2018-12-14 20:05:10 +10:30
saxon d8587bdbe2 psi: don't panic when LocationStrBytes get's non 32 byte str 2018-12-14 18:46:19 +10:30
saxon c7f55c3c43 revid: using NewJSONDecoder rather than newJsonDecoder to be consistent with changes in iot 2018-12-14 16:58:02 +10:30
saxon fbdce669e7 revid: cleaned and added commenting 2018-12-14 16:46:36 +10:30
saxon 239b52ad84 psi: simplified LocationStrBytes 2018-12-14 16:37:13 +10:30