This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Michael Zanetti 62644650c0 Some fixes in Coap
* Fixed an indexOutOfRange warning when creating coap requests
  because the first addOption() call was calling
  m_options.insert(1) on an empty list.

* Old code was appending multiple UDP datagrams to a single big Coap
  message, however, Coap is specified to only send s single datagram
  per message. The datagram length specifies the payload size.

* some boolean member variables weren't initialized which resulted in
  occational wrong flags.

* Parsing had issues with determining the option length in some occations
  and also would crash when receiving coap messages without any options
  or payload. To get rid of the complex and erraneous index calculations,
  the entire package parsing is now using a DataStream.

(This makes it work with Shelly devices)
2022-06-30 10:15:31 +02:00
..
2022-06-30 10:15:31 +02:00
2020-01-23 20:07:26 +01:00
2019-04-08 13:55:15 +02:00
2020-01-23 20:07:26 +01:00
2020-01-23 20:07:26 +01:00
2022-06-30 10:15:31 +02:00
2022-06-30 10:15:31 +02:00
2020-01-23 20:07:26 +01:00
2020-01-23 20:07:26 +01:00
2020-01-23 20:07:26 +01:00
2022-06-30 10:15:31 +02:00
2020-01-23 20:07:26 +01:00
2020-01-23 20:07:26 +01:00
2020-01-23 20:07:26 +01:00
2020-01-23 20:07:26 +01:00
2020-01-23 20:07:26 +01:00
2020-01-23 20:07:26 +01:00