New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Bootstrap-Read and Bootstrap-Discover #549
Support Bootstrap-Read and Bootstrap-Discover #549
Conversation
Starting to review (and read up on spec....). Expect to be done later today |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise I have no objections but I struggle a bit with the bigger picture (how this is used/triggered). I believe this code is already tested and "in production". (Right?) I'll approve so it can be merged but will continue to read up and do hands on tests
* or internals.h LWM2M_MAX_PACKET_SIZE! | ||
*/ | ||
#define MAX_PACKET_SIZE 198 | ||
#define MAX_PACKET_SIZE 1024 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MAX_PACKET_SIZE in client/server is 2048. Better to be consistant?
210305_PR549_test1.pcapng.zip Found blocktransfer related issue while testing Bootstrap-Discover
launched example bootstrap server, server and client
With also it would be helpful for the end user with some updated comments in the .ini file about the new command(s) |
About 210305_PR549_test2.pcapng.zip this looks like #536, as Wakaama answers to a response with a response (See MID 55386). I see that Bootstrap server try several time to send the discover request ? does it go in an infinite loop or the retry we see are just retransmission ? |
I'm not using these features in production. This was to make Wakaama more feature complete. I'll update MAX_PACKET_SIZE and add some comments to the .ini file. |
The retries look like CoAP retries and are limited to 5 total. I'll squash the changes once everything is good. |
Signed-off-by: Scott Bertin <sbertin@telular.com>
1f276fd
to
22a5eb4
Compare
Squashed |
@qleisan, @tuve about #549 (comment) we need maybe a dedicated issue to track this ? |
created #551 |
Signed-off-by: Scott Bertin sbertin@telular.com