11 Commits

Author SHA1 Message Date
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
Michael Zanetti
166b16689f Don't use deprecated QString::sprintf and qVariantFromValue 2020-10-26 15:59:38 +01:00
Michael Zanetti
8f5536ba1a Update copyright 2020-01-23 20:07:26 +01:00
Michael Zanetti
a385188d37 More work on the device browser 2019-07-25 15:56:18 +02:00
Michael Zanetti
3944e94699 Initial work on an integrated system update mechanism 2019-05-02 12:14:16 +02:00
Simon Stürz
e82efc7021 Add basic structure of first plugin tutorial and continue with docs 2019-04-08 13:55:15 +02:00
Michael Zanetti
67a535619f fix typos as reported by Krazy2 2019-04-08 13:55:15 +02:00
Simon Stürz
cc6ab96b57 Finish api documentation 2019-04-08 13:55:15 +02:00
Simon Stürz
1f58300352 Add API documentation 2019-04-08 13:55:15 +02:00
Michael Zanetti
803ee32089 libguh.h -> libnymea.h 2019-04-08 13:55:15 +02:00
Michael Zanetti
eb316a7a0c libguh -> libnymea 2019-04-08 13:55:15 +02:00