1 /* 2 * Copyright (C) 2010-2014 NXP Semiconductors 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 * Firmware Download command values 19 */ 20 21 #ifndef PHDNLDNFC_CMD_H 22 #define PHDNLDNFC_CMD_H 23 24 #include <phNfcStatus.h> 25 26 /* 27 * Enum definition contains Firmware Download Command Ids 28 */ 29 typedef enum phDnldNfc_CmdId 30 { 31 PH_DL_CMD_NONE = 0x00, /* Invalid Cmd */ 32 PH_DL_CMD_RESET = 0xF0, /* Reset */ 33 PH_DL_CMD_GETVERSION = 0xF1, /* Get Version */ 34 PH_DL_CMD_CHECKINTEGRITY = 0xE0, /* Check Integrity */ 35 PH_DL_CMD_WRITE = 0xC0, /* Write */ 36 PH_DL_CMD_READ = 0xA2, /* Read */ 37 PH_DL_CMD_LOG = 0xA7, /* Log */ 38 PH_DL_CMD_FORCE = 0xD0, /* Force */ 39 PH_DL_CMD_GETSESSIONSTATE = 0xF2 /* Get Session State */ 40 }phDnldNfc_CmdId_t; 41 42 #endif /* PHDNLDNFC_CMD_H */ 43