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

1834 Commits

Author SHA1 Message Date
Marian Buschsieweke
87055d7b6d
netdev_driver_t::recv: Added drop and size to doc
netdev_driver_t::recv does on of three things:
 - Receive the frame
 - Drop it
 - Get (an estimation of) the size of the frame

The brief section of the documentation was changed to reflect this. (And it
starts with the least obvious thing in the hope readers of the API stumble upon
it...)
2018-12-28 20:23:11 +01:00
Marian Buschsieweke
b6069eb5f5
netdev_driver_t::recv: Fixed preconditions in doc
Removed the invalid precondition in netdev_driver_t::recv that the buffer never
NULL and the length positive. (In the "get message size" case both is wrong, in
the drop message case the first part is wrong.)
2018-12-28 20:22:57 +01:00
74d97de11d drivers/ccs811: cleanup documentation (fix codacy) 2018-12-20 12:42:44 +01:00
Gunar Schorcht
3181a2faa7 drivers/ccs811: nWAKE and nRESET moved to base 2018-12-20 12:42:44 +01:00
Gunar Schorcht
d513e9d3d3 drivers/ccs811: fix build issues on AVR platform 2018-12-20 12:42:44 +01:00
8a7edeb193 drivers/ccs811: fix build issues on ARM (#1)
* drivers/ccs811: fix types in debug messages

* drivers/driver_ccs811_full: fix unused variable build error
2018-12-20 12:42:44 +01:00
Schorcht
98af7d3d62 drivers: add driver for CCS811 gas sensor 2018-12-20 12:42:44 +01:00
Schorcht
74e1ab220c drivers: add driver for CCS811 gas sensor 2018-12-20 12:42:44 +01:00
Martine Lenders
6886ca54c2
Merge pull request #10537 from miri64/netdev_ieee802154/fix/get-iid
netdev_ieee802154: fix IID getter
2018-12-11 15:59:52 +01:00
Hauke Petersen
c8aaea4288 drivers/netdev_eth: use eui48 for IID generation 2018-12-06 22:02:01 +01:00
Hauke Petersen
39f0e4d5d3 periph/uart: fix line length in doc header 2018-12-06 10:08:56 +01:00
1008ab4fdf drivers/periph_eeprom: add eeprom_set function 2018-12-04 11:24:57 +01:00
50f19d1d1f drivers/periph_eeprom: add clear and erase functions 2018-12-04 11:24:57 +01:00
Sebastian Meiling
f492bbd142
Merge pull request #10535 from bergzand/pr/kw2xrf/undedup_channel
kw2xrf: Don't use netdev_ieee802154_t for channel
2018-12-03 21:00:27 +01:00
Martine Lenders
fcfc7c3357 netdev_ieee802154: fix IID getter
With ace5db70e8 the IID may be gotten from
the device again. However, following the current refactoring efforts
regarding the `netdev_ieee802154` layer, the devices don't necessarily
store the address in the `netdev_ieee802154_t` struct anymore. So we
need to access the address using the driver's `get` function here
instead.
2018-12-03 14:49:41 +01:00
Marian Buschsieweke
003c04bd4c
Merge pull request #10012 from gschorcht/drivers_sht3x
drivers: sht3x temperature and humidity sensor
2018-12-03 10:43:16 +01:00
dc70c3c218
kw2xrf: don't set netdev channel in set_channel 2018-12-03 10:17:26 +01:00
e3eaf4671f
kw2xrf: Don't propagate NETOPT_CHANNEL setter
This modification changes the netdev::set function for the kw2xrf to not
propagate the NETOPT_CHANNEL to the generic netdev_ieee802154 code
2018-12-03 10:16:08 +01:00
603b754d24
kw2xrf: Add NETOPT_CHANNEL to getters 2018-12-03 10:15:33 +01:00
Martine Lenders
03b91cbcb8 esp_now: use NETDEV_TYPE_ESP_NOW as device type 2018-11-29 13:35:20 +01:00
Sebastian Meiling
4eaf1d8135
Merge pull request #10384 from bergzand/pr/netdev/ref_nid
netdev_ieee802154/radios: refactor PAN ID reset to generic ieee802154 reset
2018-11-28 12:15:45 +01:00
2abf86afb4
mrf24j40: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:04 +01:00
5566f48f02
kw2xrf: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:04 +01:00
bd4592a06b
cc2420: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:03 +01:00
357eed551d
at86rf2xx: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:03 +01:00
03653ecd39
mrf24j40: Remove PAN ID initialization from reset 2018-11-28 11:31:03 +01:00
52e68735c3
kw2xrf: Remove PAN ID initialization from reset 2018-11-28 11:31:03 +01:00
d2ddc4ef2e
cc2420: Remove PAN ID initialization from reset 2018-11-28 11:31:02 +01:00
6306308ef5
at86rf2xx: Remove PAN ID initialization from reset 2018-11-28 11:31:02 +01:00
167858077f
netdev_ieee802154: Add PAN ID to reset function
This commit adds the reset of the PAN ID to the generic ieee802154 reset
function.
2018-11-28 11:30:56 +01:00
Joakim Nohlgård
a867aeaba2 periph/i2c: Add precondition on i2c_acquire for i2c bus access 2018-11-28 08:43:01 +01:00
Martine Lenders
eaabd47dd8
Merge pull request #10275 from gebart/at86rf2xx/ed-overhaul
at86rf2xx: refactor received frame ED processing
2018-11-22 14:20:05 +01:00
059af13933
Merge pull request #10306 from aabadie/pr/drivers/mma8x5x_update
drivers/mma8x5x: remove useless type from initialization parameters
2018-11-22 10:18:43 +01:00
Hauke Petersen
a07e71418e drivers/slipdev: use netdev_set_notsup() 2018-11-21 14:33:22 +01:00
Hauke Petersen
7af516a618 netdev: add funcs for declaring get/set as notsup
This commit adds two convenience functions that allow to declare
get() and/or set() as not supported when declaring a
netdev_driver struct.
2018-11-21 14:33:22 +01:00
Schorcht
9d59e27d41 drivers: add SHT3X humidity/temperature sensor 2018-11-21 08:48:20 +01:00
a63d76b346 drivers/mma8x5x: remove use of type param
Driver now accepts all variants of the driver
2018-11-20 10:41:45 +01:00
josar
8e7c6cc26a at86rf2xx/at86rf2xx_netdev: improve documentation.
It was not obvious where `dev->idle_state` was saved.
2018-11-16 18:53:36 +01:00
836fe3dbba
Merge pull request #9890 from bergzand/pr/ethos/sync
ethos: Only accept frame if previous frame is read
2018-11-14 22:41:52 +01:00
c4608ca0eb
ethos: Only accept frame if previous frame is read 2018-11-14 22:16:04 +01:00
Sebastian Meiling
1f7ec9b208
Merge pull request #10334 from maribu/saul_rssi
{drivers/saul,sys/phydat}: Added RSSI sensor and dBm unit
2018-11-12 21:01:24 +01:00
64afc748ca
Merge pull request #10178 from jcarrano/qualifier-fixes/ethos
drivers/ethos: remove unnecessary casts.
2018-11-07 09:14:40 +01:00
Marian Buschsieweke
3cc6c7f465
drivers/saul: Added sensor type RSSI 2018-11-06 11:07:13 +01:00
Juan Carrano
53de520619 drivers/at: fix invalid function pointer cast. 2018-10-31 10:58:43 +01:00
Joakim Nohlgård
23738008a7 at86rf2xx: refactor received frame ED processing
The value at the end of the frame buffer is the ED value, same as
PHY_ED_LEVEL, which is given in dB offset from RSSI_BASE.
2018-10-27 01:45:01 +02:00
Josarn
d1261a7ef0 at86rf2xx: correct framebuffer release
This PR sets the tranceiver in PLL_ON state to avoid corruption of the
data in the frame buffer and sets it back to the last state which the
 transceiver had before changing into transmit mode after the data is
read out. This is done to avoid data corruption when `_recv(...)` is
called to retrieve the buffer size and frame buffer protection is released.
2018-10-26 19:16:34 +02:00
danpetry
99ae495226
Merge pull request #10011 from leandrolanzieri/pr/drivers/ds18
drivers/ds18: Add Maxim Integrated 1-Wire temperature sensor driver
2018-10-25 17:26:10 +02:00
Martine Lenders
bd06f7e846
Merge pull request #10250 from bergzand/pr/at86rf2xx/reenable_ack_req
at86rf2xx: Re-enable ack requests by default
2018-10-25 14:08:35 +02:00
c3da55b015
at86rf2xx: Re-enable ack requests by default
Properly splitting the flags between netdev_ieee802154 and the at86rf2xx
driver had as side effect that the ACK REQ flag was no longer set by
default. This commit reverts the default settings by enabling it again
on startup. The current code calls the generic netdev setter to set the
flag.
2018-10-25 12:17:02 +02:00
Frits Kuipers
8b8790c18f drivers/ds18: Add Maxim Integrated ds18 driver
tests/driver_ds18: Add test application for DS18B20 sensor.

tests/driver_ds18: Add whitelist of boards
2018-10-24 16:02:05 +02:00