Commit Graph

22 Commits

Author SHA1 Message Date
Simon Duquennoy 36d9d4a846 Radio API: document TSCH-related radio constants 2019-02-24 16:05:21 +01:00
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 79a4fe33a6 Unmodulated carrier transmission for cc2538
Modified the cc2538 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-25 11:24:44 +02:00
Simon Duquennoy 1627aa18a4 Add missing return statement 2018-10-11 20:18:51 +02:00
Simon Duquennoy 22cbced037 TSCH: timeslot timing templates as const 2018-10-04 13:07:25 +02:00
Simon Duquennoy f79a19eaab cc2538-rf and cc1200: only include implementation of RADIO_CONST_TSCH_TIMING when TSCH is enabled 2018-10-04 10:50:09 +02:00
Simon Duquennoy 5497dc1e20 TSCH: timeslot timings as a structure, for flexible configuration 2018-10-04 10:50:09 +02:00
Simon Duquennoy 4583fff094 Radio API: added values/objects for TSCH constants 2018-10-03 12:42:06 +02:00
kkrentz 501ce04f05 cc2538-rf: Simplified set_channel 2018-10-02 07:07:54 -07:00
kkrentz 9f78836219 cc2538-rf: Simplified get_channel 2018-10-02 07:07:01 -07:00
kkrentz 34f697adf7 cc2538-rf: Support for disabling the SHR search 2018-10-02 07:07:01 -07:00
kkrentz f8091cb87c cc2538-rf: Use logging API 2018-10-02 07:07:01 -07:00
kkrentz 9c1fefa7a7 cc2538-rf: More compact implementation of getting RSSIs 2018-10-02 07:07:01 -07:00
kkrentz 34997f60f6 cc2538-rf: Removed unused function "cc2538_rf_set_promiscous_mode" 2018-10-02 07:07:01 -07:00
kkrentz a1fddeb0f7 cc2538-rf: After init, we are not in receive mode 2018-10-02 07:07:01 -07:00
kkrentz 3045a47a29 cc2538-rf: As per the user's guide, RFCORE_XREG_FSCAL1 needs updating, too 2018-10-02 07:07:01 -07:00
Simon Duquennoy 0b2ea0d810 cc2538-rf: use IEEE802154_DEFAULT_CHANNEL 2018-04-13 02:27:17 -07:00
Niclas Finne fafe4bb1f3 energest: replaced some energest on/off with ENERGEST_SWITCH() 2017-10-12 23:59:11 +02:00
Niclas Finne 7317316942 energest: removed energest type ENERGEST_TYPE_IRQ 2017-10-12 23:57:38 +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