93ce8bc36f
drivers/kw2xrf_spi: DEBUG fixes
2018-01-15 14:37:05 +01:00
PeterKietzmann
73a2810330
drivers/kw2xrf: finish ongoing transmission before sending next frame
2017-12-20 14:26:26 +01:00
Tristan Bruns
19f6544466
drivers/kw2xrf: fix fall through
...
This was made visible by #7919 . Broke build on GCC 7.2.
Probably a bug.
2017-12-01 11:20:07 +01:00
smlng
b283b7784c
make: fix various compile errors with Wextra
...
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
2d491e0619
kw2xrf: dBm conversion to int16_t
2017-11-27 21:49:15 +01:00
smlng
6ac0922c7d
doc: replace dashes
2017-09-06 08:49:05 +02:00
162478cd6d
spelling: s/initialise/initialize/
2017-09-05 11:04:25 +02:00
94c753c07a
drivers: doxygen cleanup
2017-09-01 15:12:20 +02:00
Joakim Nohlgård
065bc62e0a
netdev: Make set() value parameter const void *
2017-08-25 13:41:19 +02:00
Cenk Gündoğan
6d0fa42d07
kw2xrf: use static inline
2017-05-30 09:51:30 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
cfd10c394a
adapt to changed byteorder.h
2017-04-13 11:35:35 +02:00
Martine Lenders
29842bb5e4
netdev2: rename to netdev and remove gnrc_netdev
...
With some minor hand-edits I used the following chain of commands:
```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
-e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
-e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
grep "netdev2" | while read dir; do
new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
git mv -f "$dir" "$new_dir"
done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | while read file; do
new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
git mv -f "$file" "$new_file"
done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Hauke Petersen
79a113d1ba
sys/drivers: renamed uuid module to luid
2017-02-27 11:01:20 +01:00
PeterKietzmann
e617d74fa8
drivers/kw2xrf: update default params on init
2017-02-07 15:08:14 +01:00
smlng
432b03e99e
drivers/kw2xrf: cleanup
...
- use generic short and long address generator
- defines in main header file
- refine debug output
- correct signed/unsigned warnings
2017-02-07 15:08:14 +01:00
smlng
887f499eca
drivers/kw2xrf: adapt to new SPI interface
...
- add docu for structs, defines and functions
- exclude drivers/kw2xrf/include/overwrites.h (vendor header)
- add missing header guards
2017-02-07 15:08:05 +01:00
Johann Fischer
cf32ff7f19
drivers/kw2xrf: adapt for the netdev2 interface
...
Adapt the kw2xrf driver for the netdev2 interface.
This patch also adds overwrites.h, the header provides overwrite
values for the kw2xrf PHY.
2017-02-07 15:07:33 +01:00
Hauke Petersen
e5ab3c2020
drivers/kw2xrf: adpated to SPI API changes
2017-01-25 16:46:45 +01:00
smlng
fc9e1d9024
kw2xrf: set tx_power in gnrc_netdev_t
...
without this patch, tx_power is directly set on the device but not in
gnrc_netdev_t. Thus, calling ifconfig in shell shows tx_power always
at 0dBm, never showing the correct, current value. Additionally, it
verifies that given tx_power to be set is in valid range.
2016-09-16 10:52:53 +02:00
PeterKietzmann
ed470e11f8
drivers/kw2xrf: improve default short address
2016-05-31 13:12:57 +02:00
Oleg Hahm
32606382a1
drivers 802154: always memset cpuid before setting
2016-04-04 18:20:19 +02:00
Oleg Hahm
416b9759e2
drivers 802154: use memset for eui64 padding
2016-04-04 16:53:21 +02:00
Martine Lenders
4d46a5f91e
Merge pull request #5242 from OlegHahm/eliminate_ieee802154_literals
...
ieee802154: replace literals for lengths by macros
2016-04-04 16:37:08 +02:00
Oleg Hahm
a59e100d41
ieee802154: replace literals for lengths by macros
2016-04-04 15:24:47 +02:00
Oleg Hahm
6f58862fec
driver: assure required buffer size
...
The cpuid buffer is also used as a temporary buffer to store the EUI-64 of the transceiver, so we need to make sure that it is always big enough.
May be padded with zeroes for smaller CPUIDs.
2016-04-03 22:38:13 +02:00
Hauke Petersen
e51d634aeb
drivers: adapted gpio_init(_x)() calls
2016-03-17 14:55:30 +01:00
Oleg Hahm
b27a1e8e24
kw2xrf: fix two typos
2016-02-23 23:26:44 +01:00
Cenk Gündoğan
f0068ba446
drivers/kw2xrf: use NETOPT_STATE_RX for rcv
2016-02-21 22:57:09 +01:00
Cenk Gündoğan
698191eb2b
kw2xrf: wait for previous transmissions to end
2016-02-18 15:43:22 +01:00
Joakim Nohlgård
d8deae0375
drivers/kw2xrf: Comment out unused LUT
2016-02-11 15:13:30 +01:00
Hauke Petersen
f3ac84d43a
drivers: s/CPUID_ID_LEN/CPUID_LEN/
2016-02-08 11:10:59 +01:00
Johann F
97120f1cce
drivers/kw2xrf/kw2xrf.c: fix MAX_PKT_LENGTH
...
This patch fixes MAX_PKT_LENGTH on kw2x radio
2016-01-07 01:37:00 +01:00
Johann Fischer
63fd7dc53a
drivers/kw2xrf/kw2xrf.c: fix bug and cleanup _assemble_tx_buf
...
BUG: the pktbuf was released at the wrong place and
return value of _assemble_tx_buf was not verified.
2015-12-07 12:56:32 +01:00
Jonas
e9f86c1126
Implemented the NETOPT_CCA_THRESHOLD option for KW2xrf
2015-11-30 13:15:25 +01:00
Oleg Hahm
b978510188
802154 drivers: set first bit to 0 in 16 bit addr
...
The first bit is required to be 0 for short addresses when used with 6LoWPAN by https://tools.ietf.org/html/rfc4944#section-12 .
2015-11-03 11:06:54 +09:00
smlng
3ed71ae2c6
drivers/kw2x: fix packet address setting
...
- fix dst address reversed in packet header
- code and docu cleanup
- based on at86rf2xx
2015-10-02 10:11:16 +02:00
Oleg Hahm
0a54f57043
kw2xrf: short address getter and iid option
2015-09-22 11:41:05 +02:00
Oleg Hahm
e2639d7f83
core: use enums for panic
2015-09-04 16:14:35 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00
Martine Lenders
b969eeb217
gnrc: rename ng_netbase to gnrc
2015-08-18 16:11:55 +02:00
Martine Lenders
e8d5d5576a
gnrc: piggy-back some code style changes
2015-08-07 16:53:05 +02:00
Martine Lenders
9cf5e5fb6a
ieee802154: remove ng_ prefix
2015-08-07 14:36:04 +02:00
Hauke Petersen
97a19016cf
drivers: adapted to renamed NETOPT header
2015-08-06 15:36:56 +02:00
Martine Lenders
6f56b983f0
gnrc: replace all instances of ng_netconf with ng_netopt
2015-07-28 13:33:12 +02:00
Hauke Petersen
350cfc7a2b
Merge pull request #3095 from haukepetersen/opt_gpio
...
drivers/gpio: changed periph driver interface
2015-06-15 13:57:03 +02:00
Jonas
404e7b1016
driver/kw2xrf: set HW-address according to CPUID; Correct broadcast handling
2015-06-13 22:30:04 +02:00
Hauke Petersen
2cc2d9f740
drivers: adjusted drivers to changed GPIO interface
2015-06-12 19:10:29 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Jonas
3287e71d45
Initial import of tests for kw2x radio
...
squash: driver: fixed typo to pass doccheck
squash: driver: bug fixes after test
squash: adapted Makefiles for correct build behaviour
restructured, no spi interaction in isr anymore
major bugfixes and restructurization
comments addressed
introduce new netconf option, ..AUTOCCA
squash: minor bugfix and add auto-init mechanism
squash: minor fixes to make travis happy
2015-05-13 13:06:59 +02:00
Jonas
49f09477af
Initial commit of ng_kw2xrf radio driver
...
squash: removed tab indent
2015-05-13 11:21:14 +02:00