Commit Graph

1313 Commits

Author SHA1 Message Date
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
saxon 7c24c79287 psi: using binary.BigEndian.Uint64 for TimeFrom 2018-12-14 16:31:13 +10:30
saxon f7991cd0af psi: using array in TimeBytes() 2018-12-14 16:22:48 +10:30
saxon 404a2b6c99 psi: d to dst in updateTime 2018-12-14 16:21:56 +10:30
saxon d961cf172d psi: indicated that time data size const is in bytes to be consistent with storage of uint64 2018-12-14 16:20:20 +10:30
saxon e50a8e6995 revid: zerod to zeroed in comment 2018-12-14 16:18:18 +10:30
saxon 24f0be9917 mts: FindPmt checks validity of data length 2018-12-14 16:15:02 +10:30
saxon 0b9f0f49fe psi: HasTime rather than chkTime 2018-12-14 16:11:45 +10:30
saxon ac11b281c5 mts: patTable and pmtTable in var block instead of init func now 2018-12-14 16:09:53 +10:30
saxon cf4c44f4d5 psi: using HasLocation or HasTime instead of ChkLocation or ChkTime 2018-12-14 16:06:01 +10:30
saxon 21dd2f4b70 revid: using location instead of gps in names 2018-12-14 16:02:47 +10:30
saxon e79f6d191d revid: made extractMeta a function of httpSender 2018-12-14 16:01:10 +10:30
saxon f1ee09ad7b revid: improved naming of encoder globals for location and timestamp 2018-12-14 15:59:44 +10:30
saxon dc6964d41c psi: trimming excess bytes in gps data from pmt 2018-12-14 13:46:10 +10:30
saxon 798add533b revid + mts +psi: wrote func to find pmt in byte slice, wrote func to get gps, changed the way in which psi are insterted, based no of mpgets packets to send on time, i.e. per second 2018-12-14 13:35:56 +10:30