Contiki 2.5
iap_bootloader.h
Go to the documentation of this file.
1 /** @file iap_bootloader.h
2  * @brief IAP bootloader specific definitions
3  * <!--(C) COPYRIGHT 2010 STMicroelectronics. All rights reserved. -->
4  */
5 
6 /**
7  * @brief Application start address
8  */
9 #define IAP_BOOTLOADER_APPLICATION_ADDRESS 0x08003000
10 
11 /**
12  * @brief Radio PAN ID for OTA bootloader
13  */
14 #define IAP_BOOTLOADER_PAN_ID 0xb00b
15 
16 /**
17  * @brief Signature used for switch to application
18  */
19 #define IAP_BOOTLOADER_APP_SWITCH_SIGNATURE 0xb001204d
20 
21 /**
22  * @brief Radio default channel for OTA bootloader
23  */
24 #define IAP_BOOTLOADER_DEFAULT_CHANNEL 0x0F
25 
26 /**
27  * @brief IAP bootloader uart mode
28  */
29 #define IAP_BOOTLOADER_MODE_UART 0
30 
31 /**
32  * @brief IAP bootloader OTA mode
33  */
34 #define IAP_BOOTLOADER_MODE_OTA 1