Commit graph

65 commits

Author SHA1 Message Date
Giacomo Tanganelli
5cc2951f46
Merge pull request #41 from GaleWombat/master
Minor bugs fixing
2021-03-20 17:24:07 +01:00
GaleWombat
ddcec924cd Adding missing property annotation and updating method name 2021-01-27 18:28:26 +01:00
Giacomo Tanganelli
f6a3c25cde
Merge pull request #37 from hubertmis/add-option-size2
Add Size2 option handling according to RFC7959
2021-01-17 12:08:03 +01:00
Giacomo Tanganelli
9c0469abcb
Merge branch 'master' into add-option-size2 2021-01-17 12:07:55 +01:00
Giacomo Tanganelli
8e0704e706
Merge pull request #36 from hubertmis/fix-token
Fix token handling
2021-01-17 12:01:30 +01:00
Giacomo Tanganelli
92c0258241
Merge branch 'master' into fix-token 2021-01-17 12:01:13 +01:00
Giacomo Tanganelli
7816d86972
Merge pull request #10 from michieldwitte/master
Added purging transactions as client, don't add transaction when no_response is True
2021-01-17 11:59:24 +01:00
Giacomo Tanganelli
7987ac9f4b
Merge pull request #14 from hahahannes/own_well_known_endpoint
added possibility to define own .well-known-core endpoint
2021-01-17 11:56:34 +01:00
Giacomo Tanganelli
a07ab65dd2
Merge pull request #38 from hubertmis/fix-block2-payload
Fix payload transmitted in Block2 transfer
2021-01-17 11:54:41 +01:00
Giacomo Tanganelli
57d5faca79
Merge pull request #33 from urbas/remove-bak-files
remove .bak files
2021-01-17 11:51:04 +01:00
Giacomo Tanganelli
786f1ccc0b
Merge pull request #23 from fabaff/patch-1
Add missing shebang
2021-01-17 11:50:46 +01:00
Giacomo Tanganelli
ffefec7d16
Merge pull request #20 from mcfreis/development
Respect binary payload, binary token and a few other things
2021-01-17 11:50:32 +01:00
Björn Freise
cc9ed3784d Version 1.0.1+fb.202101140856 2021-01-14 08:59:32 +01:00
Hubert Miś
3dc7e5c8d6 Fix payload transmitted in Block2 transfer.
Previosly the CoAP server transmitted the first block of data for Block2
transfer, even when a client requested in Block2 request following
block. This patch changes server operation to transmit the payload
block requested by the client.

Signed-off-by: Hubert Miś <hubert.mis@gmail.com>
2020-12-22 13:21:19 +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
Matej Urbas
e03a0ba7ff remove .bak files
These files must have been added accidentally.
2020-11-22 11:27:27 +00:00
Björn Freise
25d5f202db added if_none_match setter 2020-10-01 10:46:15 +02:00
Giacomo Tanganelli
89d51737a9
Merge pull request #30 from bobzomer/master
Increase reception buffer size
2020-05-21 14:59:54 +02:00
Bruno Obsomer
c63634ec76 Increase reception buffer size 2020-05-21 08:06:14 +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
Fabian Affolter
f645e4e03d
Add missing shebang 2019-08-19 10:45:12 +02:00
Björn Freise
5bebe167a9 Cleanup
- removed obsolete imports
- Location-Path and Location-Query only in answers with "Created" Status
- Fixed / for root-resource as RemoteResource for reverse-proxy
- Fixed parsing of long options in serializer.py
- Commented out unit tests reactivated
- Removed default logging
2019-04-23 11:44:04 +02: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
b77fc78dde Speed up unittests, only wait 1 second instead of 10 seconds in listen() 2019-04-23 11:40:33 +02:00
Björn Freise
144c793c43 Added type documentation for better referencing in IDEs 2019-04-23 11:39:37 +02:00
Björn Freise
28b465f54e Added Size1 and Size2 options 2019-04-23 11:38:45 +02:00
Björn Freise
f0349d15c6 Use more current versions for requirements.txt 2019-04-23 11:37:59 +02:00
Björn Freise
5da871355a Clean up printf((...) and some imports 2019-04-23 11:37:18 +02:00
Björn Freise
db4c8ec5ed Ignore PyCharm settings directory .idea 2019-04-23 11:35:29 +02:00
Björn Freise
bbb8c06292 Fixed IPv6 and Multicast unittests 2019-04-23 11:33:40 +02:00
Michiel De Witte
4e1c7d2bba catch UnicodeDecodeError 2019-02-20 09:53:58 +01:00
mcfreis
8ec093f7e0 Merge remote-tracking branch 'refs/remotes/upstream/master' 2019-01-15 13:08:29 +01:00
Hannes Hansen
5e5bd043c6 added possibility to define own ./well-known-core endpoint 2018-12-22 14:09:02 +01:00
Michiel De Witte
6b91e581f6 fix failing test helperclient response type NON 2018-12-12 14:48:49 +01:00
Giacomo Tanganelli
985763bfe2
Merge pull request #12 from hahahannes/nested_endpoints
fixed problem with nested endpoints
2018-12-12 13:55:55 +01:00
Michiel De Witte
4aaa785e84 Changed send_request in helperclient to check response on message id 2018-12-12 12:03:44 +01:00
Hannes Hansen
95fd89d7a2 fixed problem with nested endpoints 2018-12-02 13:22:40 +01:00
Michiel De Witte
697c781833 Added purging transactions as client, don't add transaction when no_response is True 2018-11-21 18:09:05 +01:00
giacomo
17673ebced logging 2018-09-20 18:12:11 +02:00
Giacomo Tanganelli
ce5dbc7018
Merge pull request #8 from hahahannes/master
combined multicast and unicast sockets to one socket
2018-09-20 18:07:15 +02:00
giacomo.tanganelli@for.unipi.it
de4d34cf49 server logging 2018-05-11 16:15:13 +02:00
giacomo.tanganelli@for.unipi.it
487ddf50e1 Merge remote-tracking branch 'origin/master' 2018-05-11 16:00:00 +02:00
giacomo.tanganelli@for.unipi.it
c88afef47b get_non implemented for clients 2018-05-11 15:59:48 +02:00
Hannes
ce3f4ba843 combined multicast and unicast sockets to one socket 2018-05-09 19:13:39 +02:00
Giacomo Tanganelli
7ce1affe5a
Merge pull request #5 from matth314/patch-1
Update Blocklayer to better deal with Block1 option
2018-04-24 13:15:13 +02:00
Matthieu BRIEDA
264167e3d1
Update Blocklayer to deal with Block1 option
On the last block answer, the Client still sent another empty message, it didn't take into account the fact that the previous block was sent with m=0. This commit fixed that for me.
2018-03-14 17:24:57 +01:00
Giacomo Tanganelli
6b74876f66
Merge pull request #4 from michieldwitte/master
removed forced logging, set receiver thread as daemon, Let the outbound payload be binary
2018-03-05 17:06:39 +01:00