1 /* 2 * Copyright 2012-2020 NXP 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /* 18 * UWB Component ID Values - Used for Function Return Codes 19 */ 20 21 #ifndef PHUWBCOMPID_H 22 #define PHUWBCOMPID_H 23 24 /* 25 * Component IDs 26 * 27 * IDs for all UWB components. Combined with the Status Code they build the 28 * value (status) 29 * returned by each function. 30 * 31 * ID Number Spaces: 32 * - 01..1F: HAL 33 * - 20..3F: UWB-MW (Local Device) 34 * - 40..5F: UWB-MW (Remote Device) 35 * . 36 * 37 * The value CID_UWB_NONE does not exist for Component IDs. Do not use 38 * this value except 39 * for UWBSTATUS_SUCCESS. The enumeration function uses CID_UWB_NONE 40 * to mark unassigned "References". 41 */ 42 /* Unassigned or doesn't apply (see #UWBSTATUS_SUCCESS) */ 43 #define CID_UWB_NONE 0x00 44 #define CID_UWB_TML 0x01 /* Transport Mapping Layer */ 45 #define CID_UWB_LLC 0x07 /* Logical Link Control Layer */ 46 /* UWB Controller(UWBC) Interface Layer */ 47 #define CID_UWB_UCI 0x08 48 /* Firmware Download Management Layer */ 49 #define CID_UWB_DNLD 0x09 50 #define CID_UWB_HAL 0x10 /* Hardware Abstraction Layer */ 51 /* Operating System Abstraction Layer*/ 52 #define CID_UWB_OSAL CID_UWB_NONE 53 #define CID_FRI_UWB_OVR_HAL 0x20 /* UWB-Device, HAL-based */ 54 55 #endif /* PHUWBCOMPID_H */ 56