Skip to content

Claim addresses without callbacks and move kernel objects out of the CAN classes - #86

Open
amitchone wants to merge 6 commits into
userspace-3-can-sender-threadfrom
userspace-4-address-claim-kernel-objects
Open

amitchone wants to merge 6 commits into
userspace-3-can-sender-threadfrom
userspace-4-address-claim-kernel-objects

Conversation

@amitchone

Copy link
Copy Markdown
Collaborator

No description provided.

@amitchone
amitchone changed the base branch from main to userspace-3-can-sender-thread December 2, 2026 16:54

@garethpotter garethpotter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Very minor docstring stuff.

std::array<char, sizeof(ResponseMessage)> _responseQueueBuffer;

/* declared before the context, so that it outlives it: responses stop arriving
* when the context goes */

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

...goes where?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Reworded

AddressClaimWorkItem _addressClaimWork;
k_event _events;
k_mutex _bindLock;
/// @brief Set when another node is heard claiming the address that this one is after.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Heard? Is this for RFC 1149 support?


private:
static void runListener(void *param1, void *, void *)
/// @brief Waits for the next frame. For the listener's thread.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"To be called by the listener thread."

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Reworded

@amitchone
amitchone force-pushed the userspace-4-address-claim-kernel-objects branch from 6a67602 to 73b5e0f Compare December 3, 2026 10:05
@amitchone
amitchone force-pushed the userspace-4-address-claim-kernel-objects branch 2 times, most recently from 158501d to ad72dd8 Compare December 3, 2026 11:47
@amitchone
amitchone force-pushed the userspace-4-address-claim-kernel-objects branch from ad72dd8 to b81bf9b Compare December 3, 2026 12:04
@amitchone
amitchone added this pull request to stack #93 December 3, 2026 12:39
@amitchone
amitchone force-pushed the userspace-4-address-claim-kernel-objects branch from 019d6b5 to d2bd287 Compare December 3, 2026 17:33
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.

3 participants