mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-22 23:35:13 +03:00
4f6a7f5dbf446a789b0f93378db6c920e316939d
Usually, the block number can grow to 20 bits which is not guaranteed to fit in a single unsigned int. To avoid compilers (especially msp430-gcc) complaining about the width of the used bit field, the type for num has been changed to unsigned int hence restricting the number of acceptable blocks to 65536 on those platforms. (No bounds check is done yet.) m and szx now share a uint8_t.
libcoap: A C implementation of IETF Core Application protocol Copyright (C) 2010--2013 by Olaf Bergmann <bergmann@tzi.org> ABOUT LIBCOAP libcoap is a C implementation of a lightweight application-protocol for devices that are constrained their resources such as computing power, RF range, memory, bandwith, or network packet sizes. This protocol, CoAP, is developed in the IETF working group "Constrained RESTful Environments (core)", see <http://6lowapp.net>. PACKAGE CONTENTS This directory contains a protocol parser and basic networking functions for platform with support for malloc() and BSD-style sockets. The examples directory contains a client and a server to demonstrate the use of this library. LICENSE INFORMATION This library is published as open-source software without any warranty of any kind. Use is permitted under the terms of the GNU General Public License (GPL), Version 2 or higher, OR the revised BSD license. Please refer to LICENSE.GPL oder LICENSE.BSD for further details.
Description
No description provided
16 MiB
0 Stars
2 Watchers
0 Forks
Languages
C
93.7%
M4
2.9%
CMake
1.8%
Shell
0.7%
Makefile
0.5%
Other
0.4%