sevencore fota solution development project
dialog_fota/dialog_fota_config.h@3:1e70387e1337, 2015-06-23 (annotated)
- Committer:
- dudnwjs
- Date:
- Tue Jun 23 06:32:40 2015 +0000
- Revision:
- 3:1e70387e1337
- Child:
- 4:60be78a172c2
Add feature : Msg Sender, Msg Receiver (using Serial);
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dudnwjs | 3:1e70387e1337 | 1 | #ifndef DIALOG_FOTA_CONFIG_H |
dudnwjs | 3:1e70387e1337 | 2 | #define DIALOG_FOTA_CONFIG_H |
dudnwjs | 3:1e70387e1337 | 3 | |
dudnwjs | 3:1e70387e1337 | 4 | namespace sevencore_fota{ |
dudnwjs | 3:1e70387e1337 | 5 | |
dudnwjs | 3:1e70387e1337 | 6 | enum KE_TASK_TYPE |
dudnwjs | 3:1e70387e1337 | 7 | { |
dudnwjs | 3:1e70387e1337 | 8 | TASK_NONE = 0xFF, |
dudnwjs | 3:1e70387e1337 | 9 | |
dudnwjs | 3:1e70387e1337 | 10 | // Link Layer Tasks |
dudnwjs | 3:1e70387e1337 | 11 | TASK_LLM = 0 , |
dudnwjs | 3:1e70387e1337 | 12 | TASK_LLC = 1 , |
dudnwjs | 3:1e70387e1337 | 13 | TASK_LLD = 2 , |
dudnwjs | 3:1e70387e1337 | 14 | TASK_DBG = 3 , |
dudnwjs | 3:1e70387e1337 | 15 | |
dudnwjs | 3:1e70387e1337 | 16 | TASK_L2CM = 4 , |
dudnwjs | 3:1e70387e1337 | 17 | TASK_L2CC = 5 , |
dudnwjs | 3:1e70387e1337 | 18 | TASK_SMPM = 6 , |
dudnwjs | 3:1e70387e1337 | 19 | TASK_SMPC = 7 , |
dudnwjs | 3:1e70387e1337 | 20 | TASK_ATTM = 8 , // Attribute Protocol Manager Task |
dudnwjs | 3:1e70387e1337 | 21 | TASK_ATTC = 9 , // Attribute Protocol Client Task |
dudnwjs | 3:1e70387e1337 | 22 | |
dudnwjs | 3:1e70387e1337 | 23 | TASK_ATTS = 10 , // Attribute Protocol Server Task |
dudnwjs | 3:1e70387e1337 | 24 | TASK_GATTM = 11 , // Generic Attribute Profile Manager Task |
dudnwjs | 3:1e70387e1337 | 25 | TASK_GATTC = 12 , // Generic Attribute Profile Controller Task |
dudnwjs | 3:1e70387e1337 | 26 | TASK_GAPM = 13 , // Generic Access Profile Manager |
dudnwjs | 3:1e70387e1337 | 27 | TASK_GAPC = 14 , // Generic Access Profile Controller |
dudnwjs | 3:1e70387e1337 | 28 | |
dudnwjs | 3:1e70387e1337 | 29 | TASK_PROXM = 15 , // Proximity Monitor Task |
dudnwjs | 3:1e70387e1337 | 30 | TASK_PROXR = 16 , // Proximity Reporter Task |
dudnwjs | 3:1e70387e1337 | 31 | TASK_FINDL = 17 , // Find Me Locator Task |
dudnwjs | 3:1e70387e1337 | 32 | TASK_FINDT = 18 , // Find Me Target Task |
dudnwjs | 3:1e70387e1337 | 33 | TASK_HTPC = 19 , // Health Thermometer Collector Task |
dudnwjs | 3:1e70387e1337 | 34 | TASK_HTPT = 20 , // Health Thermometer Sensor Task |
dudnwjs | 3:1e70387e1337 | 35 | TASK_ACCEL = 21 , // Accelerometer Sensor Task |
dudnwjs | 3:1e70387e1337 | 36 | TASK_BLPS = 22 , // Blood Pressure Sensor Task |
dudnwjs | 3:1e70387e1337 | 37 | TASK_BLPC = 23 , // Blood Pressure Collector Task |
dudnwjs | 3:1e70387e1337 | 38 | TASK_HRPS = 24 , // Heart Rate Sensor Task |
dudnwjs | 3:1e70387e1337 | 39 | TASK_HRPC = 25 , // Heart Rate Collector Task |
dudnwjs | 3:1e70387e1337 | 40 | TASK_TIPS = 26 , // Time Server Task |
dudnwjs | 3:1e70387e1337 | 41 | TASK_TIPC = 27 , // Time Client Task |
dudnwjs | 3:1e70387e1337 | 42 | TASK_DISS = 28 , // Device Information Service Server Task |
dudnwjs | 3:1e70387e1337 | 43 | TASK_DISC = 29 , // Device Information Service Client Task |
dudnwjs | 3:1e70387e1337 | 44 | TASK_SCPPS = 30 , // Scan Parameter Profile Server Task |
dudnwjs | 3:1e70387e1337 | 45 | TASK_SCPPC = 31 , // Scan Parameter Profile Client Task |
dudnwjs | 3:1e70387e1337 | 46 | TASK_BASS = 32 , // Battery Service Server Task |
dudnwjs | 3:1e70387e1337 | 47 | TASK_BASC = 33 , // Battery Service Client Task |
dudnwjs | 3:1e70387e1337 | 48 | TASK_HOGPD = 34 , // HID Device Task |
dudnwjs | 3:1e70387e1337 | 49 | TASK_HOGPBH = 35 , // HID Boot Host Task |
dudnwjs | 3:1e70387e1337 | 50 | TASK_HOGPRH = 36 , // HID Report Host Task |
dudnwjs | 3:1e70387e1337 | 51 | TASK_GLPS = 37 , // Glucose Profile Sensor Task |
dudnwjs | 3:1e70387e1337 | 52 | TASK_GLPC = 38 , // Glucose Profile Collector Task |
dudnwjs | 3:1e70387e1337 | 53 | TASK_NBPS = 39 , // Nebulizer Profile Server Task |
dudnwjs | 3:1e70387e1337 | 54 | TASK_NBPC = 40 , // Nebulizer Profile Client Task |
dudnwjs | 3:1e70387e1337 | 55 | TASK_RSCPS = 41 , // Running Speed and Cadence Profile Server Task |
dudnwjs | 3:1e70387e1337 | 56 | TASK_RSCPC = 42 , // Running Speed and Cadence Profile Collector Task |
dudnwjs | 3:1e70387e1337 | 57 | TASK_CSCPS = 43 , // Cycling Speed and Cadence Profile Server Task |
dudnwjs | 3:1e70387e1337 | 58 | TASK_CSCPC = 44 , // Cycling Speed and Cadence Profile Client Task |
dudnwjs | 3:1e70387e1337 | 59 | TASK_ANPS = 45 , // Alert Notification Profile Server Task |
dudnwjs | 3:1e70387e1337 | 60 | TASK_ANPC = 46 , // Alert Notification Profile Client Task |
dudnwjs | 3:1e70387e1337 | 61 | TASK_PASPS = 47 , // Phone Alert Status Profile Server Task |
dudnwjs | 3:1e70387e1337 | 62 | TASK_PASPC = 48 , // Phone Alert Status Profile Client Task |
dudnwjs | 3:1e70387e1337 | 63 | |
dudnwjs | 3:1e70387e1337 | 64 | TASK_LANS = 49 , // Location and Navigation Profile Server Task |
dudnwjs | 3:1e70387e1337 | 65 | TASK_APP = 50 , // Do not Alter. |
dudnwjs | 3:1e70387e1337 | 66 | |
dudnwjs | 3:1e70387e1337 | 67 | TASK_LANC = 51 , // Location and Navigation Profile Client Task |
dudnwjs | 3:1e70387e1337 | 68 | |
dudnwjs | 3:1e70387e1337 | 69 | TASK_CPPS = 52 , // Cycling Power Profile Server Task |
dudnwjs | 3:1e70387e1337 | 70 | TASK_CPPC = 53 , // Cycling Power Profile Client Task |
dudnwjs | 3:1e70387e1337 | 71 | |
dudnwjs | 3:1e70387e1337 | 72 | // Start of conditionally assigned task types |
dudnwjs | 3:1e70387e1337 | 73 | |
dudnwjs | 3:1e70387e1337 | 74 | #if (BLE_SAMPLE128) |
dudnwjs | 3:1e70387e1337 | 75 | TASK_SAMPLE128 , // Sample128 Task |
dudnwjs | 3:1e70387e1337 | 76 | #endif |
dudnwjs | 3:1e70387e1337 | 77 | |
dudnwjs | 3:1e70387e1337 | 78 | #if (BLE_SPOTA_RECEIVER) |
dudnwjs | 3:1e70387e1337 | 79 | TASK_SPOTAR , // SPOTA Receiver task |
dudnwjs | 3:1e70387e1337 | 80 | #endif |
dudnwjs | 3:1e70387e1337 | 81 | |
dudnwjs | 3:1e70387e1337 | 82 | #if (BLE_STREAMDATA_DEVICE) |
dudnwjs | 3:1e70387e1337 | 83 | TASK_STREAMDATAD , // Stream Data Device Server task |
dudnwjs | 3:1e70387e1337 | 84 | #endif |
dudnwjs | 3:1e70387e1337 | 85 | |
dudnwjs | 3:1e70387e1337 | 86 | #if (BLE_STREAMDATA_HOST) |
dudnwjs | 3:1e70387e1337 | 87 | TASK_STREAMDATAH , // Stream Data Device Server task |
dudnwjs | 3:1e70387e1337 | 88 | #endif |
dudnwjs | 3:1e70387e1337 | 89 | |
dudnwjs | 3:1e70387e1337 | 90 | #if (BLE_ANC_CLIENT) |
dudnwjs | 3:1e70387e1337 | 91 | TASK_ANCC , // ANCS Client Task |
dudnwjs | 3:1e70387e1337 | 92 | #endif |
dudnwjs | 3:1e70387e1337 | 93 | |
dudnwjs | 3:1e70387e1337 | 94 | #if (BLE_WPT_CLIENT) |
dudnwjs | 3:1e70387e1337 | 95 | TASK_WPTC , // A4WP Wireless Power Transfer Client Profile Task |
dudnwjs | 3:1e70387e1337 | 96 | #endif |
dudnwjs | 3:1e70387e1337 | 97 | |
dudnwjs | 3:1e70387e1337 | 98 | #if (BLE_WPTS) |
dudnwjs | 3:1e70387e1337 | 99 | TASK_WPTS , // A4WP Wireless Power Transfer Server Profile Task |
dudnwjs | 3:1e70387e1337 | 100 | #endif |
dudnwjs | 3:1e70387e1337 | 101 | |
dudnwjs | 3:1e70387e1337 | 102 | #if (BLE_APP_PTU) |
dudnwjs | 3:1e70387e1337 | 103 | TASK_APP_PTU , // A4WP Wireless Power Transfer Client App Task |
dudnwjs | 3:1e70387e1337 | 104 | #endif |
dudnwjs | 3:1e70387e1337 | 105 | |
dudnwjs | 3:1e70387e1337 | 106 | #if (BLE_IEU) |
dudnwjs | 3:1e70387e1337 | 107 | TASK_IEU , // Integrated Environmantal Unit Task |
dudnwjs | 3:1e70387e1337 | 108 | #endif |
dudnwjs | 3:1e70387e1337 | 109 | |
dudnwjs | 3:1e70387e1337 | 110 | #if (BLE_MPU) |
dudnwjs | 3:1e70387e1337 | 111 | TASK_MPU , // Motion Processing Unit Task |
dudnwjs | 3:1e70387e1337 | 112 | #endif |
dudnwjs | 3:1e70387e1337 | 113 | |
dudnwjs | 3:1e70387e1337 | 114 | #if (BLE_WSS_SERVER) |
dudnwjs | 3:1e70387e1337 | 115 | TASK_WSSS , // Weight Scale Server Task |
dudnwjs | 3:1e70387e1337 | 116 | #endif |
dudnwjs | 3:1e70387e1337 | 117 | |
dudnwjs | 3:1e70387e1337 | 118 | #if (BLE_UDS_SERVER) |
dudnwjs | 3:1e70387e1337 | 119 | TASK_UDSS , // User Data Server Task |
dudnwjs | 3:1e70387e1337 | 120 | #endif |
dudnwjs | 3:1e70387e1337 | 121 | |
dudnwjs | 3:1e70387e1337 | 122 | #if (BLE_SPS_SERVER) |
dudnwjs | 3:1e70387e1337 | 123 | TASK_SPS_SERVER , // Serial Proert Service Server Task |
dudnwjs | 3:1e70387e1337 | 124 | #endif |
dudnwjs | 3:1e70387e1337 | 125 | |
dudnwjs | 3:1e70387e1337 | 126 | #if (BLE_SPS_CLIENT) |
dudnwjs | 3:1e70387e1337 | 127 | TASK_SPS_CLIENT , // Serial Proert Service Server Task |
dudnwjs | 3:1e70387e1337 | 128 | #endif |
dudnwjs | 3:1e70387e1337 | 129 | |
dudnwjs | 3:1e70387e1337 | 130 | #if (BLE_ADC_NOTIFY) |
dudnwjs | 3:1e70387e1337 | 131 | TASK_ADC_NOTIFY , // Serial Proert Service Server Task |
dudnwjs | 3:1e70387e1337 | 132 | #endif |
dudnwjs | 3:1e70387e1337 | 133 | |
dudnwjs | 3:1e70387e1337 | 134 | #if (BLE_DEVICE_CONFIG) |
dudnwjs | 3:1e70387e1337 | 135 | TASK_DEVICE_CONFIG , // Serial Proert Service Server Task |
dudnwjs | 3:1e70387e1337 | 136 | #endif |
dudnwjs | 3:1e70387e1337 | 137 | |
dudnwjs | 3:1e70387e1337 | 138 | // End of conditionally assigned task types |
dudnwjs | 3:1e70387e1337 | 139 | |
dudnwjs | 3:1e70387e1337 | 140 | TASK_HCI = 60 , |
dudnwjs | 3:1e70387e1337 | 141 | TASK_HCIH = 61 , |
dudnwjs | 3:1e70387e1337 | 142 | |
dudnwjs | 3:1e70387e1337 | 143 | TASK_GTL = 63 , |
dudnwjs | 3:1e70387e1337 | 144 | |
dudnwjs | 3:1e70387e1337 | 145 | #if (USE_AES) |
dudnwjs | 3:1e70387e1337 | 146 | TASK_AES = 62 , // Task for asynchronous AES API |
dudnwjs | 3:1e70387e1337 | 147 | #endif |
dudnwjs | 3:1e70387e1337 | 148 | |
dudnwjs | 3:1e70387e1337 | 149 | TASK_MAX = 64, //MAX is 64. Do not exceed. |
dudnwjs | 3:1e70387e1337 | 150 | }; |
dudnwjs | 3:1e70387e1337 | 151 | |
dudnwjs | 3:1e70387e1337 | 152 | |
dudnwjs | 3:1e70387e1337 | 153 | |
dudnwjs | 3:1e70387e1337 | 154 | } |
dudnwjs | 3:1e70387e1337 | 155 | |
dudnwjs | 3:1e70387e1337 | 156 | #endif//DIALOG_FOTA_CONFIG_H |