Martine Lenders
37d214ba1a
pktbuf: add helper function to remove snips from packet
2015-04-14 02:06:03 +02:00
Martine Lenders
d47cd80945
Merge pull request #2779 from kaspar030/fix_ipv6_addr_string_max_length
...
sys: net: ipv6: fix max ipv6 address string length
2015-04-11 19:26:01 +02:00
BytesGalore
580ae0a63d
Merge pull request #2786 from Lotterleben/fib_typos
...
FIB: fix documentation typos
2015-04-10 16:41:13 +02:00
Lotte Steenbrink
d2e6e7ba17
FIB: fix some typos
2015-04-10 03:15:20 -07:00
Martine Lenders
c94094529d
Merge pull request #2731 from authmillenon/ipv6_hdr/feat/initial
...
ipv6_hdr: Initial import
2015-04-10 07:35:41 +02:00
Martine Lenders
687947d3db
Merge pull request #2730 from authmillenon/inet_csum/feat/initial
...
inet_csum: initial import of Internet Checksum module
2015-04-10 07:24:58 +02:00
Lotte Steenbrink
e130b6929c
Merge pull request #2553 from authmillenon/net/feat/hdr-csum
...
ng_net: introduce checksum calculation
2015-04-10 02:01:10 +02:00
Martine Lenders
cdbd06d2d8
ipv6_netif: fix documentation
2015-04-10 01:29:35 +02:00
Martine Lenders
9c30851b45
ipv6_hdr: Initial import
2015-04-10 00:41:55 +02:00
cf53d966be
sys: net: ipv6: fix max ipv6 address string length
2015-04-09 21:28:04 +02:00
4d15482669
sys: net: ng_pktdump: make pktdump have higher-than-main priority
2015-04-09 18:14:11 +02:00
Martine Lenders
b8fea1a2c7
Merge pull request #2735 from authmillenon/ipv6_netif/feat/hl
...
ipv6_netif: expand interface
2015-04-08 12:18:26 +02:00
Martine Lenders
25b568e6d5
ipv6_netif: fix prefix for address flags
...
Since NDP will introduce interface specific flags this naming might get
confusing
2015-04-08 10:43:14 +02:00
Martine Lenders
05bcdd5398
ipv6_netif: add flags
2015-04-08 10:43:05 +02:00
Martine Lenders
d382feabbe
netif_hdr: add flags for broadcast and multicast
2015-04-03 16:05:10 +02:00
Lotte Steenbrink
40acfa732b
Merge pull request #2705 from authmillenon/netif/feat/addr-str
...
netif: add functions to parse and output hardware addresses
2015-04-02 01:04:33 +02:00
Martine Lenders
882bcbe92e
netif: add functions to parse and output hardware addresses
2015-04-01 16:24:19 +02:00
BytesGalore
30c76adc43
net: added a core implementation of a FIB
2015-04-01 10:24:35 +02:00
Martine Lenders
476dd297bd
Merge pull request #2719 from haukepetersen/ng_opt_pktdump
...
net/ng_pktdump: manage stack internal and use msg queue
2015-03-30 02:43:43 +02:00
Martine Lenders
6f7af8f0a2
ipv6_netif: move default MTU from ng_ipv6.h
2015-03-30 01:18:07 +02:00
Martine Lenders
c6eaeb4366
ipv6_netif: add current hop limit to interface
2015-03-30 01:18:06 +02:00
Martine Lenders
7273d5c9ad
Merge pull request #2723 from authmillenon/ipv6_netif/feat/prefix-list
...
ipv6_netif: add prefix list to interface
2015-03-30 00:31:37 +02:00
Martine Lenders
3b42fae668
Merge pull request #2602 from kushalsingh007/shell-return
...
Return-based error-handling for shell handlers
2015-03-29 18:29:58 +02:00
Martine Lenders
f192cda090
Merge pull request #2712 from authmillenon/nettype/fix/typo
...
nettype: fix typo
2015-03-29 15:12:23 +02:00
Martine Lenders
4571fe2f8d
netreg: add multiplexer for checksum calculation
2015-03-29 14:55:11 +02:00
Martine Lenders
fa689fe147
Merge pull request #2575 from authmillenon/ng_net/feat/hdr-build
...
ng_net: header building facilities
2015-03-29 14:28:49 +02:00
Martine Lenders
1ea70be0e8
netif: add convinience function for header building
2015-03-28 18:29:50 +01:00
Martine Lenders
69c593b80b
netreg: add multiplexer for header building
2015-03-28 18:28:04 +01:00
Martine Lenders
903a9d54ce
inet_csum: initial import of Internet Checksum module
2015-03-28 14:02:59 +01:00
Hauke Petersen
4ccc3634b3
net/ng_pktdump: manage stack internally
2015-03-28 13:47:03 +01:00
Hauke Petersen
96efe23027
net/ng_pktdump: added message queue
2015-03-28 13:36:43 +01:00
Martine Lenders
dce3a6056d
ipv6_netif: add prefix list to interface
2015-03-27 20:39:52 +01:00
Martine Lenders
2219d21ba2
Merge pull request #2706 from authmillenon/nettype/feat/introduce_netif
...
nettype: introduce type for ng_netif_hdr_t
2015-03-27 15:13:20 +01:00
kushalsingh007
9aae656be9
shell: Return-based error-handling for shell handlers
...
- Included the missing parts.
- Squashed with @authmillenon's commit
2015-03-25 23:54:04 +05:30
Martine Lenders
cbe9aa6939
nettype: fix typo
2015-03-25 05:03:27 +01:00
Martine Lenders
79e76d05a0
nettype: introduce type for ng_netif_hdr_t
2015-03-25 02:10:14 +01:00
Hauke Petersen
5f77bbe1c8
Merge pull request #2563 from authmillenon/ng_pktbuf/fix/semantics
...
ng_pktbuf: change semantics for received packets
2015-03-24 16:49:49 +01:00
Martine Lenders
23d079bdf4
Merge pull request #2661 from authmillenon/ethertype/fix/byteorder
...
ng_ethernet: make ethertype network byte order
2015-03-24 15:57:54 +01:00
Martine Lenders
db8cbc7afa
Merge pull request #2662 from authmillenon/ng_nomac/fix/receive
...
ng_nomac: fix receive
2015-03-24 01:15:15 +01:00
Martine Lenders
3fa96e5eb9
Merge pull request #2693 from haukepetersen/ng_netdev_fixconst
...
net/ng_netdev: made pointer to driver const
2015-03-23 23:23:25 +01:00
Martine Lenders
e431dc8171
Merge pull request #2585 from authmillenon/ng_nettype/api/translate
...
ng_nettype: add translation capabilities to ethertype and protnum
2015-03-23 21:47:47 +01:00
Martine Lenders
326a402148
ng_netapi: introduce ng_netapi_receive()
2015-03-23 16:53:15 +01:00
Hauke Petersen
4968e54816
net/ng_netdev: made pointer to driver const
2015-03-23 16:20:25 +01:00
Hauke Petersen
497a3da9e3
net: added ng_pktdump module
2015-03-23 15:25:30 +01:00
Martine Lenders
21204dc3eb
ng_pktbuf: change semantics for received packets
2015-03-23 15:08:46 +01:00
Martine Lenders
678ca8dd79
ng_pkt: update documentation
2015-03-23 15:08:44 +01:00
Martine Lenders
d959c9265b
ng_nettype: fix documentation
2015-03-23 14:35:33 +01:00
Martine Lenders
fa59e3122c
ng_nettype: add translation capabilities to ethertype and protnum
2015-03-23 14:35:28 +01:00
Martine Lenders
8111b15425
ng_ethernet: make ethertype network byte order
2015-03-20 18:45:24 +01:00
Oleg Hahm
52017a967a
Merge pull request #2545 from kushalsingh007/refactor_vtimer_set_msg
...
Changing return type of vtimer_set_msg
2015-03-19 17:24:40 +01:00
Hauke Petersen
44ce49fce2
net/ng_netbase: added include of ng_netif/hdr.h
2015-03-19 15:28:41 +01:00
Martine Lenders
7027519f28
ng_ipv6: provide support for ng_netif
2015-03-19 15:13:17 +01:00
Martine Lenders
89a10f2630
Merge pull request #2629 from haukepetersen/ng_netbase
...
net: introduced ng_netbase pseudo module and header
2015-03-19 12:32:06 +01:00
Martine Lenders
631977fba6
Merge pull request #2637 from haukepetersen/ng_opt_netdev_send
...
net/ng_netdev: added error code to send()
2015-03-19 11:42:19 +01:00
kushalsingh007
1dc6c3581f
vtimer: changing return type of several functions to void
...
- Changed the return type for vtimer_init,vtimer_set_msg and vtimer_remove.
- Current return value is not used anywhere and has no meaning attached to it.
- Fix for #1533
- Removed tests which checked for vtimer_set_msg being set.
- Done doxygen adaption for corresponding vtimer functions.
2015-03-19 03:56:00 +05:30
Hauke Petersen
002fd2bc81
net/ng_netdev: added error code to send()
2015-03-18 18:34:19 +01:00
Hauke Petersen
7e8bc3f21c
net/ng_netdev: fixed missing include of kernel.h
2015-03-18 15:27:23 +01:00
Hauke Petersen
9f58c28881
ng_net: introduced ng_netbase.h pseudo header
2015-03-18 15:27:23 +01:00
Oleg Hahm
3d411807c0
doc: fix and complemented some doxygen headers
2015-03-18 14:27:48 +01:00
Hauke Petersen
8124907f3a
net/ng_netapi: changed semantics of get function
2015-03-16 15:18:05 +01:00
Hauke Petersen
48c41661bc
net/ng_netdev: changed semantics of get function
2015-03-16 15:18:05 +01:00
Martine Lenders
99e810e9b5
Merge pull request #2461 from authmillenon/ng_ipv6_nc/feat/initial
...
net: initial import of an IPv6 neighbor cache
2015-03-14 02:26:16 +01:00
Martine Lenders
e80e4fb181
Merge pull request #2580 from authmillenon/ng_netconf/api/add_src_len
...
ng_netconf: add source length identifier
2015-03-13 23:09:18 +01:00
Martine Lenders
c1708682e8
ng_ipv6_nc: Initial import
2015-03-13 20:42:47 +01:00
Martine Lenders
5b3cf47acd
ng_netconf: add source length identifier
...
The rational is that for devices with dual addressing modes (or more) as
for example IEEE 802.15.4 you can get or set these addressing modes for
the source address of a packet. The length of the destination address is clear
since it usually arrives through the `ng_netif_hdr_t`.
In case of IEEE 802.15.4 this is needed to determine the compression
state of source IPv6 addresses in 6LoWPAN IPHC.
2015-03-13 14:59:10 +01:00
Oleg Hahm
0144bb589b
Merge pull request #2546 from authmillenon/ng_ipv6_addr/api/add_string_functions
...
[RFC] ng_ipv6_addr: add (optional) string conversion functions
2015-03-13 13:41:37 +01:00
Oleg Hahm
8537344db9
doc: update outdated vtimer documentation
...
vtimer was changed in 6ee5e737f9
to use a
user specified type for vtimer_set_msg(), but documentation didn't
reflect this new API.
2015-03-13 10:25:48 +01:00
Martine Lenders
0cca4867ea
ng_ipv6_addr: add string to address conversion function
2015-03-12 21:06:43 +01:00
Martine Lenders
9f2e2121c1
ng_ipv6_addr: add address to string conversion function
2015-03-12 21:06:41 +01:00
Hauke Petersen
549867b57e
net: added ng_nomac module
2015-03-12 17:15:39 +01:00
Martine Lenders
d67d983773
Merge pull request #2579 from authmillenon/net/feat/initial-ethertype-ethernet
...
net: initial import of ethertypes and the ethernet header
2015-03-12 13:01:16 +01:00
Martine Lenders
4364493051
ng_ethernet: intial import
2015-03-12 11:31:25 +01:00
Martine Lenders
dab8f9f6c0
ng_ethertype: initial import
2015-03-12 11:27:12 +01:00
Oleg Hahm
7256a1399a
Merge pull request #2566 from kushalsingh007/fd
...
Changed description for fd_t::fd in sys/include/fd.h
2015-03-12 09:09:45 +01:00
kushalsingh007
cf75c04b41
fd: Clean-up documentation and rename members
...
-Fixes #1759
-Changes fd_t::__active to fd_t::internal_active
-Changes fd_t::fd to fd_t::internal_fd
-Made changes in the associated files that use the above fields.
2015-03-12 10:31:37 +05:30
Hauke Petersen
b9f4cdc3ae
Merge pull request #2559 from authmillenon/ng_netdev/doc/fixes
...
ng_netdev: fix some documentation and a suggestion for a type change
2015-03-10 15:14:05 +01:00
Martine Lenders
b540e65e72
ng_netif_hdr: simplify address getter/setter
2015-03-09 17:36:33 +01:00
Martine Lenders
081784d16a
ng_netif_hdr: fix documentation
2015-03-09 03:52:12 +01:00
Martine Lenders
84713f4873
ng_netif_hdr: make inline functions static
2015-03-08 22:54:06 +01:00
Martine Lenders
c66612b50b
ng_netdev: change event_type to same type as msg_t::content::value
2015-03-08 22:42:35 +01:00
Martine Lenders
fd0d83711a
ng_netdev: fix documentation
2015-03-08 22:41:35 +01:00
Martine Lenders
878bc94b38
ng_netif: Add missing include
2015-03-04 18:30:45 +01:00
Lotte Steenbrink
1793eb7ec8
Merge pull request #2450 from authmillenon/netreg/api/pointer-based
...
RFC: netreg: move to pointer-based API
2015-03-04 15:33:15 +01:00
Martine Lenders
ec5f686cd0
netreg: move to pointer-based API
...
Moving to a pointer-based API simplifies a lot, since there is no need
for an internal pool of entries anymore. Therefore, a lot of
organizational overhead and some restrictions (e.g. an upper limit on
entries) are dropped.
The entries can be stored in the stack of the respective thread.
2015-03-04 13:17:00 +01:00
Martine Lenders
36c757b8c8
Merge pull request #2448 from haukepetersen/fix_doc_shell
...
sys/shell: fixed and unified doxygen headers
2015-03-03 23:14:46 +01:00
Thomas Eichinger
40062c3ac3
net/ng_netconf.h: fix doxygen comments
2015-03-03 23:06:32 +01:00
Hauke Petersen
be9987292f
net: added generic network interface header format
2015-03-03 22:00:46 +01:00
Hauke Petersen
2323c08d32
sys/shell: fixed and unified doxygen headers
...
- changed doxygen group name to sys_shell
- added some missing fields
- unified the doxygen header format
2015-03-03 18:10:06 +01:00
Fabian Nack
2143d572d0
sys/timex: Defines for time calculations
2015-02-24 11:50:42 +01:00
Martine Lenders
dad4e8d5df
Merge pull request #2433 from authmillenon/ng_ipv6_addr/feat/initial
...
ng_ipv6_addr: initial import
2015-02-20 19:27:17 +01:00
Martine Lenders
ff36abb2cf
ng_ipv6_addr: initial import
...
The motivation behind this module is to allow for address handling
functions where they, but not the full IPv6 functionality might be
needed. This new version of the IPv6 address data type utilizes the
byteorder.h header to enforce network byte-order on its members.
2015-02-20 17:40:26 +01:00
Ludwig Ortmann
4f29a7757e
Merge pull request #2285 from authmillenon/pktbuf/api/use-pkt
...
pktbuf: port to use pkt_t instead of void*
2015-02-19 14:46:15 +01:00
Martine Lenders
41f60aca4c
pktbuf: port to use ng_ version
2015-02-19 13:51:27 +01:00
Hauke Petersen
f33938078b
net/ng_netdev: changed return value of rem_cb
2015-02-18 18:05:23 +01:00
Oleg Hahm
a6e902ff42
Merge pull request #2455 from authmillenon/ng_protnum/feat/initial
...
ng_protonum: Initial import of protocol number defines
2015-02-17 19:54:13 +01:00
Martine Lenders
c4e6504c8e
ng_protonum: Initial import of protocol number defines
2015-02-17 19:17:14 +01:00
Martine Lenders
1126c97dcf
ng_pktqueue: fix documentation
2015-02-15 12:57:43 +01:00
Martine Lenders
fc441064b9
ng_pkt: fix documentation
2015-02-15 12:57:43 +01:00
Martine Lenders
3837e31f59
ng_nettype: fix documentation
2015-02-15 12:57:42 +01:00
Martine Lenders
d32aa48413
ng_netreg: fix documentation
2015-02-15 12:57:42 +01:00
Martine Lenders
84754c1b83
ng_netif: fix documentation
2015-02-13 12:43:42 +01:00
Martine Lenders
580eb63835
ng_netdev: fix documentation
2015-02-13 12:43:37 +01:00
Martine Lenders
0b95b3ae40
ng_netconf: fix documentation
2015-02-13 12:42:46 +01:00
Martine Lenders
c601b72ba7
ng_netapi: fix documentation
2015-02-13 12:42:24 +01:00
Martine Lenders
c80c04d6ed
netreg: Initial import
2015-02-12 16:13:38 +01:00
Martine Lenders
e6f21eee97
Merge pull request #2441 from thomaseichinger/ng_netconf_reset
...
net/ng_netconf: add reset state to ng_netconf_state_t
2015-02-12 15:01:47 +01:00
Martine Lenders
c6777ffeed
Merge pull request #2427 from authmillenon/netapi/api/naming-fixup
...
netdev: unify msg type macro with msg type macros in netapi
2015-02-12 12:02:50 +01:00
Thomas Eichinger
6a425b5784
net/ng_netconf: add reset state to ng_netconf_state_t
2015-02-12 11:48:34 +01:00
Martine Lenders
15a6e2066d
netdev: piggy-back some formatting error
2015-02-11 20:04:58 +01:00
Ludwig Ortmann
c6fb00a235
netconf: fix doxygen
2015-02-11 13:44:08 +01:00
Ludwig Ortmann
eaa9102a6a
netif: fix doxygen
2015-02-11 13:42:06 +01:00
Martine Lenders
b208371163
Merge pull request #2417 from authmillenon/netif/feat/initial
...
netif: Initial import of ng_* version
2015-02-11 12:41:54 +01:00
Martine Lenders
cfc64ff4de
Merge pull request #2342 from authmillenon/pkt/api/simplify
...
pkt: simplify API
2015-02-11 12:41:43 +01:00
Martine Lenders
cb74094edd
pktqueue: adapt to change in pkt.h
2015-02-11 11:01:33 +01:00
Martine Lenders
7317097db2
pkt: simplify API
2015-02-11 11:01:33 +01:00
Martine Lenders
894cd964f9
netif: Initial import of ng_* version
2015-02-11 10:52:51 +01:00
Martine Lenders
934806394f
netdev: unify msg type macro with msg type macros in netapi
2015-02-10 18:19:04 +01:00
Hauke Petersen
c2cfd89fa5
net/ng_netapi: fixed get/set msg type macro names
2015-02-10 18:04:32 +01:00
Hauke Petersen
bf95a8f089
Merge pull request #2425 from haukepetersen/ng_fix_netdev
...
net/ng_netdev: fixed msg type macro name
2015-02-10 17:46:05 +01:00
Hauke Petersen
157fea687b
Merge pull request #2424 from haukepetersen/ng_fix_netapi
...
net/ng_netapi: fixed typo
2015-02-10 17:45:56 +01:00
Hauke Petersen
f9e2404772
net/ng_netdev: fixed msg type macro name
2015-02-10 17:26:49 +01:00
Hauke Petersen
28ad246c9f
net/ng_netapi: fixed typo
2015-02-10 17:25:15 +01:00
Ludwig Ortmann
4172566fb7
Merge pull request #2423 from LudwigOrtmann/pr/unittest-doc
...
unittest doxygen fixup
2015-02-10 17:17:11 +01:00
Ludwig Ortmann
bfd34a6855
Merge pull request #2421 from LudwigOrtmann/pr/netdev_ng_fixup
...
netdev_ng fixup
2015-02-10 16:55:35 +01:00
Ludwig Ortmann
5db7cb8cc5
sys/embunit: don't doxygen embunit.h content
2015-02-10 15:42:33 +01:00
Ludwig Ortmann
7b0e3c7f74
sys/embunit: add wiki link
2015-02-10 15:42:33 +01:00
Ludwig Ortmann
9d6a3ac46a
sys/embunit: fix doxygen declaration
2015-02-10 15:42:33 +01:00
Martine Lenders
e5e1d0dd6d
Merge pull request #2397 from authmillenon/nettype/feat/initial
...
nettype: intial import
2015-02-10 15:10:08 +01:00
Hauke Petersen
d46d6541c1
Merge pull request #2399 from haukepetersen/ng_netconf
...
ng_net: add global configuration options
2015-02-10 14:26:27 +01:00
Ludwig Ortmann
8234bc87e7
ng_net: unify header guard
2015-02-10 14:22:36 +01:00
Ludwig Ortmann
3f055f18dd
ng_net: fix doxygen group
2015-02-10 14:22:15 +01:00
Martine Lenders
09ebb0e89c
Merge pull request #2400 from haukepetersen/ng_netapi
...
ng_net: add new version of NETAPI
2015-02-10 14:03:27 +01:00
Martine Lenders
9d36c05398
nettype: intial import
2015-02-10 13:32:10 +01:00
Hauke Petersen
c5c9c3dfab
ng_net: added global configuration options
2015-02-10 11:41:27 +01:00
Hauke Petersen
87e2b6db50
ng_net: added new version of NETAPI
2015-02-10 11:34:56 +01:00
Hauke Petersen
71496771c5
net: added ng version of the netdev interface
2015-02-09 18:53:04 +01:00
Ludwig Ortmann
dd2da2fb71
Merge pull request #2405 from cgundogan/restrict_with_leading_underscores
...
Use `__restrict` instead of `restrict`
2015-02-08 22:07:23 +01:00
Martine Lenders
498313a23f
doc: Add mail address where it is missing
2015-02-08 19:41:14 +01:00
Cenk Gündoğan
3ff5231ffd
sys: restrict => __restrict
2015-02-08 19:19:50 +01:00
Martine Lenders
0eb2d78dda
doc: use my real name
2015-02-08 18:52:16 +01:00
Christian Mehlis
f69a5ae1f6
Merge pull request #2374 from cgundogan/bloom_doc_bytes_bits
...
sys/bloom: changed doc from bytes -> bits
2015-02-03 18:16:27 +01:00
Lucas Jenss
8e758d7463
sys: Misc errors that occur w/ ENABLE_DEBUG fixed
...
I enabled debug output in all files to poke around
and there were some errors (seemingly) due to code
changes that were not tested with debug enabled. This
commits tries to fix these issues.
2015-01-30 01:36:28 +01:00
Cenk Gündoğan
5c77530da4
sys/bloom: changed doc from bytes -> bits
2015-01-29 15:06:01 +01:00
BytesGalore
714ee38355
boards: core: cpu: drivers: sys: added missing header guards
2015-01-27 19:10:57 +01:00
Cenk Gündoğan
c4b01b87bc
rpl: RPL/Trickle with only *one* thread
...
This PR proposes an approach to reduce the thread count of RPL.
The current RPL/Trickle stack needs about 5 threads to handle tasks
like updating the trickle timer, routing entries and the transmission of
DAOs.
This PR modifies RPL to use only one thread with a looped `msg_recv()` call.
The message is then multiplexed to the right task.
2015-01-14 19:42:13 +01:00
Ludwig Ortmann
8676a1972d
sys/timex: suppress passedByValue warnings
2015-01-14 11:57:01 +01:00
Martine Lenders
99e2feca48
pkt: Initial import
...
This data type is bound to replace the `(netdev_hlist_t *ulh, void
*data)` tuples in netapi and netdev.
2015-01-14 07:04:56 +01:00
Martin Landsmann
a0898dbb9f
sys: add base64 encoding/decoding module
...
- suppressed cppcheck warning for `unassignedVariable` for
the encode/decode arrays in stream encode/decode tests
as these arrays are assigned by the according `base64_[en|de]code()` function.
2015-01-12 11:26:41 +01:00
Ludwig Ortmann
dc916ad458
Merge pull request #2102 from Kijewski/embunit-module
...
tests: make embUnit a normal sys module
2014-12-22 12:50:26 +01:00
Ludwig Ortmann
5e0973ca89
Merge pull request #2150 from OlegHahm/more_doc_cleanup
...
doc: More documentation cleanup
2014-12-22 11:58:59 +01:00
René Kijewski
f684aa4b2d
tests: make embUnit a normal sys module
...
There is nothing quite special about embUnit.
This PR makes it a normal sys module, so that you can use it in any
application / test.
2014-12-21 20:04:57 +01:00
Fabian Nack
5a095faa54
sys/include: Include utlist for simple list operation defines
2014-12-12 12:18:34 +01:00
Oleg Hahm
d4166faccc
doc: add or move module description where missing
2014-12-11 17:29:51 +01:00
Oleg Hahm
11d0a22ad7
doc: remove superfluous and erroneous @file params
2014-12-11 17:27:54 +01:00
Cenk Gündoğan
6ee5e737f9
vtimer: set custom msg_t.type with vtimer_set_msg
...
Currently, when using vtimer_set_msg the corresponding msg_t is filled
with the MSG_TIMER ("12345") type.
This approach makes it difficult to differentiate between incoming
messages via vtimer_set_msg.
In this PR I introduce another parameter for the vtimer_set_msg
function to specify a custom msg_t type.
2014-12-09 10:07:26 +01:00
Oleg Hahm
a9ed34a293
doc: fixed documentation for crypto headers
2014-12-06 11:55:28 +01:00
Oleg Hahm
26ab4829d7
doc: fix posix wrapper documentation
2014-12-06 02:05:51 +01:00
Oleg Hahm
1288b3f9cb
doc: fix bloom filter documentation
2014-12-06 01:26:12 +01:00
Oleg Hahm
fb3e8939df
doc: fix vtimer documentation
2014-12-05 20:33:10 +01:00
Oleg Hahm
6c762d683b
doc: added missing documentation for PRIu32
2014-12-05 20:33:10 +01:00
Oleg Hahm
a3ea98c063
doc: fixed documentation for transceiver
2014-12-05 20:33:10 +01:00
Oleg Hahm
45ea87f403
doc: cbor: complemented documentation
2014-12-05 20:33:10 +01:00
Oleg Hahm
1270edace6
cbor: fixe line length
2014-12-05 20:33:10 +01:00
Oleg Hahm
93c7627f07
doc: fix doxygen warnings for CBOR
2014-12-05 20:33:10 +01:00
Oleg Hahm
67a2b37ff8
cc110x: cleanup cc110x_legacy_csma driver
...
Remove unused radio_t struct and fixed documentation.
2014-12-05 20:33:10 +01:00
Oleg Hahm
da3377bf6d
doc: document board_uart0 module
2014-12-05 20:33:10 +01:00
Oleg Hahm
cd81c040d8
uart0: remove superfluous prototype from header
...
Declare and document prototype in CPU part instead.
2014-12-05 20:33:10 +01:00
Oleg Hahm
752836f0b6
doc: document auto_init
2014-12-05 20:33:09 +01:00
Oleg Hahm
000450c894
Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
...
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Oleg Hahm
43c86b5a3e
doc: fix remaining doxygen warnings
2014-12-04 17:16:57 +01:00
Oleg Hahm
0ccf1043de
doc: fixed broken doxygen references
2014-12-04 17:16:57 +01:00
Oleg Hahm
f386de6203
Merge pull request #1659 from Kijewski/ubjson
...
sys: add Universal Binary JSON module (UBJSON)
2014-12-03 22:25:03 +01:00
René Kijewski
118dfd861b
Add UBJSON library
2014-12-03 20:42:51 +01:00
René Kijewski
5b7c24d9e1
sys: doc: pipe.h spams the manual
...
This PR adds a new group for the pipe module, so the .h file does not
spam the manual in Modules/System.
2014-12-03 20:18:37 +01:00
Martine Lenders
115420a510
Merge pull request #1228 from OlegHahm/l2_ping
...
net: Link Layer Ping
2014-12-03 11:55:37 +01:00
Fabian Nack
eebfd5011a
drivers - cc110x: Initial import of new cc110x driver
2014-12-01 17:14:02 +01:00
Oleg Hahm
d92e9af91c
doc: fixed broken param descriptions
2014-11-30 22:34:50 +01:00
Oleg Hahm
36e49c6c65
doc: removed broken doxygen struct tags
2014-11-30 21:50:43 +01:00
Oleg Hahm
df9c09d946
doc: fixed typos and other misspellings
2014-11-30 21:32:12 +01:00
Oleg Hahm
ae8dd90884
doc: added missing closing doxygen brackets
2014-11-30 21:16:41 +01:00
Hauke Petersen
2220a9fab0
core/cpu/boards: removed fw_puts from RIOT
2014-11-21 13:09:02 +01:00
René Kijewski
3ea777ff14
Merge pull request #2017 from kaspar030/move_ringbuffer_to_core
...
Move ringbuffer to core
2014-11-19 14:22:16 +01:00
9ce0b676b4
core: sys: move ringbuffer to core
2014-11-19 14:18:39 +01:00
Hinnerk van Bruinehsen
c2a30f1e49
lint: remove unusedStructMember supressions
2014-11-19 11:22:49 +01:00
Oleg Hahm
c692b3a00a
net: move ping to sys/net
...
* moved the former ping module from `sys` to `sys/net/link_layer` and renamed to l2_ping
* use defaulttransceiver instead of cc110x
* some refactoring
2014-11-11 15:03:40 +01:00
BytesGalore
de3c3cebd0
c++: sys: add extern C to header files
2014-11-08 20:09:55 +01:00
Oleg Hahm
fce3a2243e
Merge pull request #1846 from thomaseichinger/at86rf23x
...
drivers/at86rf231: refactoring of the at86rf231 radio driver
2014-10-31 09:33:30 +01:00
Oleg Hahm
62006b6f34
Merge pull request #1915 from OlegHahm/replace_has_radio_by_feature
...
make: replace has radio by feature
2014-10-30 23:29:49 +01:00
f2483dfd5b
Merge pull request #1649 from kaspar030/ringbuffer_remove
...
sys: lib: introduce ringbuffer_remove()
2014-10-30 23:20:06 +01:00
e4257284ad
sys: lib: introduce ringbuffer_remove()
...
This commit adds a function that deletes n elements from the ringbuffer
without actually writing them somewhere.
2014-10-30 23:23:27 +01:00
Oleg Hahm
1b47b76135
config: use FEATURE_PROVIDED instead of HAS_RADIO
2014-10-30 23:13:52 +01:00
Thomas Eichinger
dfb1b56fad
drivers/at86rf231: refactoring of the at86rf231 radio driver
...
* deploy extended operation mode
* cleanup
* implement netdev 802154.h interface
2014-10-30 22:35:00 +01:00
Oleg Hahm
99b5ff81fa
config: suppress cppcheck warnings
2014-10-30 22:27:12 +01:00
Oleg Hahm
576e76db51
config: make members feature specific
...
Channel and address are only sensible for boards that actually have a
transceiver.
2014-10-30 22:27:12 +01:00
Oleg Hahm
6b39ce9650
config: moved from core to sys
...
There's no need to run config_load from core directly, can be done by
auto_init.
2014-10-30 22:27:11 +01:00
Martine Lenders
1dae583bce
Merge pull request #1884 from authmillenon/od
...
sys: Initial import of analytical object dump (od) module
2014-10-30 16:42:30 +01:00
Martine Lenders
3519a3d9be
sys: Initial import of analytical object dump (od) module
2014-10-30 16:43:06 +01:00
Oleg Hahm
cf8cf3bb68
Merge pull request #1843 from OlegHahm/timex_cleanup
...
sys: timex cleanup
2014-10-28 18:00:52 +01:00
Ludwig Ortmann
d78c101b08
Merge pull request #1880 from fnack/cc110x_rename
...
drivers/cc110x: rename driver to cc110x_legacy_csma
2014-10-28 09:54:41 -07:00
Oleg Hahm
af13f190e6
doc: compliment and fix timex documentation
2014-10-28 17:50:11 +01:00
Fabian Nack
53b0ad2be5
drivers - cc110x: rename cc110x to cc110x_legacy_csma
2014-10-28 16:18:50 +01:00
Oleg Hahm
20dc7b0b00
timex: remove redundant struct timex_t declaration
...
timex_t is available as a typedef, declaring it as `struct timex_t` in
addition is not necessary.
2014-10-28 14:25:34 +01:00
Oleg Hahm
4b3fa4925a
timex: update copyrights
2014-10-28 14:25:34 +01:00
Oleg Hahm
67f82fcee0
timex: replace print by a to_str function
...
Instead of printing the timestamp, it's more flexible to convert it into
a string.
2014-10-28 14:25:34 +01:00
Oleg Hahm
8c4a874161
timex: make functions static inline
...
This commit makes all one- or two-liners in timex a static inline
function, defined in the header file.
2014-10-28 14:25:34 +01:00
René Kijewski
c0914ec451
sys:ringbuffer: static inline ringbuffer_init
2014-10-28 12:21:46 +01:00
Ludwig Ortmann
975412e16d
boards, sys: purge feuerware_radios
...
* `feuerware_radios` is unused, remove from `radio.h` header
* FEUERWARE_CONF_NUM_RADIOS is superfluous without it, remove all occurrences
2014-10-27 14:49:25 +01:00
Oleg Hahm
c33e1b5dad
Merge pull request #1844 from OlegHahm/doxygen_cleanup
...
Doxygen cleanup
2014-10-24 16:04:01 +02:00
Fabian Nack
07fff37efe
drivers - cc110x_ng: rename ng driver to legacy
2014-10-24 09:55:31 +02:00
Martine Lenders
f7d9b02d7e
vtimer: improve documentation of vtimer_set_msg()
2014-10-23 21:28:15 +02:00
Oleg Hahm
a9a5c2da1c
doc: fix vtimer documentation
2014-10-23 20:53:00 +02:00
Oleg Hahm
b186b177a5
doc: fix doxygen warnings for color module
...
Also fixes the module name in API documentation.
2014-10-23 20:53:00 +02:00
Oleg Hahm
206b75933e
doc: fixed remaining doxygen warnings in core
...
Only one warning remains and will be fixed in a separate commit.
2014-10-23 18:30:09 +02:00
6e03faa3d6
sys: lib: ringbuffer: introduce ringbuffer_get_free
...
This function returns the number of bytes available in the ringbuffer.
2014-10-22 17:07:36 +02:00
Christian Mehlis
88ae531ef9
Merge pull request #1679 from cgundogan/bloom_t_as_typedef
...
sys: use typedef for `struct bloom_t`
2014-09-19 13:18:39 +02:00
Ludwig Ortmann
289c4c0ee4
doc: add license headers to some .h files
2014-09-18 17:45:11 +02:00
Cenk Gündoğan
0a4ea07daa
sys: use typedef for struct bloom_t
...
`bloom_t` is defined as a struct.
`_t` can mislead the user to think of bloom_t
as a typedef (see our coding conventions) instead of a struct.
Thus, I modified `struct bloom_t` to be a *typedefed* struct.
Another solution would be to rename bloom_t to sth. like bloom_s
everywhere and use `struct bloom_s` instead of `bloom_t`.
2014-09-17 19:54:40 +02:00
Oleg Hahm
70ec73b038
Merge pull request #1561 from BytesGalore/fix_fd_parameter_warnings
...
sys/posix: changed parameters for `fd` from `kernel_pid_t` to `int`
2014-09-11 15:37:04 +02:00
54d7e5f748
sys: vtimer: add license header
2014-09-03 14:18:11 +02:00
Ludwig Ortmann
b7992922ce
fix license headers in non-.c files
2014-08-23 16:16:26 +02:00
René Kijewski
d1d8fb2b68
sys: remove lib/hashtable.c
...
Quoting myself:
> The code of sys/lib/hashtable.c is very badly adapted for embedded
> systems. The used primes are huge, and the limit is entirely
> unrealistic. Why do we ship this file?
In #1564 we came to the conclusion that we don't need this code.
Closes #1564 .
2014-08-13 21:21:39 +02:00
Martin Landsmann
28f4e510ad
changed parameters form kernel_pid_t
to int
2014-08-11 13:10:12 +02:00
Kevin Funk
e8141ca5d8
cbor: CBOR implementation for RIOT-OS
...
This is a malloc-free implementation of the Concise Binary Object
Representation (CBOR) data format for the RIOT-OS.
This implementation mostly stand-alone, and it should be pretty easy to
port to other platforms. We're only using the C STL and some custom
network-related functionaliy which could be easily replaced by depending
on arpa/inet.h.
The CBOR API is straight-forward to use and provides encoding/decoding
functionality for all major C types, such as:
- int
- uint64_t
- int64_t
- float
- double
- char*
- struct tm
- time_t
It is possible to conditionally compile this module via CFLAGS:
- CBOR_NO_SEMANTIC_TAGGING: All semantic-tagging features removed
- CBOR_NO_CTIME: All ctime related features removed
- CBOR_NO_FLOAT: All floating-point related features removed
- CBOR_NO_PRINT: All features depending on printf removed
2014-08-05 19:49:51 +02:00
René Kijewski
2b91605f58
Merge pull request #1535 from LudwigOrtmann/transceiver_volatile
...
sys/transceiver: make transceiver_pid volatile
2014-08-05 19:39:43 +02:00
Ludwig Ortmann
c2b2e4554b
core/queue: queue -> priority_queue
...
Rename queue to priority queue, because that's what it is.
2014-08-05 17:57:45 +02:00
Ludwig Ortmann
232dd781ae
sys/transceiver: make transceiver_pid volatile
...
- because it is
2014-08-02 14:10:28 +02:00
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Cenk Gündoğan
ca5b45e264
converting tabs to spaces in sys ( #1439 )
...
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:51:50 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
René Kijewski
0ab1b86e5f
Add generic char
pipe implementation
2014-07-28 23:21:27 +02:00
René Kijewski
02aeca02db
ringbuffer: add static initializer
2014-07-28 20:56:12 +02:00
René Kijewski
201152a6d3
ringbuffer: add documentation
2014-07-28 20:56:12 +02:00
René Kijewski
a346276d30
ringbuffer: don't overwrite in ringbuffer_add
2014-07-28 20:44:02 +02:00
René Kijewski
47950e8bab
ringbuffer: remove pointer to the end
...
There is no need for an explicit pointer to the end of the buffer.
2014-07-28 20:44:02 +02:00
René Kijewski
726af8d44e
ringbuffer: fix parameter types
...
It is a bad idea to use signed types for lengths.
Mark pointers a `restrict`, since the ringbuffer is not thread safe
anyway.
2014-07-28 20:44:02 +02:00
René Kijewski
67856d63d9
ringbuffer: add convenience functions
...
This patch add `peek` functionality, and empty and full helpers.
2014-07-28 20:44:01 +02:00
Oleg Hahm
a6e97a4f75
Merge pull request #1034 from Kijewski/vtimer-callbacks
...
vtimer: fix callback usage
2014-07-10 17:12:23 +02:00
Ludwig Ortmann
d034cfac29
sys/transceiver: implement transceiver_unregister
2014-07-10 14:11:48 +02:00
René Kijewski
ba1a15535b
core: remove extra thread_create_arg() function
2014-07-09 10:28:23 +02:00
Oleg Hahm
9f39226108
shell: added command to print all ignored addresses
2014-06-24 10:11:06 +02:00
Hauke Petersen
839955cd05
sys: added color module
2014-06-22 13:53:01 +02:00
Philipp Rosenkranz
0bf6ce22f3
added conv function from uint64 to timex_t and one minor bug fix
2014-06-19 12:40:24 +02:00
René Kijewski
2231a315d4
vtimer: fix callback usage
...
There is no need to test the "handler" set in the vtimer struct, and
have some code executed then. We just can make the code to execute the
handler. To lengthy `if else if`, just a call.
2014-06-03 21:07:59 +02:00
René Kijewski
1887bd45c6
sys: add utility functions for struct tm
2014-05-28 00:16:32 +02:00
Oleg Hahm
9efc0d2255
documentation: added missing doxygen header to transceiver interface
2014-05-22 13:01:36 +02:00
René Kijewski
f23dab96d2
sys: rename ringbuffer functions
...
Closes #1011 .
2014-05-03 16:39:39 +02:00
Christian Mehlis
72036742d8
Merge pull request #1063 from Kijewski/shell_command_t-fix-const
...
shell: strings in shell_command_t are const
2014-04-28 14:07:36 +02:00
René Kijewski
07cc72576e
shell: Comment internal members, too
...
Closes #979 .
2014-04-28 10:41:48 +02:00
René Kijewski
4ed38bd2f3
shell: strings in shell_command_t are const
2014-04-27 14:37:54 +02:00
Thomas Eichinger
d89faccc78
Merge pull request #1031 from LudwigOrtmann/issue_676
...
redbee-econotag: fix maca
2014-04-24 10:19:22 +02:00