Commit Graph

93 Commits

Author SHA1 Message Date
nvt-se
cd96248306 only turn off if we are not in CC1020_OFF state. (patch by Jesper Karlsson) 2009-09-04 11:00:48 +00:00
nvt-se
5e0d762e79 Call BIC_SR_IRQ to properly go switch of IRQ mode in the saved flag in the stack. 2009-08-17 11:32:17 +00:00
nvt-se
34a6fc82a3 Backup all the infomem before erasing the segment. Thanks to Frederik Hermans for reporting this. 2009-07-21 16:56:33 +00:00
nvt-se
828439c922 code style compliancy 2009-06-29 12:46:49 +00:00
nvt-se
28619eabc0 bug fix with sdspi select.
code style fixes.
2009-05-26 13:00:07 +00:00
nvt-se
e9d279620f more protection against interrupts that might spoil SPI sequences.
made coding style more like that of contiki.
2009-05-26 12:15:46 +00:00
nvt-se
da91d87ae6 switch of interrupts while writing and reading to the SPI. avoids
desynchronization problems.
2009-05-25 13:19:04 +00:00
nvt-se
bcc5084564 removed delay because while loop waits until completion anyway. 2009-05-15 13:54:08 +00:00
nvt-se
f9b35795c7 minor refactoring. 2009-05-14 12:18:49 +00:00
nvt-se
172ffb74c7 fix compiler warnings. patch from Jesper Karlsson. 2009-04-08 14:56:00 +00:00
nvt-se
e90149b7b4 avoid switching mode when tx or rx is active.
based on suggestions from Frederik Hermans and some code from Jesper Karlsson.
2009-03-30 14:07:34 +00:00
nvt-se
25cc327acc avoid hanging in TX mode after CCA check failed.
minor memory savings.
2009-03-25 15:25:05 +00:00
nvt-se
96fbf3b853 use old style C comments.
convert printf to PRINTF.
remove unnecessary MS_DELAY calls from setupTX and setupRX.
2009-03-24 15:32:26 +00:00
nvt-se
15c447e57e remove some unnecessary instructions and function calls. patch from Jesper Karlsson. 2009-03-24 15:13:11 +00:00
nvt-se
6b22fa60e8 - avoid costly rx state initialization if the radio is already on.
- code formatting.
2009-03-19 14:43:31 +00:00
nvt-se
80bbc92ffe patch from Jesperk Karlsson. ensures that the fp_uart_handler type is known
in the header.
2009-03-12 12:23:22 +00:00
zhitao
5789bf5596 Modified comments for receiver filter bandwidth settings 2009-02-02 08:52:49 +00:00
zhitao
6b33cf434f bug fix: using memcpy() to append CRC checksum to odd-size payload caused memory corruption, use individual byte assignments instead 2008-11-25 16:05:22 +00:00
nvt-se
98a42524d3 minor formatting changes 2008-11-17 16:18:52 +00:00
zhitao
0be308b7ce changed RSSI samples count to maximum (=16) 2008-11-17 16:14:09 +00:00
nvt-se
90691eb6a2 crc calculation contributed by Carlo Alberto Buano + some refactoring. 2008-11-11 12:24:43 +00:00
nvt-se
1a6c909736 added sd_write declaration. 2008-11-10 14:32:49 +00:00
joxe
bc39f2a86c added get_rssi_packet for getting RSSI from the last packet received 2008-10-29 09:22:39 +00:00
nvt-se
4829ffea50 removed supererogatory file 2008-10-28 14:07:32 +00:00
nvt-se
1fdb3c21f0 fixed problems with uart and sd cards. 2008-10-28 12:42:53 +00:00
nvt-se
37fa4da899 support 9600 baud 2008-09-19 12:18:04 +00:00
nvt-se
44c93fcd93 cleared lock semantics 2008-05-28 13:17:08 +00:00
nvt-se
fed62e1642 added timeout 2008-05-27 14:22:55 +00:00
nvt-se
07f8875963 added missing header 2008-05-27 14:05:09 +00:00
nvt-se
f2c6f77f7d removed debug print 2008-05-27 14:04:15 +00:00
nvt-se
ce84dce702 reset locks on forced mode switch 2008-05-27 13:05:52 +00:00
nvt-se
9c9c2573c3 lock UART for RS232 in putchar 2008-05-27 13:03:19 +00:00
nvt-se
bff587e32c lock SPI bus when erasing 2008-05-27 13:01:27 +00:00
nvt-se
acf01a0c58 fixed compilation error. 2008-03-31 14:32:00 +00:00
nvt-se
067e4c3c06 include contiki-conf.h for type definitions. 2008-03-31 13:48:03 +00:00
nvt-se
f7b3d9fc99 moved files to sd/ 2008-03-31 13:45:52 +00:00
nvt-se
2822ff7ddb made more conform with contiki indentation. 2008-03-28 23:03:05 +00:00
nvt-se
10cabda581 lock wait function from Michael Baar. 2008-03-28 16:06:28 +00:00
nvt-se
6486460e3f locking bugfix from Michael Baar. 2008-03-28 15:59:58 +00:00
nvt-se
3fec8ee5e7 synced with newer version by Michael Baar. 2008-03-28 15:58:43 +00:00
nvt-se
5631c92416 use three different input channels for the accelerometer. 2008-03-27 13:04:59 +00:00
nvt-se
1d3bae48dd added sd card support. 2008-02-28 15:49:01 +00:00
nvt-se
2cc0135e35 cleaned up and fixed an error checking problem in the locking code. 2008-02-28 15:11:22 +00:00
nvt-se
f0891be218 added clear channel assessment timeout. long to begin with. 2007-12-20 14:44:31 +00:00
fros4943
d0997c2dab major bugfix: padding synch with zero 2007-12-20 13:36:59 +00:00
nvt-se
abb2731ed7 corrected comparison when bits don't need shifting. 2007-12-20 10:48:01 +00:00
nvt-se
7a6a9e62e4 improved logic. 2007-12-19 13:25:41 +00:00
nvt-se
1f00c20815 state variable must be volatile. 2007-12-19 13:09:01 +00:00
nvt-se
b4a8641dda removed printf's. 2007-12-18 15:27:43 +00:00
nvt-se
f9d24f0d24 Wake up from sleep in the interrupt when the receiver process is going
to be polled.
2007-12-18 15:26:25 +00:00