NHS31xx SW API
app_demo_label_signedurl/mods/app_sel.h
1 /*
2  * Copyright 2020 NXP
3  * This software is owned or controlled by NXP and may only be used strictly
4  * in accordance with the applicable license terms. By expressly accepting
5  * such terms or by downloading, installing, activating and/or otherwise using
6  * the software, you are agreeing that you have read, and that you agree to
7  * comply with and are bound by, such license terms. If you do not agree to
8  * be bound by the applicable license terms, then you may not retain, install,
9  * activate or otherwise use the software.
10  */
11 
12 #ifndef __APP_SEL_H_
13 #define __APP_SEL_H_
14 
15 /* Diversities tweaking tmeas module for application-specific usage. */
16 #define TMEAS_CELSIUS 1
17 #define TMEAS_FAHRENHEIT 1
18 #define TMEAS_CB TmeasCb
19 
20 /* Diversities tweaking ndeft2t module for application-specific usage. */
21 #define NDEFT2T_EEPROM_COPY_SUPPPORT 0
22 #define NDEFT2T_MESSAGE_HEADER_LENGTH_CORRECTION 0
23 #define NDEFT2T_MSG_AVAILABLE_CB MsgAvailableCb
24 
25 /* Diversities tweaking msg module for application-specific usage. */
26 #define SW_MAJOR_VERSION 2
27 #define SW_MINOR_VERSION 1
28 #define MSG_APP_HANDLERS CmdHandler
29 #define MSG_APP_HANDLERS_COUNT 8U
30 #define MSG_COMMAND_ACCEPT_CB CommandAcceptCb
31 #define MSG_ENABLE_GETUID 1
32 
33 #ifndef DEBUG
34  /* The demo build configuration is linked with the Release_nodiag build configuration of the chip library.
35  * The diag module is compiled together with the chip library (or, in this case, not), and is used at application
36  * level in the msg module.
37  * Copy the define from lib_chip_nss: Project > Properties > C/C++ Build > Settings > Tool Settings > Symbols
38  * to match expectations from the msg module with the chip library.
39  */
40  #define ENABLE_DIAG_MODULE 0
41 #endif
42 
43 #endif