Skip to content

Conversation

@debenzhang
Copy link

This version can change Serial by user. And update the examples.

Copy link
Owner

@stephane stephane left a comment

Choose a reason for hiding this comment

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

You shouldn't remove the information about contributions.


static void reply(uint16_t *tab_reg, uint16_t nb_reg, uint8_t *req,
uint8_t req_length, uint8_t _slave)
static uint32_t reply(uint16_t *tab_reg, uint16_t nb_reg, uint8_t *req,
Copy link
Owner

Choose a reason for hiding this comment

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

This change about return of reply should be in another PR

static uint32_t reply(uint16_t *tab_reg, uint16_t nb_reg, uint8_t *req,
uint8_t req_length, uint8_t _slave, Stream* _port)
{
uint32_t backnum = 0;
Copy link
Owner

Choose a reason for hiding this comment

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

I don't find the backnum term explicit.

-2 for MODBUS_EXCEPTION_ILLEGAL_FUNCTION
etc */
return rc;
// if(rc > 0) {
Copy link
Owner

Choose a reason for hiding this comment

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

To remove.

public:
ModbusinoSlave(uint8_t slave);
void setup(long baud);
ModbusinoSlave();
Copy link
Owner

Choose a reason for hiding this comment

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

Why you change the API here?

- addr: index of the start address
Else, t always is 0*/

1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
Copy link
Owner

Choose a reason for hiding this comment

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

Removing of information about contributing!

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