 |
NHS31xx SW API
|
98 #ifndef MSG_APP_HANDLERS_COUNT 104 #define MSG_APP_HANDLERS_COUNT 0 106 #if !MSG_APP_HANDLERS_COUNT 107 #undef MSG_APP_HANDLERS 109 #if MSG_APP_HANDLERS_COUNT && !defined(MSG_APP_HANDLERS) 110 #error MSG_APP_HANDLERS and MSG_APP_HANDLERS_COUNT must be defined jointly. 119 #define MSG_ENABLE_GETVERSION 1 125 #if !SW_MAJOR_VERSION 126 #define SW_MAJOR_VERSION 0 133 #if !SW_MINOR_VERSION 134 #define SW_MINOR_VERSION 0 139 #ifndef MSG_RESPONSE_BUFFER_SIZE 156 #define MSG_RESPONSE_BUFFER_SIZE 0 158 #if !MSG_RESPONSE_BUFFER_SIZE 159 #undef MSG_RESPONSE_BUFFER 161 #if MSG_RESPONSE_BUFFER_SIZE && !defined(MSG_RESPONSE_BUFFER) 162 #error MSG_RESPONSE_BUFFER and MSG_RESPONSE_BUFFER_SIZE must be defined jointly. 170 #define MSG_ENABLE_GETRESPONSE (MSG_RESPONSE_BUFFER_SIZE > 0) 177 #if !MSG_ENABLE_RESET 178 #define MSG_ENABLE_RESET 0 185 #if !MSG_ENABLE_READREGISTER 186 #define MSG_ENABLE_READREGISTER 0 193 #if !MSG_ENABLE_WRITEREGISTER 194 #define MSG_ENABLE_WRITEREGISTER 0 201 #if !MSG_ENABLE_READMEMORY 202 #define MSG_ENABLE_READMEMORY 0 209 #if !MSG_ENABLE_WRITEMEMORY 210 #define MSG_ENABLE_WRITEMEMORY 0 217 #ifndef MSG_ENABLE_PREPAREDEBUG 219 #define MSG_ENABLE_PREPAREDEBUG 1 221 #define MSG_ENABLE_PREPAREDEBUG 0 228 #ifndef MSG_ENABLE_GETNFCUID 229 #define MSG_ENABLE_GETNFCUID 1 235 #ifndef MSG_ENABLE_GETUID 236 #define MSG_ENABLE_GETUID 1 243 #ifndef MSG_ENABLE_CHECKBATTERY 244 #define MSG_ENABLE_CHECKBATTERY 0 250 #ifndef MSG_ENABLE_GETCALIBRATIONTIMESTAMP 251 #define MSG_ENABLE_GETCALIBRATIONTIMESTAMP 1 260 #error This block of code may not be parsed using gcc. 267 #define MSG_APP_HANDLERS application defined array with MSG_APP_HANDLERS_COUNT elements of type #MSG_CMD_HANDLER_T 277 #define MSG_RESPONSE_BUFFER application defined array with MSG_RESPONSE_BUFFER_SIZE elements of type uint8_t 283 #define MSG_COMMAND_ACCEPT_CB application function of type pMsg_AcceptCommandCb_t 292 #define MSG_CATCHALL_HANDLER application function of type pMsg_CmdHandler_t 303 #define MSG_RESPONSE_DISCARDED_CB application function of type pMsg_ResponseCb_t