Sebastian Meiling
9d83b60f3b
Merge pull request #9083 from smlng/pr/gcoap/cleanup
...
gcoap: enhance gcoap_req_init
2018-05-23 10:40:54 +01:00
Cenk Gündoğan
441f11ea45
gnrc_rpl: shell: adapt to evtimer for RPL events
2018-05-23 09:42:12 +02:00
Cenk Gündoğan
b819ac8d35
gnrc_rpl: adapt to evtimer for RPL events
2018-05-23 09:42:12 +02:00
Cenk Gündoğan
4c9e947d43
gnrc_rpl: adjust author and copyright
2018-05-22 23:46:55 +02:00
smlng
b9ca8f466f
gcoap: add asserts for path in gcoap_req_init
2018-05-22 21:28:58 +02:00
smlng
c9e9f72454
gcoap: use const path parameter
2018-05-22 21:28:58 +02:00
Bas Stottelaar
7781da7799
sys: netopt: add busy option
2018-05-21 16:37:38 +02:00
Bas Stottelaar
02395e593d
sys: netopt: add checksum option
2018-05-21 16:37:38 +02:00
aa84c3e6b8
trickle: remove msg_time member from struct
...
The msg_time member is only locally used and set before read. It can
be removed as the state kept by the member is not used.
2018-05-17 10:40:12 +02:00
Marian Buschsieweke
4b8881abb4
gnrc/netif/hdr.h: Optimized structure layout
...
Reordered struct members to not waste memory due to padding.
Before:
``` C
typedef struct {
uint8_t src_l2addr_len;
uint8_t dst_l2addr_len;
kernel_pid_t if_pid; // <-- 16 bit, is aligned to 16 bit
uint8_t flags;
uint8_t __padding_byte; // <-- Inserted to fulfill padding requirements
int16_t rssi; // <-- 16 bit, is NOT aligned to 16 bit
uint8_t lqi;
uint8_t __padding_byte2;// <-- Inserted to fulfill padding requirements
} gnrc_netif_hdr_t;
```
Now:
``` C
typedef struct {
uint8_t src_l2addr_len;
uint8_t dst_l2addr_len;
kernel_pid_t if_pid; // <-- 16 bit, is aligned to 16 bit
uint8_t flags;
uint8_t lqi;
int16_t rssi; // <-- 16 bit, is aligned to 16 bit
} gnrc_netif_hdr_t;
```
When build for the `bluepill` board, the new layout reduces the size by 2 bytes.
2018-05-14 14:01:29 +02:00
Martine Lenders
8a46cf611e
gcoap: make message queue size configurable
2018-05-06 16:41:43 +02:00
b81b12de4e
cbor: Move header to cbor subdirectory
...
Prevents conflicts when multiple modules/packages provide a `cbor.h`
header.
2018-05-01 11:12:39 +02:00
Joakim Nohlgård
9c85ce1916
Merge pull request #8733 from gebart/pr/matstat
...
matstat: Integer mathematical statistics library
2018-04-28 09:37:02 +02:00
Joakim Nohlgård
6927260973
sys/matstat: Integer mathematical statistics library
2018-04-28 08:03:35 +02:00
51f06d5127
nanocoap: Add request entity incomplete code
2018-04-26 10:50:08 +02:00
Martine Lenders
dc41f49229
cbor: add deprecation note
2018-04-25 16:46:17 +02:00
e1f6a5afd3
net/gcoap: increase stack size by sizeof(coap_pkt_t)
2018-04-22 23:15:16 +02:00
734944a56b
Merge pull request #8986 from haukepetersen/opt_event_allowmultipleposts
...
sys/event: allow calling event_post multiple times
2018-04-20 10:59:14 +02:00
Hauke Petersen
46888a1eaf
sys/event: allow calling event_post multiple times
2018-04-19 16:41:13 +02:00
Hauke Petersen
cf7fb4b886
net/rdcli: fix doxygen groups for RD client code
2018-04-19 16:27:59 +02:00
Joakim Nohlgård
57f6081960
sys/analog_util: Refactor adc_map, fix compilation
...
Change the API to use int32_t instead of int, to allow for greater
flexibility on 8- and 16-bit platforms. Removed limitation on input
arguments that min < max. Times where it can be useful to have min > max
is when measuring a sensor where a higher measured voltage means a lower
physical value. For example a thermistor can be connected so that the
measured voltage goes down when the temperature goes up.
2018-04-16 13:53:49 +02:00
Joakim Nohlgård
11b668fd6d
sys/analog_util: Add missing include stdint.h
2018-04-16 13:05:20 +02:00
635e72db23
Merge pull request #8788 from kaspar030/nanocoap_add_serverside_block1
...
nanocoap: add serverside block1 support
2018-04-16 12:49:06 +02:00
4897222e7e
nanocoap: add server-side block1 support
2018-04-16 12:31:56 +02:00
6b01f4d388
Merge pull request #7263 from haukepetersen/opt_fmt_s16dfp_pos
...
sys/fmt: extended fmt_s16_dfp to handle scales
2018-04-13 09:54:08 +02:00
6ee4aceef1
Merge pull request #8936 from haukepetersen/opt_rdclisimple_addrconf
...
net/rdcli_simple: specify RD address as string
2018-04-12 15:33:33 +02:00
Martine Lenders
7974b12c11
Merge pull request #8797 from zhuoshuguo/gomach_add_dutycycle_display_command
...
gnrc_gomach: add duty-cycle display shell command.
2018-04-12 14:25:02 +02:00
Hauke Petersen
bd25cf5902
net/rdcli_simple: parse RD address from string
...
this makes the configuration of the RD server much simpler, as it
does not require the user to 'binary-code' the RD server's address
anymore.
2018-04-12 14:00:32 +02:00
Hauke Petersen
faab006631
net/rdcli_simple: improved doc and error handling
2018-04-12 13:48:09 +02:00
d64d38b391
Merge pull request #8909 from miri64/doc/enh/ipv6-rfc
...
doc: update IPv6 RFC references
2018-04-12 12:11:23 +02:00
shuguo
4e7ff0df28
gnrc_gomach: enabling duty-cycle printing
2018-04-12 11:46:40 +02:00
shuguo
ed4a80db00
gnrc_mac: add MAC duty-cycle record macro
2018-04-12 11:44:30 +02:00
d2db1ba2c3
Merge pull request #8568 from miri64/gnrc_ipv6_nib/fix/abro-ignore-only-on-6lr
...
gnrc_ipv6_nib: only discard RAs without ABROs on 6LR
2018-04-11 22:32:33 +02:00
Hauke Petersen
637fbff456
net/nanocoap: fix indention of doxy comments
2018-04-11 14:06:42 +02:00
012c016b74
Merge pull request #8772 from kaspar030/rework_nanocoap_option_handling
...
net/nanocoap: rework option handling
2018-04-10 21:11:18 +02:00
dee793d29f
nanocoap: rework option handling
2018-04-10 20:58:06 +02:00
Martine Lenders
23bdc80e22
doc: update IPv6 RFC references
...
RFC 2460 was obsoleted by RFC 8200. This PR changes the references
around, so we don't reference an obsoleted RFC ;-).
Also I'm moving these references from the old-style HTML-like format
to the newer-style Markdown-like format.
2018-04-10 15:40:18 +02:00
Gaëtan Harter
747b11d90e
Merge pull request #7651 from tobhe/memarray
...
Generic memory block allocator
2018-04-10 15:22:40 +02:00
tobhe
509f40a81c
memarray: add fixed-size memory block allocator
2018-04-10 14:37:29 +02:00
Hauke Petersen
adf807d79c
net/rdcli_common: improve doc for SUFFIX_LEN option
2018-04-10 11:36:28 +02:00
Martine Lenders
3fea1eaa30
Merge pull request #8888 from miri64/doc/fix/sys_util
...
doc: remove sys_util references
2018-04-09 16:52:23 +02:00
fb2beb43c8
Merge pull request #8875 from Josar/pr/xtimer64
...
sys/include/xtimer: Added xtimer_set64()
2018-04-09 16:19:44 +02:00
b117638fd0
Merge pull request #8886 from gebart/pr/xtimer-shift-6
...
xtimer: Add XTIMER_SHIFT = 6 automatic option
2018-04-09 16:12:26 +02:00
Hauke Petersen
108284670c
net: added RD client for simplified registration
2018-04-09 10:37:10 +02:00
Hauke Petersen
f12d85d032
net/rdcli: added common rdcli module
2018-04-09 10:37:10 +02:00
Hauke Petersen
78df885fc7
sys/fmt: use also positive scaling for s32_dfp
2018-04-06 11:58:43 +02:00
Martine Lenders
787fa37465
netopt: move NETOPT_BLE_CTX to new netopt doc style
...
Documentation of the option types was clarified in #8655 . I only noticed
after merging #8884 , that `NETOPT_BLE_CTX` was not documented using
that new style. So I deliver the change myself to make it quicker.
2018-04-06 11:32:41 +02:00
Hauke Petersen
49bd85d00a
sys/net: added Skald
...
Skald is a very small and simple, TX-only BLE stack that supports
sending advertisements only. It is useful for building all kinds
of BLE beacons with very minimal memory footprints.
2018-04-06 11:18:53 +02:00
Hauke Petersen
77499905e4
sys/net: added generic Eddystone defines
2018-04-06 11:18:53 +02:00
Hauke Petersen
3b6c8f25de
sys/net: added generic BLE defines
2018-04-06 11:18:53 +02:00