Commit graph

14 commits

Author SHA1 Message Date
GaleWombat
ddcec924cd Adding missing property annotation and updating method name 2021-01-27 18:28:26 +01:00
Giacomo Tanganelli
9c0469abcb
Merge branch 'master' into add-option-size2 2021-01-17 12:07:55 +01:00
Giacomo Tanganelli
92c0258241
Merge branch 'master' into fix-token 2021-01-17 12:01:13 +01:00
Hubert Miś
13039faf71 Add Size2 option handling according to RFC7959
Signed-off-by: Hubert Miś <hubert.mis@gmail.com>
2020-12-22 13:17:39 +01:00
Hubert Miś
297404ce33 Fix token handling
Token was encoded as utf-8 string. However, token is a byte string
that is not required to be utf-8 encodable. This patch changes
token type in the Message class to string of bytes instead of string
of characters.

Signed-off-by: Hubert Miś <hubert.mis@gmail.com>
2020-12-22 13:12:41 +01:00
Björn Freise
25d5f202db added if_none_match setter 2020-10-01 10:46:15 +02:00
Björn Freise
b13f8a5496 [B] send_ack in transaction lock and only if type nad message id are valid 2019-11-11 12:37:41 +01:00
Björn Freise
2eafa64308 Token stored as bytes and not limited to ascii chars anymore 2019-04-23 11:43:02 +02:00
Björn Freise
36fb9f243a Respect binary coded payload data 2019-04-23 11:42:01 +02:00
Björn Freise
3c7b11c149 Clean up logger-calls - more semetrical through out the code 2019-04-23 11:41:14 +02:00
Björn Freise
28b465f54e Added Size1 and Size2 options 2019-04-23 11:38:45 +02:00
Björn Freise
5da871355a Clean up printf((...) and some imports 2019-04-23 11:37:18 +02:00
Michiel De Witte
1c18883b59 Basic client-side implementation of RFC7967: CoAP No-Response Option 2018-02-19 14:06:35 +01:00
giacomo.tanganelli@for.unipi.it
4db21cd7e7 Porting to Python3 2018-01-23 11:31:46 +01:00