Commit Graph

38 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
b80d113253 Add a common set of portable RTIMER_BUSY_WAIT functions 2018-10-12 09:08:03 +02:00
Simon Duquennoy
fac787231d Added TSCH_CONF_ARCH_HDR_PATH for platform-specific TSCH includes 2018-10-10 16:52:33 +02:00
Simon Duquennoy
d150de227f cc2420: remove unused variables 2018-10-10 12:02:53 +02:00
Simon Duquennoy
22cbced037 TSCH: timeslot timing templates as const 2018-10-04 13:07:25 +02:00
Simon Duquennoy
cc0c70c1b3 TSCH: move 10ms and 15ms timeslot timings to separate files 2018-10-04 10:50:10 +02:00
Simon Duquennoy
b5e12154c4 cc1200: added option to separate filling the Tx FIFO from actual transmission 2018-10-04 10:50:10 +02:00
Simon Duquennoy
0ef1ee6df5 cc1200: make pending_packet work even when interrupt handler was not called 2018-10-04 10:50:10 +02:00
Simon Duquennoy
90264a3ba3 cc1200: read out any pending packet before turning off 2018-10-04 10:50:10 +02:00
Simon Duquennoy
f4c1ae0fdd cc1200: reset rf_flags in on() 2018-10-04 10:50:09 +02:00
Simon Duquennoy
c589875aee cc1200: implement poll mode 2018-10-04 10:50:09 +02:00
Simon Duquennoy
ce0f95ec50 cc1200 flags for TSCH 2018-10-04 10:50:09 +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
ddeeb63ddd CC1200 set_channel: compute channel within bounds from any input channel 2018-10-03 13:31:33 +02:00
Simon Duquennoy
e18660367b CC1200: disable debug by default 2018-10-03 13:29:47 +02:00
Simon Duquennoy
a09fb40bf7 CC1200: add SFD timestamping and RSSI features 2018-10-03 13:28:50 +02:00
Simon Duquennoy
4583fff094 Radio API: added values/objects for TSCH constants 2018-10-03 12:42:06 +02:00
Simon Duquennoy
c4c1e589f7 cc1200: add 1000 kbps configuration, including TSCH configuration 2018-10-03 12:25:09 +02:00
Simon Duquennoy
6b1292d9d9 cc1200: add required structures and defines for TSCH support 2018-10-03 12:24:40 +02:00
Atis Elsts
8db3c8d3be add const to spi_device_t * parameter in SPI functions, and store ext-flash default config in ROM instead of RAM 2018-09-25 14:28:50 +01:00
George Oikonomou
9aa08fd302 Reposition the generic flash driver in the doxygen tree 2018-05-26 02:22:43 +01:00
Simon Duquennoy
f9a1f958e1 Merge remote-tracking branch 'origin/release-4.1' into develop 2018-04-20 08:37:14 -07:00
Simon Duquennoy
d128898420 cc2420: use IEEE802154_DEFAULT_CHANNEL 2018-04-13 08:06:02 -07:00
George Oikonomou
f6bd7ba47a Fix code style 2018-04-07 14:49:40 +01:00
Xenofon (Fontas) Fafoutis
f91b223c57 ext-flash: doxygen errors fixed 2018-04-04 12:23:53 +01:00
Xenofon (Fontas) Fafoutis
629803c5e5 ext-flash driver moved to arch/dev/ 2018-04-04 11:30:32 +01:00
George Oikonomou
ee4e287fc5 Rename old SPI API to -legacy.h 2018-04-04 11:30:32 +01:00
George Oikonomou
c8debbac22 Add RGB LED driver 2018-03-01 15:29:30 +00: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
Niclas Finne
fafe4bb1f3 energest: replaced some energest on/off with ENERGEST_SWITCH() 2017-10-12 23:59:11 +02:00
Simon Duquennoy
543408db68 Re-organzie ip stack implementation 2017-09-22 17:09:54 +02:00
Simon Duquennoy
0f92c6ebfd Include contiki.h instead of contiki-conf.h so as to ensure consistent inclusion of contiki-default-conf.h 2017-09-08 14:20:59 +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