Hinnerk van Bruinehsen
a5aeaab87b
lint: fix unreadVariable warnings
2014-10-31 01:24:30 +01:00
Fabian Nack
53b0ad2be5
drivers - cc110x: rename cc110x to cc110x_legacy_csma
2014-10-28 16:18:50 +01:00
Ludwig Ortmann
eceb656c49
core,sys: fix storage types for irq API usage
...
* should not have any effect as long as `unsigned` and `int` are compatible
* also fix two cosmetic `unsigned int` -> `unsigned` for consistency
2014-10-27 16:25:23 +01:00
Fabian Nack
07fff37efe
drivers - cc110x_ng: rename ng driver to legacy
2014-10-24 09:55:31 +02:00
Oleg Hahm
84cb4ccaa2
Merge pull request #1830 from thomaseichinger/transceiver-fixes
...
sys/transceiver: fixes for the use of `ieee802154_packet_t`
2014-10-23 20:58:57 +02:00
5146c66786
core: adapt to msg_try_send
2014-10-22 12:37:33 +02:00
Thomas Eichinger
ebbe5bef6a
sys/transceiver: cc2420 handles 802.15.4 packets
2014-10-17 17:05:09 +02:00
Thomas Eichinger
2f27388d04
sys/transceiver: cleanup and fix for cc2420 and at86rf231
...
cc2420: the payload pointer was set twice
at86rf231: payload_len was not copied from the radio driver buffer
2014-10-07 11:37:29 +02:00
Thomas Eichinger
a686e909aa
examples/default: fix handling of 802.15.4 devices
2014-10-07 10:32:58 +02:00
Thomas Eichinger
19f612cf2c
examples/default: set src addr correctly
2014-10-07 10:32:58 +02:00
Lotte Steenbrink
e843868141
Notify about dropped packets
...
Added debug output that warns about packets that are dropped
because the transceiver buffer was full or because the transceiver
failed to notify aiting upper layers.
2014-10-04 07:18:39 -07:00
René Kijewski
0cc699c0ce
lint: reduce scope
...
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Oleg Hahm
73965f984e
transceiver: fix check for existence
...
The transceiver check if it is already running when initializing.
However, this check was done by comparing its pid for >= 0, which is not
sensible anymore since valid PIDs only start at 1.
2014-08-22 18:34:42 +02:00
Oleg Hahm
cf536c8f5c
mc1322x: some fixes in transceiver and ccnl
2014-08-22 02:12:48 +02:00
Oleg Hahm
0ad7b170ed
make kernel_pid_t comparisons consistent
2014-08-07 16:31:27 +02:00
Oleg Hahm
c2b0423918
core: renamed KERNEL_PID_NULL to KERNEL_PID_UNDEF
...
As @authmillenon pointed out the "null" in the old name is somewhat
misleading, since the actual value is -1.
2014-08-07 16:31:27 +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
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
66b76a5a41
sys/transcevier: fix more loop integers
2014-07-13 15:52:33 +02:00
Ludwig Ortmann
a992d4d848
sys/transceiver: use size_t instead of u8 in loops
2014-07-10 14:11:48 +02:00
Ludwig Ortmann
8e93886d36
sys/transceiver: refactor un/register
...
remove race conditions
make less restrictive (allow double-un/registers)
make loops more readable
2014-07-10 14:11:48 +02:00
Ludwig Ortmann
d034cfac29
sys/transceiver: implement transceiver_unregister
2014-07-10 14:11:48 +02:00
Ludwig Ortmann
c264338e31
sys/transceiver: fix t9r_register API compliance
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
Oleg Hahm
eedc16815c
Merge pull request #891 from OlegHahm/rpl_debug
...
net: some debug code
2014-06-22 19:27:18 +02:00
René Kijewski
840c0f0a57
make: detect their module name automatically
...
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.
This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
Oleg Hahm
e165a08606
fixed debugging for cc110x
2014-06-03 15:04:52 +02:00
Oleg Hahm
e5e9d9e538
set correct transceiver stack size for debugging
2014-06-03 15:04:52 +02:00
Oleg Hahm
4f62ef4547
some minor fixes and debugging
2014-06-03 15:04:50 +02:00
Thomas Eichinger
f32c7af1a9
sys:transceiver: fix some doxygen comments
2014-05-27 15:57:28 +02:00
Ludwig Ortmann
3a1980af36
redbee-econotag: fix maca
...
I suspect that the transceiver will still not work as there are many
many warnings, but at least it builds now.
closes : #676
2014-04-18 16:05:23 +02:00
Ludwig Ortmann
91814e52ae
make: replace MAKEBASE with RIOTBASE
...
closes https://github.com/RIOT-OS/RIOT/issues/959
2014-04-01 16:40:28 +02:00
Oleg Hahm
169976f90a
fix ignore command
2014-03-09 18:59:35 +00:00
Martin Lenders
7f8e2c2991
Add getter and setter of long addresses to transceiver
2014-02-28 23:13:22 +01:00
Martin Lenders
fa11d82443
Allow IEEE 802.15.4 addressing types for transceiver
...
IEEE 802.15.4 has two addressing modes: 16-bit short and the device's
EUI-64. Currently RIOT supports only sending of packets with 16-bit
short addresses via the transceiver interface. This patch allows at
least for the radio chips that support IEEE 802.15.4 to let the
application/upper layer decide which addressing mode to use.
Upper layer implementation will be implemented in follow-up PR to #460
2014-02-28 23:13:04 +01:00
Martin Lenders
1e4badf85a
Fix coding conventions in sys/transceiver/transceiver.c
2014-02-28 13:39:24 +01:00
Christian Mehlis
0309fecc19
fix warning: invalid suffix on literal
...
C++11 requires a space between
literal and identifier [-Wliteral-suffix]
2014-02-18 17:05:01 +01:00
Ludwig Ortmann
47aa7b4bb2
reflect the original intent of the unused ignore_add parameter
2014-02-15 12:58:55 +01:00
Ludwig Ortmann
5ede3a82df
fix ignore_add unused parameter warning
2014-02-15 12:11:47 +01:00
Thomas Eichinger
17b624e0a4
Merge pull request #681 from OlegHahm/at86rf231_fixes
...
at86rf231: fix includes and shell commands
2014-02-12 09:46:13 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
f379eefbd8
fix includes and shell commands for at86rf231
2014-02-11 17:15:03 +01:00
Oleg Hahm
30b6c16512
include cc110x.h instead of deprecated interface.h
2014-02-11 13:36:40 +01:00
Ludwig Ortmann
7584fd04a4
fix maca get_channel transceiver switch
2014-02-07 18:56:04 +01:00
Ludwig Ortmann
e091c17040
make transceiver get/set address type safe
2014-02-07 18:56:04 +01:00
Oleg Hahm
355f6610d5
Merge pull request #482 from OlegHahm/driver_includes
...
Driver includes
2014-02-07 17:21:45 +01:00
Martin
78874331de
fix changed checking order to avoid possible access violation
2014-02-07 09:06:34 +01:00
Martin Lenders
4e57b54650
Fix types in transceiver.c
2014-02-06 02:32:38 +01:00