Skip to content

Add missing fields to WSAsyncInd#1

Closed
fariadif wants to merge 3 commits intomasterfrom
fix-wsasyncreq-length
Closed

Add missing fields to WSAsyncInd#1
fariadif wants to merge 3 commits intomasterfrom
fix-wsasyncreq-length

Conversation

@fariadif
Copy link
Copy Markdown

@fariadif fariadif commented Oct 24, 2025

In this PR:

@fariadif fariadif marked this pull request as draft October 24, 2025 19:45
.map_err(|_| Error::NotEnoughBytes)?;

let mut ie_payload = vec![0x00; data_length as usize];
let mut ie_payload = vec![0x00; ie_length as usize];
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The IE payload should have the IE length, not data length

MTFrame {
header: MTHeader {
length: 0x26,
length: 0x1e,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Comment on lines +308 to +313
pub struct IeItem {
pub type_long: bool,
pub id: u8,
pub content_len: u16,
pub content: Vec<u8>,
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Used to parse the IE payload in WS Async frames

Copy link
Copy Markdown
Author

@fariadif fariadif Oct 28, 2025

Choose a reason for hiding this comment

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

Where have you found the info describing these fields?
I couldn't find it in the stack-cop-interface guide.

Copy link
Copy Markdown

@guilherme-akira guilherme-akira Oct 28, 2025

Choose a reason for hiding this comment

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

I got it from the SDK code:
image

@guilherme-akira guilherme-akira marked this pull request as ready for review October 27, 2025 21:23
@fariadif
Copy link
Copy Markdown
Author

ti-15.4-stack-cop-interface-guide (1).pdf
@ComplexFrequency

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.

2 participants