Closed srcamarda closed 4 years ago
Can you post the functions that you have write? Thanks
I don't understand what you are asking. Thanks, Kris Kasprzakkris.kasprzak@yahoo.com
On Saturday, February 29, 2020, 11:02:59 AM CST, AB-informatica-service <notifications@github.com> wrote:
Can you post the functions that you have write? Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
There's my modified files EBYTE.zip
If I remember well (not really sure), I simply added this on EBYTE.cpp:
void EBYTE::SetTrans(uint8_t val) { _OptionTrans = val; BuildOptionByte(); }
void EBYTE::SetPullup(uint8_t val) { _OptionPullup = val; BuildOptionByte(); }
void EBYTE::SetFEC(uint8_t val) { _OptionFEC = val; BuildOptionByte(); }
And this to EBYTE.h (in class EBYTE):
void SetTrans(uint8_t val); void SetPullup(uint8_t val); void SetFEC(uint8_t val);
The variables and significant info were already there, there just wasn't a way to modify them.
these functions and more added
The functions to set the three parameters below are missing:
_OptionTrans _OptionPullup _OptionFEC
I added the functions in EBYTE.cpp / EBYTE.h and it worked perfectly for my use, but maybe you should add it to your code.