mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Merge remote-tracking branch 'OFW/dev' into dev
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "rpc.h"
|
||||
#include "rpc_app_error_codes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
11
applications/services/rpc/rpc_app_error_codes.h
Normal file
11
applications/services/rpc/rpc_app_error_codes.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* @brief Enumeration of possible error codes for application which can be started through rpc
|
||||
*/
|
||||
typedef enum {
|
||||
RpcAppSystemErrorCodeNone, /** There are no errors */
|
||||
RpcAppSystemErrorCodeParseFile, /** File parsing error, or wrong file structure, or missing required parameters. more accurate data can be obtained through the debug port */
|
||||
RpcAppSystemErrorCodeRegionLock, /** Requested function is blocked by regional settings */
|
||||
RpcAppSystemErrorCodeInternalParse, /** Error in protocol parameters description, or some data in opened file are unsupported */
|
||||
} RpcAppSystemErrorCode;
|
||||
Reference in New Issue
Block a user