Skip to content
Discussion options

You must be logged in to vote

You need to append a new field to that struct, so it will look something like this.

	struct __packed t300rs_packet_constant {
		<same as before>
		uint16_t maybe_iter_cnt;
	} *packet_constant = (struct t300rs_packet_constant *)t300rs->send_buffer;

I don't have a capture at hand at the moment, and never really figured out what the extra bytes are doing, but some suggestions for possible values are 0x1, 0xffff, 0xfffe 0x7fff, 0x7ffe, 0xff7f, 0xfe7f, 0x0100, 0x0101, 0x7f7f, 0x7e7e, 0x0. And of course set ea instead of 6a in the header.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@MmAaXx500
Comment options

Comment options

You must be logged in to vote
1 reply
@MmAaXx500
Comment options

Answer selected by sonik-br
Comment options

You must be logged in to vote
2 replies
@MmAaXx500
Comment options

@sonik-br
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants