Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mqtt Support #22

Closed
wants to merge 40 commits into from
Closed

Mqtt Support #22

wants to merge 40 commits into from

Conversation

ihong4
Copy link
Contributor

@ihong4 ihong4 commented Oct 26, 2023

pub and sub mqtt client

pub and sub mqtt client
Copy link
Collaborator

@Peyton-McKee Peyton-McKee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while this may work for connecting to mqtt. you still need the can decoding process which you have deleted. I recommend creating two new files, one called NERO socket and the other one called MQTT Socket, put all the mqtt code int he mqtt socket file and all the nero code in the nero socket file. Then parse the command line arguments and call the top function for each depending on what the command line args are.

src/main.rs Outdated Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
@Peyton-McKee Peyton-McKee changed the title Add files via upload Mqtt Support Nov 29, 2023
@Peyton-McKee Peyton-McKee self-assigned this Nov 29, 2023
This was linked to issues Jan 10, 2024
oxy/structs/Format.py Show resolved Hide resolved
Copy link
Contributor

@nwdepatie nwdepatie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some comments to be addressed, mostly nitpicks but some general questions

Cargo.lock Show resolved Hide resolved
oxy/yaml/bms.yaml Show resolved Hide resolved
oxy/yaml/bms.yaml Show resolved Hide resolved
oxy/yaml/mpu.yaml Show resolved Hide resolved
oxy/yaml/mpu.yaml Show resolved Hide resolved
src/data.rs Show resolved Hide resolved
src/data.rs Show resolved Hide resolved
src/data.rs Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
@Peyton-McKee
Copy link
Collaborator

Will be Continued in #30

Peyton-McKee added a commit that referenced this pull request Jan 16, 2024
* Add files via upload

pub and sub mqtt client

* #22 Refactoring of IPC and Mqtt

* #22 Privatize Functions

* #22 More Documentation

* #22 Even more documentation

* #22 And the debugging begins

* #22 Debug Update

* #22 Added Debug Statement

* #22 Remove Thread

* #22 Unwrap or Debug

* #22 Edit Error Message

* #22 Use Stream Instead of Channel

* #22 Format Without New Lines

* #22 Remove Debug Statements

* #22 Date.now

* #22 Mqtt Debug Statement

* #22 Change publishing topic

* #22 Change Topic

* #22 Add /

* #22 Add 50ms throttle after publish

* #22 10ms buffer

* #22 1ms throttle

* #22 Remove Throttle

* #22 Add 1ms throttle back

* #22 Lots of General Code Cleanliness And Refactoring

* #22 Remove Unused Dependencies

* #22 Add Chrono Back

* #22 Slight Cleanup

* #20 finalize necessary can messages

* Filled out Relevant CAN Fields

* #20 Write Decode Data to File

* #20 Compile

* #20 Cleanup Some Linting errors

* #20 Disable Clippy

* #20 Actually dont allow clippy

* #20 Clippy

* #20 Delete Unused Files

* #20 Seperate Yaml Files

* #20 Add Documentation, remove unused dependencies

* #20 Adjust can message topic name

* Add can_interface specifier and can configure skip (#27)

* add can_interface specifier and can configure skip

* Update readme with can interface

* use clippy suggestions

* update minimum argument number checking

* make can0 optional

---------

Co-authored-by: ihong4 <[email protected]>
Co-authored-by: Jack Rubacha <[email protected]>
@jr1221 jr1221 deleted the ihong4-patch-1 branch May 27, 2024 03:16
jr1221 added a commit that referenced this pull request Jun 17, 2024
* Add files via upload

pub and sub mqtt client

* #22 Refactoring of IPC and Mqtt

* #22 Privatize Functions

* #22 More Documentation

* #22 Even more documentation

* #22 And the debugging begins

* #22 Debug Update

* #22 Added Debug Statement

* #22 Remove Thread

* #22 Unwrap or Debug

* #22 Edit Error Message

* #22 Use Stream Instead of Channel

* #22 Format Without New Lines

* #22 Remove Debug Statements

* #22 Date.now

* #22 Mqtt Debug Statement

* #22 Change publishing topic

* #22 Change Topic

* #22 Add /

* #22 Add 50ms throttle after publish

* #22 10ms buffer

* #22 1ms throttle

* #22 Remove Throttle

* #22 Add 1ms throttle back

* #22 Lots of General Code Cleanliness And Refactoring

* #22 Remove Unused Dependencies

* #22 Add Chrono Back

* #22 Slight Cleanup

* #20 finalize necessary can messages

* Filled out Relevant CAN Fields

* #20 Write Decode Data to File

* #20 Compile

* #20 Cleanup Some Linting errors

* #20 Disable Clippy

* #20 Actually dont allow clippy

* #20 Clippy

* #20 Delete Unused Files

* #20 Seperate Yaml Files

* #20 Add Documentation, remove unused dependencies

* #20 Adjust can message topic name

* Add can_interface specifier and can configure skip (#27)

* add can_interface specifier and can configure skip

* Update readme with can interface

* use clippy suggestions

* update minimum argument number checking

* make can0 optional

---------

Co-authored-by: ihong4 <[email protected]>
Co-authored-by: Jack Rubacha <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate Calypso with Siren
5 participants