Bugfix: Packet.maxPayloadLength() returned an incorrect value, when TOSH_DATA_SIZE was set to 118 or bigger. This was only relevant for applications using AM above the MAC.

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5656 285f258d-8064-b571-fbc6-9656dc998e90
solving RPL packet padding issues w/ rpl


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5657 285f258d-8064-b571-fbc6-9656dc998e90
added comment explaining origin of constants.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5658 285f258d-8064-b571-fbc6-9656dc998e90
changing line order for ADC12B reading.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5659 285f258d-8064-b571-fbc6-9656dc998e90
changes to usb code to resolve compile time errors


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5660 285f258d-8064-b571-fbc6-9656dc998e90
updated usart support files for sam3us


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5661 285f258d-8064-b571-fbc6-9656dc998e90
Added a compile time check to make sure LOW_POWER_LISTENING is not defined (because it's not (yet?) supported). Changed the error codes to be an 802.15.4-specific code, if none of the TinyOS error_t codes fit.

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5662 285f258d-8064-b571-fbc6-9656dc998e90
Added support for GTS. This code was contributed by Stefano Tennina and Ricardo Severino from CISTER/ISEP, Polytechnic Institute of Porto.

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5663 285f258d-8064-b571-fbc6-9656dc998e90
fixing issue addressed by Peter Trenkamp.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5664 285f258d-8064-b571-fbc6-9656dc998e90
serial: return EOFF in SendBytePacket if the serial is not started

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5665 285f258d-8064-b571-fbc6-9656dc998e90
stm25p: 1) Put the flash into deep sleep during init to save power if an application never turns the flash on, and do some code cleanup. 2) Add an automatic turn off component which will be executed if the application does not use the flash at all. This should be wired to platform init.

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5666 285f258d-8064-b571-fbc6-9656dc998e90
stm25p: the number of sectors is now configurable

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5667 285f258d-8064-b571-fbc6-9656dc998e90
BaseStation: modified the startup logic, (allows a serial auto start component to start the serial stack).

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5668 285f258d-8064-b571-fbc6-9656dc998e90
atm128 i2c: code cleanup + the driver does not get stuck if the i2c device is not present (from Andras Biro)

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5669 285f258d-8064-b571-fbc6-9656dc998e90
atm128: In MucSleepC test for RX and TX enabled bits for the UART and not for the interrupt flags (this will allow the MCU to go back to sleep if the Serial is turned on and off, because the serial driver does not disable interrupts but turns off the uart)

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5670 285f258d-8064-b571-fbc6-9656dc998e90
stm25p: fix a typo

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5671 285f258d-8064-b571-fbc6-9656dc998e90
fix acknowledgement loss issue

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5672 285f258d-8064-b571-fbc6-9656dc998e90
for some reason, debounce was missing the call that actually debounces
the button, which is to disable notify while the timer runs.  wow.
fixed.



git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5673 285f258d-8064-b571-fbc6-9656dc998e90
TestTimeStamping component is added

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5674 285f258d-8064-b571-fbc6-9656dc998e90
diagmsg: make static initialization (will not crash if called during PlatformInit)

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5675 285f258d-8064-b571-fbc6-9656dc998e90