Commit Graph

105 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 fc72f0734a mts/psi: remove read funcs as we're not using them at this time 2019-01-07 10:30:13 +10:30
saxon fb5acb8e6f psi: fix crc update issue by not indexing from end of pmt slice, but rather getting syntax section length field and using that to index crc 2019-01-03 17:56:08 +10:30
Saxon Milton 04203ae744 psi: missed a loc =>location conversion 2019-01-03 02:10:32 +00:00
Saxon Milton 474b3a324a removing changes not relevant to this PR 2019-01-03 02:08:55 +00:00
saxon 692f5772a1 mts: removed usage of word len, and removed empty import 2019-01-02 10:26:34 +10:30
saxon c739b10f86 mts: removed repeated use of addPadding func 2018-12-27 14:11:23 +10:30
saxon 49a6acbde8 mts: some more const naming improvements 2018-12-27 13:29:08 +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 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 0b9f0f49fe psi: HasTime rather than chkTime 2018-12-14 16:11:45 +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 dc6964d41c psi: trimming excess bytes in gps data from pmt 2018-12-14 13:46:10 +10:30
saxon 7fa245bca3 psi: wrote testing for get gps from pmt byte slice 2018-12-14 11:15:49 +10:30
saxon 05fd7c37d1 psi: fixed issue with std psi 2018-12-13 17:06:39 +10:30
saxon b78904ac72 revid + psi: getting metadata from replies now 2018-12-13 15:51:51 +10:30
saxon 35d86b559d revid & psi: fixed playback issues... added padding to pat/pmt tables 2018-12-13 15:09:23 +10:30
saxon 9a7d7a9ab3 revid: modified http sender to look at reply of send and get time and gps data to mts package 2018-12-13 12:59:40 +10:30
saxon 2ca393c276 psi: improved commenting in op.go 2018-12-13 12:52:23 +10:30
saxon fe2c5d1033 psi: created const for pmt with time and gps program inormation length 2018-12-13 12:52:23 +10:30
saxon 283689ea6c psi: added a std template PSI struct for pmt with time and gps descriptors to make things easier 2018-12-13 12:52:23 +10:30
saxon 41d98b4dcd psi: added some commenting above testing funcs 2018-12-13 12:52:23 +10:30
saxon f320746b5d psi: wrote test for gpsUpdate - appears to be working 2018-12-13 12:52:23 +10:30
saxon 3cf6c00991 psi: restructured psi_test.go and started writing tests for gps 2018-12-13 12:52:23 +10:30
saxon 14e5676f6f psi: added file headers 2018-12-13 12:52:23 +10:30
saxon 4598d51e79 psi: started commenting and restructuring psi_test.go to make neater 2018-12-13 12:52:23 +10:30
saxon d8c46eefaa psi: restructuring to make neater 2018-12-13 12:52:23 +10:30
saxon 68eec9de98 psi: wrote func for update timstamp - as well as test (passes). Also wrote func for get timestamp - as well as test (passes) 2018-12-13 12:52:23 +10:30
saxon c6cf3e7244 psi: wrote test for timestampToBytes and also for pmt with timestamp to bytes - everything working as expected 2018-12-13 12:52:23 +10:30
saxon a5fa6bed5f psi: wrote first tests, for simple pat and pmt tables. Pat writing seems to be working 2018-12-13 12:52:23 +10:30
saxon 9e7b65ac6a psi: working on psi test file 2018-12-13 12:52:23 +10:30
saxon 8fe430f5f5 psi: start writing testing file 2018-12-13 12:52:23 +10:30
saxon 94cefe848a psi: wrote read func for pat, pmt, desc and started writing for essd 2018-12-13 12:52:23 +10:30
saxon 2ffa0f9b7b psi: starting to write read functions for psi and tss 2018-12-13 12:52:23 +10:30
saxon ba35615964 psi: completed writing Bytes() for PSI table 2018-12-13 12:52:23 +10:30
saxon 42038a8cb9 psi: wrote Bytes() for TSS and almost done writing for PSI 2018-12-13 12:52:23 +10:30
saxon fa0498bc52 psi: wrote bytes() for pat 2018-12-13 12:52:23 +10:30
saxon 1fd9bed1e4 psi: wrote bytes() for pmt 2018-12-13 12:52:23 +10:30
saxon e2a5e6a16a psi: re-wrote bytes for desc and essd to make less bug prone, though at a cost for performance - but optimisation can happen later 2018-12-13 12:52:23 +10:30
saxon 2a589be6bf psi: using Desc instead of Descriptor 2018-12-13 12:52:23 +10:30
saxon fe11ce6f08 psi: added essd data structure, isolated space check to minimise repetition 2018-12-13 12:52:23 +10:30
saxon 731285d665 psi: restructuring data structures and files 2018-12-13 12:52:23 +10:30
saxon 5f0bef9365 psi: writing new data strcutres to make things neater and more usable 2018-12-13 12:52:23 +10:30
Dan Kortschak 05ba19e4aa encoding->stream: rename packages 2018-08-20 07:49:02 +09:30