Commit graph

17 commits

Author SHA1 Message Date
Adam Dunkels 5f3fe7f7c7 Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
Mariano Alvira ad55ccdec4 add working routines to turn the mc1322x radio on and off 2013-02-03 14:48:38 -05:00
Mariano Alvira f60a00b93e the contiki-maca process should wait for a poll event 2012-12-02 14:26:51 -05:00
Mariano Alvira 03ab3fe317 Newer and cleaner TARGET=econotag as well as robust mc13224v
configuration system.

(also deprecate TARGET=redbee-econotag)

- mc13224v now automatically probes hardware config for buck converter
and 32kHz crystal as well as automatically monitors battery voltage
and manages the buck accordingly.

- new flashed based config system for mc13224v parameters such has
  radio modes (demod, autoack), nvmtype, mac address, channel and
  power.

- considerably cleaned up econotag platform code (suffered from severe
  case of bit-rot)
2012-11-19 19:16:29 -05:00
Mariano Alvira bea643bc4a mc1322x: flush the radio rx queue in the receive process 2011-02-23 15:19:45 -08:00
Mariano Alvira c12ab0d484 mc1322x: get the tx status for a packet and return the proper response. 2011-02-23 15:19:44 -08:00
Mariano Alvira 535b9d35d7 mc1322x: disable broken maca calls for now.
maca_on, maca_off, and contiki_maca_init don't work correctly;
they mess up address filtering.

disable them for now and fix them later.
2011-02-23 15:19:44 -08:00
Mariano Alvira 8f9cf50e55 set timestamp packet attribute 2011-02-18 12:46:34 -05:00
Mariano Alvira a86a0fbe0e set lqi packet attribute 2011-02-18 12:46:10 -05:00
Mariano Alvira 7cdfbb0947 remove cvs keywords from cpu/mc1322x 2011-02-17 14:36:55 -05:00
Mariano Alvira 2a75a4a5df this fixes a major problem with the maca_process
Before it didn't do process_poll like it should and would add events
out of turn and mess up the event processor --- that would cause the
button to stop working after the unhandled events exceeded a max
number

this fixes maca_process to do a process_poll as it should. now the
button works fine and so does the radio.
2011-02-03 18:09:51 -05:00
maralvira 3b515587c5 change how prepare and transmit work --- Contiki expects to call
prepare once and then transmit many times to repeat the same packet
over and over. This didn't work like that, but now it does.
2010-11-07 20:07:42 +00:00
maralvira e029fa8da0 fix defines for raw mode 2010-11-07 18:34:52 +00:00
maralvira 1cb0762bd0 Don't post from an interrupt context --- this resulted in process
corruption if a packet was received at the wrong time.

The maca_thread now just PAUSEs and checks rx_head instead of waiting
for a data event to be posted.
2010-09-13 14:15:58 +00:00
maralvira 9a7a2742b3 remove bad call to maca_on()
maca_on() resets the maca and phy, takes a long time, and clobbers any
packet that is currently being transmitted or received. It doesn't
belong in prepare and was the source of a lot of latency and bad
packet transmissions.

Make sure the maca is on somewhere else.
2010-07-28 18:48:51 +00:00
adamdunkels 3fa8ffda1a Moved the modules packetbuf, queuebuf, and packetqueue from net/rime to net/, since they are not Rime-specific 2010-06-14 19:19:16 +00:00
maralvira 1145fa9ba9 initial mc1322x commit
based on commit aac3a355451d899f02737f2907af8c874ee4feba of

git://git.devl.org/git/malvira/contiki-mc1322x.git
2010-06-09 14:43:22 +00:00