Contiki 2.6

iap_bootloader.h

Go to the documentation of this file.
00001 /** @file iap_bootloader.h
00002  * @brief IAP bootloader specific definitions
00003  * <!--(C) COPYRIGHT 2010 STMicroelectronics. All rights reserved.        -->
00004  */
00005 
00006 /**
00007  * @brief Application start address
00008  */
00009 #define IAP_BOOTLOADER_APPLICATION_ADDRESS   0x08003000
00010 
00011 /**
00012  * @brief Radio PAN ID for OTA bootloader
00013  */
00014 #define IAP_BOOTLOADER_PAN_ID 0xb00b
00015 
00016 /**
00017  * @brief Signature used for switch to application
00018  */
00019 #define IAP_BOOTLOADER_APP_SWITCH_SIGNATURE 0xb001204d
00020 
00021 /**
00022  * @brief Radio default channel for OTA bootloader
00023  */
00024 #define IAP_BOOTLOADER_DEFAULT_CHANNEL 0x0F
00025 
00026 /**
00027  * @brief IAP bootloader uart mode 
00028  */
00029 #define IAP_BOOTLOADER_MODE_UART 0
00030 
00031 /**
00032  * @brief IAP bootloader OTA mode 
00033  */
00034 #define IAP_BOOTLOADER_MODE_OTA 1