Commit Graph

11 Commits

Author SHA1 Message Date
Carlos Pérez Penichet 2d2d6b3ad6 Fixed code style issues 2018-10-29 11:15:40 +01:00
Carlos Pérez Penichet a906f03a25 cc2420 return to last state when disabling carrier
Made cc2420 follow the same logic as cc2538 when
disabling the unmodulated carrier. Now they both
return to the state they were in before the carrier
was enabled.
2018-10-26 16:28:20 +02:00
Carlos Pérez Penichet c6770112af Fixed code style and removed forgotten pritf's 2018-10-25 11:49:20 +02:00
Carlos Pérez Penichet feb1513b46 Unmodulated carrier transmission for cc2420
Modified the cc2420 driver to enable the radio test
mode to emit unmodulated carriers (tones).
A carrier can be enabled using the normal radio driver
API:
NETSTACK_CONF_RADIO.set_value(
    RADIO_PARAM_POWER_MODE,
    RADIO_POWER_MODE_CARRIER_ON);

Once enabled, the carrier can be disabled like this:
NETSTACK_CONF_RADIO.set_value(
    RADIO_PARAM_POWER_MODE,
    RADIO_POWER_MODE_CARRIER_OFF);
2018-10-24 15:26:40 +02:00
Simon Duquennoy d150de227f cc2420: remove unused variables 2018-10-10 12:02:53 +02:00
Simon Duquennoy d128898420 cc2420: use IEEE802154_DEFAULT_CHANNEL 2018-04-13 08:06:02 -07:00
George Oikonomou ee4e287fc5 Rename old SPI API to -legacy.h 2018-04-04 11:30:32 +01:00
Niclas Finne e6ba2664b8 energest: removed include of energest from contiki.h to avoid circular dependency 2017-10-31 22:18:17 +01:00
Niclas Finne 888a04e70f energest: removed support for ENERGEST_CONF_LEVELDEVICE_LEVELS 2017-10-13 00:05:31 +02:00
Simon Duquennoy 9a0087faf3 Simplify configuration through more suitable defaults, and removed unused features. Cleanup many configuration files. 2017-07-06 10:01:55 +02:00
Nicolas Tsiftes 9bb51087bf Renamed the drivers directory to arch to reflect that this is the main place for architecture-dependent functionality. 2017-06-28 16:20:43 +02:00