Commit Graph

123 Commits (f80e72c480460601ddbe5bcf48167746dc5e1f60)

Author SHA1 Message Date
Simon.Dean f80e72c480 Rework Message Handling.
Slight tweaks
- Add isInterleaved boolean
- If message is NULL and Frame Type is MIDDLE or LAST, then look for an existing message in buffer (if the message_ is null, then we need a FIRST or BULK frame)
- If message is still NULL, then we will create a new message, but recognise it as a valid frame ONLY if this is a FIRST or BULK frame because we cannot start on a MIDDLE or LAST.
- Rename recentFrameType to thisFrameType for more accuracy
- Only Resolve the Frame if the frame is BULK or LAST and the frame is valid.
- If the frame is interleaved, then we will use our interleavedPromise handler. Only resolve the main promise if the frame is not interleaved.
- Also reset message once resolved.
- Carry on reading if the original promise is not resolved (ie FIRST, MIDDLE, or Interleaved frame)
- Add some counters for debugging purposes.
2022-02-11 12:35:07 +00:00
Simon.Dean 5f4220b059 Support FrameType descriptor 2022-02-11 10:33:36 +00:00
Simon.Dean b8bbdf1288 Switch decrypt() to read the number of bytes from the frame size. 2022-02-11 10:29:02 +00:00
Simon.Dean 59d8d70b83 Add SSL Error Logging 2022-02-11 10:19:33 +00:00
Simon.Dean a897fc1a8b Swap getSize() to getFrameSize() and add totalSize() for completeness. 2022-02-11 10:19:12 +00:00
Matt Hilton 6d7eda1bcb Fixed cmakelists when target arch not set 2022-01-07 21:33:10 +00:00
Cole Brinsfield 1bc0fe69d5
add media and navigation status (#22)
* Implemented media status service, working on navigation service

* Navigation Status Service support
2021-12-26 13:48:56 -06:00
matt d327d9059c
fix #21 2021-10-05 21:20:41 +01:00
Matthew Hilton e29f2cd9d1
add githubactions packaging (#20)
* Added gitversion,cmake and last commit epoch as patch version

* Switched patch version to use commit hash instead of epoch

* Added CPACK_Version

* added message to output version

* added dockerbuild temp

* workflow fix

* fixed tabs

* fixed depends

* fixed typo

* typo in Dockerfile

* added upload artifact

* added deb_architecture

* added releases

* fixed checkout

* added tags

* fixed release gha

* Added versioning

* switch to use commit_timestamp
2021-09-23 22:16:29 -05:00
Matthew Hilton 3476cf9fc8
Update Readme.md 2021-09-23 23:31:36 +01:00
Matthew Hilton 053d69ecf3
added Github actions (#12)
* package using cpack (#18)

Added build to .gitignore
Added vscode tasks to clean, build, package
Added CPack support for debian packages

* Added gitversion,cmake and last commit epoch as patch version

* Switched patch version to use commit hash instead of epoch

* Added CPACK_Version

* added message to output version

* added dockerbuild temp

* workflow fix

* fixed tabs

* fixed depends

* fixed typo

* typo in Dockerfile

* added upload artifact

* added deb_architecture

* added releases

* fixed checkout

* added tags

* fixed release gha

* Added versioning

* switch to use commit_timestamp
2021-09-23 23:20:11 +01:00
Matthew Hilton eb53d31c1d
package using cpack (#18)
Added build to .gitignore
Added vscode tasks to clean, build, package
Added CPack support for debian packages
2021-07-25 18:49:15 -05:00
stefan-sherwood 34384025f0
auto connect USB on startup (#17) 2021-05-06 21:16:17 -05:00
Matthew Hilton e1dd406287
add versioning to enable building via yocto (#15) 2021-02-01 20:53:47 -06:00
Zero 18219a240d
fix install for aasdk_proto (#14) 2020-12-21 12:21:53 -06:00
Cole Brinsfield 1f561aa711
voice session and ping (#13) 2020-08-28 17:26:03 -05:00
Egidijus 7cb2b41863
fix button codes (#11)
Co-authored-by: Ryan Press <ryan@presslab.us>
2020-07-28 19:44:51 -05:00
Jason Wenger 9170cef8a8
Merge pull request #10 from jcwenger/feature/directory-structure
Feature/directory structure
2020-07-11 22:48:13 -05:00
Jason C. Wenger 5dda24782d Correct tabs to spaces 2020-07-11 21:28:22 -05:00
Jason Wenger f9f02815d0 Rearrange directory structure 2020-07-04 09:37:43 -05:00
Jason Wenger 204c2edbe3 ignore a cmake file 2020-07-04 09:37:43 -05:00
Robert Stanley Judka 7f3d07ea59
Merge pull request #7 from kylegordon/develop
Local build instructions
2020-06-30 09:24:50 -05:00
Kyle Gordon c96e250166 Remove outdated info 2020-06-30 11:21:25 +01:00
Kyle Gordon 5f2cea7201 Reduce dependency list 2020-06-30 11:19:32 +01:00
Kyle Gordon 7493a98f8f Tweak build location to keep openauto happy 2020-06-29 21:18:14 +01:00
Kyle Gordon 406086dd0d
doh, need make install 2020-06-29 19:57:13 +01:00
Kyle Gordon 9593dd4414 Don't assume user is operating in homedir 2020-06-29 17:25:04 +01:00
Kyle Gordon ec562fee7e Use correct git repo 2020-06-29 12:33:45 +01:00
Kyle Gordon be194ecb4e git also required 2020-06-29 12:24:12 +01:00
Kyle Gordon 2194455681 Update with build instructions 2020-06-29 11:03:29 +01:00
Jason Wenger 2f8ab3d900
Merge pull request #6 from jcwenger/feature/line-endings
Correct line endings
2020-06-07 19:13:35 -10:00
Jason Wenger 3f200e9e59 Correct line endings 2020-06-06 22:11:12 +00:00
Jason Wenger 5cdac83352
Merge pull request #5 from jcwenger/feature/install
Support installation into /usr/local/include
2020-05-25 22:32:34 -10:00
Jason Wenger 4486455f17 Support installation 2020-05-25 20:06:19 -05:00
Jason Wenger f01d90a692 Fixes for newer boost 2020-05-12 21:53:21 -05:00
Robert Stanley Judka a4888526da
Merge pull request #2 from jcwenger/feature/cmake-warning-fixes
Feature/cmake warning fixes
2020-05-10 20:47:04 -05:00
Jason Wenger 96d2d90c67 Add ignores in case of in-place build 2020-05-10 14:55:57 -10:00
Jason Wenger 3acf7d221b Add ccache support 2020-05-10 14:55:57 -10:00
Jason Wenger ae72b7190f Adjust libusb module - avoid system warns about zero-size arrays 2020-05-10 14:55:57 -10:00
Jason Wenger c71a6565b5 Permissions fix - cmake files are not executable 2020-05-10 14:55:57 -10:00
jcwenger b2733fe146
Merge pull request #1 from jcwenger/feature/interleaved-channels
Feature/interleaved channels
2020-05-10 19:54:03 -05:00
Robert Stanley Judka d387974e9d fix interleaved channel crashing #2 2020-05-10 06:18:06 -10:00
Cole Brinsfield 5d7b2bf332 Fixes interleaved channel crashing 2020-05-10 06:07:15 -10:00
Huan Truong 1d91dec240
Merge pull request #4 from presslab-us/morebuttons
#5: Add more button codes
2020-01-20 15:58:06 -08:00
Ryan Press 902707fe34 Convert all decimal button codes to hex 2020-01-06 07:50:33 -05:00
Ryan Press 0e18a3a1e7 Add more button codes (from Headunit Android app) 2020-01-05 13:44:38 -05:00
Kevin Abraham 95617c24b2
Merge pull request #2 from abraha2d/development
Fix compatibility with latest Android Auto
2019-08-06 20:34:06 -04:00
Kevin Abraham 361380e7d7
Update aasdk_proto/WifiChannelData.proto to be proto2 instead of proto3 2019-07-16 15:21:04 -04:00
Kevin Abraham 5045f58867
[opencardev/crankshaft#357] Fix parsing error due to required field in VideoFocusRequest 2019-07-12 17:06:32 -04:00
Emil Borconi-Szedressy df25ec907d
Merge pull request #2 from abraha2d/development
Some more runtime error fixes
2019-07-10 23:44:34 +01:00