1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

968 Commits

Author SHA1 Message Date
20cb96f4df drivers: add dependency to xtimer to bmp180 2016-07-25 15:32:09 +02:00
847e6c6494 drivers/bmp180: add a delay before accessing calibration registers 2016-07-25 15:30:39 +02:00
d3fb1d9883 drivers/bmp180: implementation cleanup 2016-07-25 11:52:15 +02:00
Bas Stottelaar
0902ccb2e0 drivers: si70xx: adapt for SAUL 2016-07-22 18:22:13 +02:00
c239ec351a Merge pull request #5666 from aabadie/bmp180_deps
drivers/bmp180: add dependency to periph_i2c
2016-07-22 09:47:28 +02:00
144ab431e7 drivers/bmp180: add dependency to periph_i2c 2016-07-20 10:47:05 +02:00
Bas Stottelaar
bcd73105bd drivers: l3g4200d: fix saul doxygen group 2016-07-19 23:50:04 +02:00
kYc0o
91410f5259 Merge pull request #5626 from aabadie/default_channel
makefiles: expose a single DEFAULT_CHANNEL variable
2016-07-18 14:26:24 +02:00
Oleg Hahm
29fd3a1098 Merge pull request #5641 from lebrush/encx24j600-fixes
drivers/encx24j600: minor fixes
2016-07-18 08:38:28 +02:00
271cbc26b8 drivers/cc2420 & cpu/cc2538: adding support for default channel configuration 2016-07-14 17:50:50 +02:00
87ca058417 makefiles: expose a single DEFAULT_CHANNEL variable 2016-07-14 17:44:42 +02:00
75168936f6 drivers/cc110x: fix typo in macro definition. 2016-07-14 17:22:03 +02:00
Victor Arino
50eee7fa8a drivers/encx24j600: minor fixes 2016-07-14 16:44:39 +02:00
f0640ee4d8 Update lsm303dlhc.c 2016-07-13 11:30:42 +02:00
Joakim Nohlgård
4798cd66d9 drivers/nvram: Add const to write source buffer declaration 2016-07-12 08:03:16 +02:00
kYc0o
374f4a1981 drivers/include: add cc2420 doxygen doc 2016-07-06 20:23:23 +02:00
kYc0o
62d8b9a268 drivers/cc2420: factorise/reorganise overall code 2016-07-06 20:23:23 +02:00
Hauke Petersen
abc6b5ccdf drivers: added support for CC2420 radio 2016-07-06 18:14:48 +02:00
Michel Rottleuthner
822007fa67 drivers/dht: fix fake parsing error with DHT22 2016-07-05 15:10:49 +02:00
Andreas "Paul" Pauli
87cb266a1b Merge pull request #5437 from miri64/doc/enh/netdev-rx-fig
doc: add operational flow figure for netdev
2016-06-16 19:33:37 +02:00
Martine Lenders
af2e169db1 netdev2: doc: update doc text for operational flow figure 2016-06-15 23:26:23 +02:00
Laurent Navet
96ebff9174 drivers/uart: fix typos 2016-06-14 22:54:25 +02:00
7718f114cb all: remove pointer casts for msg.content.ptr 2016-06-02 23:13:42 +02:00
3ad195963d drivers: netdev2: rename isr_arg 2016-06-02 11:11:40 +02:00
d7b17684e4 drivers: net: adapt to removed event_callback argument 2016-06-02 11:11:40 +02:00
82243b86fc drivers: netdev2: remove extra event_callback argument 2016-06-02 11:11:40 +02:00
4a595d7b19 drivers/bmp180: add saul adaptation 2016-06-01 11:15:01 +02:00
Aaron Sowry
63a87fb639 Implement NETOPT_ACK_REQ configuration option.
Allows setting the acknowledgement request bit of 802.15.14
headers via netdev.
2016-06-01 10:11:28 +12:00
PeterKietzmann
ed470e11f8 drivers/kw2xrf: improve default short address 2016-05-31 13:12:57 +02:00
Joakim Nohlgård
407e10d5b3 drivers/si70xx: Use Doxygen group drivers_sensors 2016-05-26 12:53:51 +02:00
Joakim Nohlgård
e215c9270e drivers/lis3mdl: Change doxygen grouping to sensor drivers 2016-05-26 12:47:42 +02:00
Peter Kietzmann
e08733d2d1 Merge pull request #5234 from thomaseichinger/pr/phr_length_mask
drivers/at86rf2xx: mask frame length according to data sheet
2016-05-20 15:14:55 +02:00
Thomas Eichinger
5a45c31bcb drivers/at86rf2xx: remove unused functions
These two functions are not used anymore and can be omitted.
2016-05-20 15:05:27 +02:00
Peter Kietzmann
e55c8394ae Merge pull request #5327 from authmillenon/netdev2_ieee802154/enh/assert-instead
netdev2_ieee802154: replace overflow checks with asserts
2016-05-18 12:04:00 +02:00
Oleg Hahm
814be0655f doc: minor fixes of typos in periph documentation 2016-05-03 23:37:22 +02:00
Oleg Hahm
e110d412a3 at86rf2xx_netdev: debug output is wrong 2016-04-28 11:35:13 +02:00
Yonezawa-T2
3e70191aee Merge pull request #2842 from FrancescoErmini/drivers_xbee_encryption
drivers/xbee: add optional AES encryption support
2016-04-21 10:26:06 +09:00
Martine Lenders
315dea3e7c netdev2_ieee802154: replace overflow checks with asserts 2016-04-21 00:45:50 +02:00
Francesco Ermini
9fa4684203 drivers/xbee: encryption support
add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

modify drivers/xbee/xbee.c

fix white spaces on xbee.c

Update xbee encryption driver

white line at end xbee.h

fix error

fix sc_netif.c

fix rebase master interactive

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

modify drivers/xbee/xbee.c

fix white spaces on xbee.c

Update xbee encryption driver

white line at end xbee.h

fix error

fix rebase  conflict 4

fix same missing in patches changes

fix ascii to hex index parser

fix syntax rules

fix syntax issue 2

add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY

fix trailng white spaces
2016-04-20 17:43:09 +02:00
Martine Lenders
cedf7d8455 Merge pull request #5227 from authmillenon/at86rf2xx/fix/set
at86rf2xx: fix option setting
2016-04-20 17:33:44 +02:00
Martine Lenders
0fa5b81e6a netdev2_ieee802154: fix channel setting 2016-04-20 16:35:30 +02:00
Martine Lenders
7b78775185 at86rf2xx: fix option setting 2016-04-20 16:35:29 +02:00
kYc0o
724276e913 Merge pull request #4734 from Yonezawa-T2/xbee_resp_timeout
xbee: add timeout for AT command response (fixes #4731)
2016-04-19 13:34:21 +02:00
Yonezawa-T2
4042239b04 xbee: add timeout for AT command response (fixes #4731) 2016-04-19 11:19:25 +09:00
Yonezawa-T2
eb7cc30494 xbee: enriched debug output 2016-04-19 11:17:13 +09:00
Yonezawa-T2
15ecee46ee xbee: add packet filtering to emulate non-transitive network.
When debugging multihop wireless network, it is useful to emulate non-transitive
network, that is, node A can communicate with B and B can communicate with C,
but A cannot communicate with C directly.

If `XBEE_DENIED_ADDRESSES`, which is an array of XBee long addresses, is
defined, packets from those addresses are dropped silently.

Example:
CFLAGS += "-DXBEE_DENIED_ADDRESSES={ 0x02, 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0x02, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11 }"
2016-04-19 11:17:13 +09:00
Yonezawa-T2
a6ae7c8091 xbee: fixed that _set_addr destructed given address.
`_set_addr` is called from `xbee_init` with lower bytes of the long address.
If `_set_addr` destructs the given address, the long address is also destructed.
2016-04-19 11:17:13 +09:00
Yonezawa-T2
66dd84eff2 xbee: disable short address when the address length is set to 8
XBee sends short address even for `API_ID_TX_LONG_ADDR` if short address is
enabled. This results in check sum error of ICMPv6 since the IP address is
computed based on long address on the sender side while it is computed based on
short address on the receiver side.
2016-04-19 11:17:13 +09:00
Yonezawa-T2
67c3ab8fdd xbee: changed default channel from 0x1A to 0x17 to support XBee-PRO
XBee supports channels 0x0B-0x1A while XBee-PRO supports only 0x0C-0x17.
2016-04-19 11:17:12 +09:00
Yonezawa-T2
8481d85ead xbee: fixed RSSI header parsing 2016-04-19 11:17:12 +09:00
Yonezawa-T2
bea5eacea2 xbee: fixed broadcast header
Destination address is at tx_buf[5] and tx_buf[6] rather than tx_buf[4] and
tx_buf[5].

Broadcast header is overridden by following code mistakenly.
2016-04-18 10:21:15 +09:00
Yonezawa-T2
4f864b0ec8 xbee: fixed missing unlocks 2016-04-18 10:20:52 +09:00
Hauke Petersen
25935bf95f drivers/Makefile.dep: fixed FEATURE_REQ assignments 2016-04-13 16:47:00 +02:00
kYc0o
e6d15f2d36 Merge pull request #5224 from haukepetersen/fix_periph_undef
drivers/periph: fixed UNDEF values to UINT_MAX
2016-04-13 16:39:59 +02:00
Bas Stottelaar
cf5e4c8fb6 drivers: si70xx: bugfixes + test improvements 2016-04-13 13:27:09 +02:00
Hauke Petersen
df574d6f2d Merge pull request #5231 from malosek/si70xx_driver_fix
drivers: si70xx: fixed left shift compiler warning for 16bit platforms
2016-04-13 13:13:24 +02:00
Hauke Petersen
5fe57b4659 Merge pull request #4725 from kaspar030/ethos_br_hack
simplified border router setup
2016-04-12 17:39:07 +02:00
Hauke Petersen
3ae9fd9536 Merge pull request #5255 from kaspar030/fix_encx24j600
drivers: misc fixes for encx24j600
2016-04-11 17:34:41 +02:00
7c9703b85b drivers: ethos: add missing tsrb dependency 2016-04-11 17:03:28 +02:00
27833444a0 drivers: ethos: make internal function static 2016-04-11 17:03:28 +02:00
d33423b5e6 drivers: ethos: fix cast of length parameter 2016-04-11 17:03:28 +02:00
2cd2194763 drivers: ethos: fix static const declarations 2016-04-11 17:03:28 +02:00
e4a92a697c drivers: ethos: add missing irq.h include 2016-04-11 17:03:28 +02:00
Oleg Hahm
70a2d68a8a Merge pull request #5289 from cgundogan/pr/at86rf2xx_netdev/fix
at86rf2xx_netdev: fix broken pending_tx handling
2016-04-11 15:03:41 +02:00
Cenk Gündoğan
9b01c6dbce at86rf2xx_netdev: use DEBUG instead of printf 2016-04-11 13:15:39 +02:00
Cenk Gündoğan
f570576976 at86rf2xx_netdev: fix broken pending_tx handling 2016-04-11 13:15:39 +02:00
Hauke Petersen
7c02c616bd Merge pull request #4863 from gebart/pr/saul-adc
SAUL: Add periph/adc support
2016-04-11 13:13:25 +02:00
malo
b9705c8727 drivers: si70xx: fixed si70xx_measure return value calculation on 16bit platforms
Signed-off-by: malo <malo@25cmsquare.io>
2016-04-09 22:12:44 +02:00
Martine Lenders
1c45c503b8 netdev2: fix event_callback references 2016-04-09 13:22:19 +02:00
Oleg Hahm
e2cb553d05 Merge pull request #5261 from OlegHahm/at86rf2xx_pending_TX
at86rf2xx: introduce pending TX counter
2016-04-08 13:08:39 +02:00
Oleg Hahm
252baecef7 at86rf2xx: introduce pending TX counter
This counter is necessary for the current concept to tell the driver when to return to idle after sending.
2016-04-08 11:32:40 +02:00
Joakim Nohlgård
50b48c28eb sys/saul: Add analog inputs to SAUL via periph/adc 2016-04-08 10:18:12 +02:00
Joakim Nohlgård
1f645cf436 drivers/saul: Fix typo in documentation 2016-04-08 10:17:23 +02:00
1ac0ab6905 drivers: encx24j600: prefix constants 2016-04-06 22:53:47 +02:00
d9d5d88b26 drivers: encx24j600.c: compile fixes 2016-04-06 22:53:27 +02:00
Hauke Petersen
6bebc9d588 make: moved driver deps to drivers/Makefile.deps 2016-04-06 15:39:34 +02:00
René Kijewski
f7428393b2 Merge pull request #5245 from OlegHahm/at86rf2xx_netstats_ifdef
at86rf2xx: fix netstats_l2 ifdef
2016-04-05 12:09:06 +02:00
Oleg Hahm
e0b475b25a at86rf2xx: fix netstats_l2 ifdef 2016-04-04 18:34:01 +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
Oleg Hahm
aa043a50bf drivers encx24j600: introduce netstats
This driver was missing netstats completely so far.
2016-04-03 18:05:07 +02:00
Oleg Hahm
4ba73928ac drivers enc28j60: correctly initialize netstats
Driver's netstats should be initialize in init, not isr...
2016-04-03 18:04:32 +02:00
Thomas Eichinger
e5e67b3870 drivers/at86rf2xx: mask frame length according to data sheet
After some discussion on the devel mailing list about smuggeling in corrupted frames by e.g. SDRs I'd propose we mask the length field according to the datasheet again. It was done before in at86rf2xx_get_length but this funtion did get used anymore along the way.
2016-04-02 12:29:22 -03:00
malo
86eb928642 drivers: si70xx: fixed left shift compiler warning for 16bit platforms
Signed-off-by: malo <malo@25cmsquare.io>
2016-04-02 00:54:04 +02:00
Hauke Petersen
af8f4040ac drivers/xbee: fixed missing newline in DEBUG 2016-04-01 11:48:35 +02:00
Hauke Petersen
9a4df61005 drivers/periph: fixed UNDEF values to UINT_MAX 2016-04-01 10:57:26 +02:00
Yonezawa-T2
c4bc42419b netdev2_tap: continue reading even if no spaces left in pktbuf
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.

With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Oleg Hahm
4f17d2bd9c Merge pull request #5211 from kaspar030/ethos_fixes
drivers: ethos: misc fixes
2016-03-31 00:43:55 +02:00
a833d838b9 drivers: ethos: don't error if recv buffer is larger than needed 2016-03-30 23:47:07 +02:00
Martine Lenders
c5dc5b2d24 Merge pull request #5208 from kaspar030/fix_ethos_compile
drivers: ethos: fix compile errors
2016-03-30 17:37:52 +02:00
036e7f248d drivers: ethos: fix compile errors 2016-03-30 17:09:58 +02:00
Peter Kietzmann
3fa8a267b3 Merge pull request #5155 from OlegHahm/diskio_cleanup
doc diskio: RIOTized style and added doxygen
2016-03-30 15:14:25 +02:00
Oleg Hahm
1f4d73dde1 Merge pull request #4801 from OlegHahm/netstats
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
0925737e28 doc diskio: RIOTized style and added doxygen 2016-03-30 12:54:51 +02:00
Oleg Hahm
7bce5a9ef8 Merge pull request #5189 from OlegHahm/cc110x_fix_typo
cc110x: fix typo
2016-03-30 01:17:39 +02:00
Oleg Hahm
86a83f8f86 cc110x: use CPP check instead of runtime check 2016-03-29 22:51:53 +02:00
Oleg Hahm
021e94ee6a netdev2: introduce linklayer netstats 2016-03-29 22:34:09 +02:00