Commit graph

16 commits

Author SHA1 Message Date
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
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
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
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
3c7b11c149 Clean up logger-calls - more semetrical through out the code 2019-04-23 11:41:14 +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
5da871355a Clean up printf((...) and some imports 2019-04-23 11:37:18 +02:00
Björn Freise
bbb8c06292 Fixed IPv6 and Multicast unittests 2019-04-23 11:33:40 +02:00
Hannes Hansen
5e5bd043c6 added possibility to define own ./well-known-core endpoint 2018-12-22 14:09:02 +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
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@for.unipi.it
4db21cd7e7 Porting to Python3 2018-01-23 11:31:46 +01:00