Commit Graph

133 Commits (newdev)

Author SHA1 Message Date
Matthew Hilton 014350918a
Added extra resolutions (#21) 2023-06-24 00:31:24 +01:00
Matthew Hilton 4c910d2956
Merge pull request #20 from dicetrash/newdev
Adding back wifi protos
2023-06-24 00:27:15 +01:00
dice14u 1efe564feb Adding back wifi protos 2023-06-23 17:54:17 -04:00
Matthew Hilton a9cb5e46df
Merge pull request #19 from TildenWinston/newdev
Removing unused code to fix compile errors
2022-09-15 20:26:01 +01:00
TildenWinston fbc1f585e2
Removing bad line 2022-09-14 22:45:03 -07:00
TildenWinston 8981042d30
Removing bad line 2022-09-14 22:44:28 -07:00
TildenWinston 4bc084d356
Update MessageInStream.cpp 2022-09-11 14:23:23 -07:00
TildenWinston 20b4ec930e
Update SSLWrapper.cpp 2022-09-11 14:22:51 -07:00
Matthew Hilton 1934037ee4
Merge pull request #15 from sjdean/newdev
Newdev
2022-02-14 16:04:14 +00:00
Simon.Dean bd18165181 Reworked Message Handling
- Have adjusted the buffer mechanism so instead of using the buffer to store a message in the event of an interleaved frame, we basically perform all work on the buffer (albeit we take the existing message for the channel id from the buffer for the frame we're working on and write the message to the buffer if the message isn't resolved).
- Moved writing to buffer to receiveFramePayloadHandler() function if the message is BULK or LAST and therefore not resolved.
- Simplified receiveFrameHeaderHandler() so that we automatically try to find a message from the buffer and then createa message as necessary depending on the frame type.
- Excellent stability with no noticeable artefacts in audio after 1 hour.
- Removed majority of debugging after achieving stability.
2022-02-13 21:06:07 +00:00
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