FCore and General Errors Table
Bellow you will find a list of all available error codes that can be thrown by the mBSA component, together with its resolution instructions.
Component |
Number |
Code |
Error Description |
Resolution |
|---|---|---|---|---|
Core |
1001 |
ERR_CORE_ALREADY_STARTED |
mBSA core is already started. |
mBSA is already started - please close all mBSA instances. |
Core |
1002 |
ERR_CORE_NOT_STARTED |
mBSA core is stopped. |
|
Core |
1003 |
ERR_CORE_NO_ICONFIG |
No IConfig is available. |
|
Core |
1004 |
ERR_CORE_NO_IEVENTDISPATCHER |
No IEventDispatcher is available. |
|
Core |
1005 |
ERR_CORE_CONFIG_FAILED |
Failed to load core configuration. |
|
Core |
1006 |
ERR_CORE_NO_PLUGINS_DIR |
Failed to get plugins directory from core configuration. |
|
Core |
1007 |
ERR_CORE_INTERFACE_ALREADYREG |
A plugin for this interface has already been registered. |
|
Core |
1008 |
ERR_CORE_NO_GETPLUGIN_FUNC |
No mbsaGetPlugin() function in library. |
|
Core |
1009 |
ERR_CORE_INVALID_IPLUGIN |
Get plugin function returned NULL. |
|
Core |
1010 |
ERR_CORE_FILL_CONFIG_FAILED |
Failed to fill central config with required values. |
Check if all keys are available into core config. |
Core |
1011 |
ERR_CORE_INIT_LOCK_FAILED |
Failed to initialize core lock on startup. |
|
Core |
1012 |
ERR_CORE_INIT_CONDVAR_FAILED |
Failed to initialize core conditional variable on startup. |
|
Core |
1013 |
ERR_CORE_FAILED_DATA_LOCK |
Failed to lock core data. |
|
Core |
1014 |
ERR_CORE_FAILED_DATA_UNLOCK |
Failed to unlock core data. |
|
Core |
1015 |
ERR_CORE_FAILED_WAIT_NOTIFY_STOP |
Failed to wait for notification of exit core event. |
|
Core |
1016 |
ERR_CORE_UNKNOWN_IPLUGIN |
Failed to find IPlugin in core. |
|
General |
500 |
ERR_GENERAL |
General non-defined error. |
|
General |
501 |
ERR_NO_MEMORY |
No available memory. |
|
General |
502 |
ERR_INVALID_ARG |
Argument, switch or property is not valid. |
|
General |
503 |
ERR_NULL_POINTER |
General Error. |
|
General |
504 |
ERR_NOT_FOUND |
File, reference or property not found. |
|
General |
505 |
ERR_READ_FAILED |
Error reading a file, property or reference. |
|
General |
506 |
ERR_WRITE_FAILED |
Error writing a file, property or reference. |
|
General |
507 |
ERR_STRING_CONVERT |
Error while converting a string. |
|
General |
508 |
ERR_NOT_SUPPORTED |
Function not supported for the OS. |
|
General |
509 |
ERR_INVALID_STATE |
Invalid State call to the OS. |
|
General |
510 |
ERR_NO_MORE |
General Error. |
|
General |
511 |
ERR_NO_ACCESS |
No access to file or system was possible. |
|
General |
512 |
ERR_ALREADY_EXIST |
File, property or reference already exists. |
|
Filesystem |
601 |
ERR_LOADLIB_FAILED |
Failed to load library. |
|
Filesystem |
611 |
ERR_OPENFILE_FAILED |
Failed to open file. |
|
Filesystem |
612 |
ERR_FILE_ALREADY_OPEN |
File already open. |
|
Filesystem |
613 |
ERR_FILE_NOT_OPEN |
File was not open. |
|
Filesystem |
614 |
ERR_END_OF_FILE |
File has ended. |
|
Filesystem |
615 |
ERR_SEEKFILE_FAILED |
Failed to seek a file. |
|
Filesystem |
616 |
ERR_CLOSEFILE_FAILED |
Close file failed. |
|
Filesystem |
618 |
ERR_READLINEFILE_FAILED |
Read line of file failed. |
|
Filesystem |
619 |
ERR_DELETE_FILE_FAILED |
Delete file failed. |
|
Filesystem |
620 |
ERR_FILE_NOT_FOUND |
File was not found. |
|
Filesystem |
621 |
ERR_GETSIZE_FAILED |
Error while getting file size. |
|
Filesystem |
622 |
ERR_OPEN_DIR_FAILED |
Failed to open folder. |
|
Filesystem |
623 |
ERR_DIR_ALREADY_OPEN |
Folder already open. |
|
Filesystem |
624 |
ERR_CLOSE_DIR_FAILED |
Failed to close folder. |
|
Filesystem |
625 |
ERR_DIR_NOT_CREATED |
Failed to create folder. |
|
Filesystem |
626 |
ERR_DELETE_DIR_FAILED |
Failed to delete folder. |
|
Filesystem |
627 |
ERR_DIR_ALREADY_EXIST |
Folder does not exist. |
|
Filesystem |
628 |
ERR_PATH_NOT_FOUND |
File was not found. |
|
Filesystem |
629 |
ERR_DIR_CHANGE_FAILED |
Folder change has failed. |
|
Filesystem |
630 |
ERR_FILE_LOCKED |
File is locked. |
|
Thread |
701 |
ERR_THREAD_NOT_CREATED |
Failed to create thread. |
|
Thread |
702 |
ERR_THREAD_JOIN_FAILED |
Failed to create thread. |
|
Thread |
703 |
ERR_THREAD_ALREADY_CREATED |
Thread already created. |
|
Thread |
704 |
ERR_THREAD_TERMINATE_FAILED |
Thread closure failed. |
|
Thread |
705 |
ERR_THREAD_DETACH_FAILED |
Thread detach failed. |
|
Mutex |
711 |
ERR_MUTEX_INIT_FAILED |
Mutex initialization failed. |
|
Mutex |
712 |
ERR_MUTEX_LOCK_FAILED |
Mutex lock failed. |
|
Mutex |
713 |
ERR_MUTEX_UNLOCK_FAILED |
Mutex unlock failed. |
|
Mutex |
714 |
ERR_MUTEX_NOT_EXIST |
Mutex doesn't exist. |
|
Mutex |
715 |
ERR_MUTEX_CLOSE_FAILED |
Mutex close failed. |
|
Mutex |
716 |
ERR_MUTEX_ALREADY_INITED |
Mutex is already initiated. |
|
Mutex |
717 |
ERR_MUTEX_ALREADY_EXISTS |
Mutex already exists. |
|
Semaphore |
721 |
ERR_SEMAPHORE_INIT_FAILED |
Semaphore initialization failed. |
|
Semaphore |
722 |
ERR_SEMAPHORE_POST_FAILED |
Semaphore post failed. |
|
Semaphore |
723 |
ERR_SEMAPHORE_WAIT_FAILED |
Semaphore wait failed. |
|
Semaphore |
724 |
ERR_SEMAPHORE_WAIT_TIMEOUTED |
Semaphore wait time-outed. |
|
Semaphore |
725 |
ERR_SEMAPHORE_GETVALUE_FAILED |
Semaphore value retrieval failed.. |
|
Semaphore |
726 |
ERR_SEMAPHORE_NOT_EXIST |
Semaphore does not exist. |
|
Semaphore |
727 |
ERR_SEMAPHORE_CLOSE_FAILED |
Semaphore close failed. |
|
Semaphore |
728 |
ERR_SEMAPHORE_ALREADY_INITED |
Semaphore is already initiated. |
|
Semaphore |
729 |
ERR_SEMAPHORE_ALREADY_EXISTS |
Semaphore already exists. |
|
Conditional Variable |
731 |
ERR_CONDVAR_INIT_FAILED |
Conditional variable initialization failed. |
|
Conditional Variable |
732 |
ERR_CONDVAR_WAIT_FAILED |
Conditional variable wait failed. |
|
Conditional Variable |
733 |
ERR_CONDVAR_WAIT_TIMEOUTED |
Conditional variable wait time-out. |
|
Conditional Variable |
734 |
ERR_CONDVAR_NOTIFY_FAILED |
Conditional variable notify failed. |
|
Conditional Variable |
735 |
ERR_CONDVAR_CLOSE_FAILED |
Conditional variable close failed. |
|
Conditional Variable |
736 |
ERR_CONDVAR_ALREADY_INITED |
Conditional variable is already inited. |
|
Conditional Variable |
737 |
ERR_CONDVAR_WAIT_ON_NAMEDMUTEX |
Conditional variable try to wait on named mutex.. |
|
Conditional Variable |
738 |
ERR_CONDVAR_WAIT_ON_CLOSEDMUTEX |
Conditional variable try to wait on closed mutex. |
|
Conditional Variable |
739 |
ERR_CONDVAR_WAIT_UNLOCK_MUTEX_FAILED |
Conditional variable try to wait and failed to unlock mutex. |
|
Conditional Variable |
740 |
ERR_CONDVAR_WAIT_LOCK_MUTEX_FAILED |
Conditional variable try to wait and failed to lock mutex. |
|
Process |
741 |
ERR_PROCESS_CREATE |
Cannot create process. |
|
Process |
742 |
ERR_PROCESS_TERMINATE |
Cannot terminate process. |
|
Process |
743 |
ERR_PROCESS_NOT_RUNNING |
Process is no longer running. |
|
Process |
744 |
ERR_PROCESS_ALREADY_STARTED |
Process already started. |
|
Software Resource |
2001 |
ERR_SW_RESOURCE_UNABLE_TO_CREATE |
Unable to download resource. |
|
Software Resource |
2002 |
ERR_SW_RES_PLUGIN_ERROR |
Error during plugin interface loading. |
|
Software Resource |
2003 |
ERR_SW_RES_NET_ERROR |
Error caused by network read problem. |
|
Software Resource |
2004 |
ERR_SW_RES_FILE_ERROR |
Error during file write. |
|
Software Resource |
2005 |
ERR_SW_RES_FILE_SAVE_NOT_SUPPORTED |
Save to file system is not allowed. |
|
Software Resource |
2006 |
ERR_SW_RES_STREAM_DL_NOT_SUPPORTED |
Installation by stream is prohibited. |
|
IComm Plugin Error Codes
Bellow you will find a list of all available error codes that can be thrown by the mBSA component, together with its resolution instructions.
Component |
Number |
Code |
Error Description |
Resolution |
|---|---|---|---|---|
IComms |
7001 |
ERR_COMMS_MODULE_ALREADY_BIND |
IComms Port already in use. |
|
IComms |
7002 |
ERR_COMMS_MODULE_NOT_BIND |
IComms module was not binded. |
|
IComms |
7003 |
ERR_COMMS_INSTANCE_ALREADY_BIND |
IComms instance was already binded. |
|
IComms |
7004 |
ERR_COMMS_INVALID_LISTENER |
There is a binded listener, but with a different pointer. |
|
IComms |
7005 |
ERR_COMMS_TRANSPORT_UNKNOWN |
IComms server was not started on the desired transport. |
|
IComms |
7007 |
ERR_COMMS_TIMEOUTED |
Timeout on response message. |
|
IComms |
7010 |
ERR_COMMS_FAILED_WAIT_NOTIFY |
Failed to unlock comms. |
|
IComms |
7011 |
ERR_COMMS_FAILED_INIT_SERVERS |
Failed to initialize servers. |
|
IComms |
7012 |
ERR_COMMS_ALREADY_INITED |
Failed to initialize comms transports. |
|
IComms |
7013 |
ERR_COMMS_INVALID_TCP_PORT |
Invalid TCP port in comms transport config. |
|
IComms |
7014 |
ERR_COMMS_INVALID_UDP_PORT |
Invalid UDP port in comms transport config. |
|
IComms |
7015 |
ERR_COMMS_INVALID_IPC_PORT |
Invalid IPC port in comms transport config. |
|
IComms |
7016 |
ERR_COMMS_TCP_FAILED |
TCP transport failed to start listener/receiver. |
|
IComms |
7017 |
ERR_COMMS_UDP_FAILED |
IUDP transport failed to start listener/receiver. |
|
IComms |
7018 |
ERR_COMMS_IPC_FAILED |
IPC transport failed to start listener/receiver. |
|
IComms |
7019 |
ERR_COMMS_THREAD_ALREADY_STARTED |
IComms transports was already started. |
|
IComms |
7020 |
ERR_COMMS_UNKNOWN_MSG_FLAG |
Received data with unknown MSG flag. |
|
IComms |
7021 |
ERR_COMMS_MSG_INVALID |
Received MSG data which is invalid. |
|
IComms |
7022 |
ERR_COMMS_RSP_INVALID |
Received RSP data which is invalid. |
|
IComms |
7023 |
ERR_COMMS_UNSUPORTED_ACTION |
Action is not supported from receiver. |
|
IComms |
7024 |
ERR_COMMS_MSG_PROCESS_FAILED |
Listener failed to process received MSG. |
|
IComms |
7025 |
ERR_COMMS_CORE_STOP |
IComms detected mBSA core stop. |
|
IComms |
7026 |
ERR_COMMS_FAILED_CONNECT |
Failed to connect to desired transport. |
|
IComms |
7027 |
ERR_COMMS_TRANSPORT_CLOSED |
Connected transport closed. |
|
IComms |
7028 |
ERR_COMMS_NO_MODULES_BINDED |
There is no binded modules to comms. |
|
IComms |
7029 |
ERR_COMMS_MORE_DATA |
More data is needed for parsing messages. |
|
IConfigManager Plugin Error Codes
Bellow you will find a list of all available error codes that can be thrown by the mBSA component, together with its resolution instructions.
Component |
Number |
Code |
Error Description |
Resolution |
|---|---|---|---|---|
IConfig |
3001 |
ERR_CFG_PARSING_LINE |
Failed to parse config line. |
|
IConfig |
3002 |
ERR_CFG_NO_KEY_VALUE |
No key value for an attribute. |
|
IConfig |
3003 |
ERR_CFG_NO_STORE_FILE |
No store file is set. |
|
IConfig |
3004 |
ERR_CFG_NOT_ALLOWED_CHARS |
Special character in key or attribute. |
Keys and IDs are not allowed to contain these characters: '|', ':', '=' |
IEventDispatcher Plugin Error Codes
Bellow you will find a list of all available error codes that can be thrown by the mBSA component, together with its resolution instructions.
Component |
Number |
Code |
Error Description |
Resolution |
|---|---|---|---|---|
IEventDispatcher |
5001 |
ERR_EVT_NOT_REGISTERED |
Listener was not registered. |
|
IEventDispatcher |
5002 |
ERR_EVT_ALREADY_REGISTERED |
Listener was already registered. |
|
IMBSManager Plugin Error Codes
Bellow you will find a list of all available error codes that can be thrown by the mBSA component, together with its resolution instructions.
Component |
Number |
Code |
Error Description |
Resolution |
|---|---|---|---|---|
IMBSManager |
8001 |
ERR_MBSMANAGER_RUNTIME_ALREADY_STARTED |
Runtime is already started. |
|
IMBSManager |
8002 |
ERR_MBSMANAGER_RUNTIME_ALREADY_STARTING |
Runtime is already starting. |
|
IMBSManager |
8003 |
ERR_MBSMANAGER_RUNTIME_NOT_STARTED |
Runtime is not started. |
|
IMBSManager |
8004 |
ERR_MBSMANAGER_RUNTIME_ALREADY_STOPPING |
Runtime is already stopping. |
|
IMBSManager |
8005 |
ERR_MBSMANAGER_RUNTIME_START_FAILED |
Runtime failed to start. |
Please check Bosch IoT Gateway Software manager logs for additional info. |
IMBSManager |
8006 |
ERR_MBSMANAGER_NO_DEFAULT_RUNTIME |
No default runtime. |
|
IPlugin Error Codes
Bellow you will find a list of all available error codes that can be thrown by the mBSA component, together with its resolution instructions.
Component |
Number |
Code |
Error Description |
Resolution |
|---|---|---|---|---|
IPlugin |
2001 |
ERR_PG_UNKNOWN_ID |
Unknown instance by interface ID. |
|
IPlugin |
2002 |
ERR_PG_NOT_INITIALIZED |
Tried to get instance before plugin initialization. |
|
IPlugin |
2003 |
ERR_PG_INIT_FAILED |
Failed to initialize plugin. |
|
IPlugin |
2004 |
ERR_PG_INIT_LOOP_LOCK |
Loop lock in initialization of plugin. |
|
IRuntimeController Plugin Error Codes
Bellow you will find a list of all available error codes that can be thrown by the mBSA component, together with its resolution instructions.
Component |
Number |
Code |
Error Description |
Resolution |
|---|---|---|---|---|
IRuntimeController |
4001 |
ERR_RTC_ACTION_TIMEOUTED |
Runtime not started. |
|
IRuntimeController |
4002 |
ERR_RTC_RUNTIME_TERMINATED |
Runtime terminated unexpectedly. |
|
IRuntimeController |
4003 |
ERR_RTC_FOREIGN_RUNTIME |
Runtime was not started by RTC. |
|
IRuntimeController |
4004 |
ERR_RTC_NO_RUNTIME_INFO |
Runtime Target Type not found in config. |
|
IRuntimeController |
4005 |
ERR_RTC_RUNTIME_NOT_STARTED |
Runtime with this TargetID was not started. |
|
IRuntimeController |
4006 |
ERR_RTC_RUNTIME_KILLED |
Runtime with TargetID was terminated without ack for stopRutnime. |
|
IRuntimeController |
4007 |
ERR_RTC_NOT_INITIALIZED |
Runtime controller not initialized. |
|
IRuntimeController |
4008 |
ERR_RTC_ALREADY_STARTING |
Action can't be executed now, but client may retry later. |
|
IRuntimeController |
4009 |
ERR_RTC_ALREADY_STOPPING |
Action can't be executed now, but client may retry later. |
|
IRuntimeController |
4010 |
ERR_RTC_NOT_STARTING |
Invalid state in process ACTION_RT_STARTED. |
|
IRuntimeController |
4011 |
ERR_ACTION_UNRECOGNIZED |
Unrecognised action. |
|
IRuntimeController |
4012 |
ERR_RTC_DIFFERENT_TYPE |
Type of info is different than target type. |
|
IRuntimeController |
4013 |
ERR_RTC_FAILED_DATA_LOCK |
Error on lock. |
|
IRuntimeController |
4014 |
ERR_RTC_FAILED_DATA_UNLOCK |
Error on unlock. |
|
IRuntimeController |
4015 |
ERR_RTC_STOPPED |
Error when RTC is stopped on core/comms stop. |
|
ITCPTransport Plugin Error Codes
Bellow you will find a list of all available error codes that can be thrown by the mBSA component, together with its resolution instructions.
Component |
Number |
Code |
Error Description |
Resolution |
|---|---|---|---|---|
ITCPTransport |
5101 |
ERR_TCP_SOCKET_ACCEPT_FAILED |
Socket accept failed. |
|
ITCPTransport |
5102 |
ERR_TCP_SOCKET_CONNECT_FAILED |
Socket connect failed. |
|
ITCPTransport |
5103 |
ERR_TCP_SOCKET_FAILED |
Socket failed. |
|
ITCPTransport |
5104 |
ERR_TCP_SOCKET_LISTEN_FAILED |
Socket listen failed. |
|
ITCPTransport |
5105 |
ERR_TCP_SOCKET_SEND_FAILED |
Socket send failed. |
|
ITCPTransport |
5106 |
ERR_TCP_SOCKET_CLOSE_FAILE |
Socket close failed. |
|
ITCPTransport |
5107 |
ERR_TCP_SOCKET_BIND_FAILED |
Socket bind failed. |
|
ITCPTransport |
5108 |
ERR_TCP_SOCKET_RECV_FAILED |
Socket recv failed. |
|
ITCPTransport |
5109 |
ERR_TCP_INVALID_SOCKET |
Invalid socket. |
|
ITCPTransport |
5110 |
ERR_TCP_ISNOT_CLIENT |
TCPTransport is not in state Client. |
|
ITCPTransport |
5111 |
ERR_TCP_ISNOT_NONE |
TCPTransport is not in state None. |
|
ITCPTransport |
5112 |
ERR_TCP_ISNOT_SERVER |
TCPTransport is not in state Server. |
|
ITCPTransport |
5113 |
ERR_TCP_SOCKET_CLOSED |
Socket is closed on recv, send or accept. |
|
ITargetManager Manager Plugin Error Codes
Bellow you will find a list of all available error codes that can be thrown by the mBSA component, together with its resolution instructions.
Component |
Number |
Code |
Error Description |
Resolution |
|---|---|---|---|---|
ITargetManager |
6001 |
ERR_TMCOMMS_READ_MSG |
Failed to read comms message. |
|
ITargetManager |
6002 |
ERR_TMCOMMS_WRITE_MSG |
Failed to write comms message. |
|
ITargetManager |
6003 |
ERR_TMCOMMS_NOSUCH_ID |
No such target iterator. |
|
PDataFormater Plugin Error Codes
Bellow you will find a list of all available error codes that can be thrown by the mBSA component, together with its resolution instructions.
Component |
Number |
Code |
Error Description |
Resolution |
|---|---|---|---|---|
PDataFormater |
9001 |
ERR_DF_OUT_OF_RANGE |
Data out of range. |
|
PDataFormater |
9002 |
ERR_DF_INVALID_TYPE |
Invalid date type. |
|
PDataFormater |
9003 |
ERR_DF_DATA_TOO_SHORT |
Expected more data. |
|
PDataFormater |
9004 |
ERR_DF_NOT_ARRAY |
Data not initialized. |
|
PDataFormater |
9005 |
ERR_DF_DECODE_UTF8 |
Error on conversion. |
|
PDataFormater |
9006 |
ERR_DF_ENCODE_UTF8 |
Error on conversion. |
|