Merge pull request #340 from mrdeep1/cancel_rst_observe

Fix RST deleting observer for non-confirmable observe
This commit is contained in:
obgm authored and GitHub committed 2019-06-26 14:39:25 +02:00
commit 5f5ab48e34
3 files changed
+16 -1

No files matched your search

+1
View File
@@ -63,6 +63,7 @@ typedef struct coap_subscription_t {
* sent (in that case, the resource's partially
* dirty flag is set too) */
unsigned int has_block2:1; /**< GET request had Block2 definition */
uint16_t tid; /**< transaction id, if any, in regular host byte order */
coap_block_t block2; /**< GET request Block2 definition */
size_t token_length; /**< actual length of token */
unsigned char token[8]; /**< token used for subscription */