This version can change Serial by user.#14
Open
debenzhang wants to merge 4 commits intostephane:masterfrom
Open
This version can change Serial by user.#14debenzhang wants to merge 4 commits intostephane:masterfrom
debenzhang wants to merge 4 commits intostephane:masterfrom
Conversation
Don't .begin() if baudrate is negative
stephane
approved these changes
Nov 24, 2020
stephane
requested changes
Nov 24, 2020
Owner
stephane
left a comment
There was a problem hiding this comment.
You shouldn't remove the information about contributions.
stephane
reviewed
Nov 24, 2020
|
|
||
| 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, |
Owner
There was a problem hiding this comment.
This change about return of reply should be in another PR
stephane
requested changes
Nov 24, 2020
| 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; |
Owner
There was a problem hiding this comment.
I don't find the backnum term explicit.
| -2 for MODBUS_EXCEPTION_ILLEGAL_FUNCTION | ||
| etc */ | ||
| return rc; | ||
| // if(rc > 0) { |
| public: | ||
| ModbusinoSlave(uint8_t slave); | ||
| void setup(long baud); | ||
| ModbusinoSlave(); |
| - 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. |
Owner
There was a problem hiding this comment.
Removing of information about contributing!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This version can change Serial by user. And update the examples.