30 static constexpr int OK = 0;
358 static constexpr int TxFailed = -1001;
637 static constexpr int NotFound = -10004;
659 static constexpr int NoFile = -10009;
757 operator int()
const {
return this->value; }
759 bool operator==(
const StatusCode &data)
const
761 return this->value == data.value;
763 bool operator==(
int data)
const
765 return this->value == data;
767 bool operator<(
const StatusCode &data)
const
769 return this->value < data.value;
771 bool operator<(
int data)
const
773 return this->value < data;
775 StatusCode(
int val) : value{val} {}
778 const char *GetName()
const
783 case -100:
return "TaskIsBusy";
784 case -101:
return "InvalidDeviceSpec";
785 case -102:
return "EcuIsNotPresent";
786 case -103:
return "CouldNotEnterBl";
787 case -104:
return "CouldNotConfirmBl";
788 case -105:
return "CouldNotErase";
789 case -106:
return "CouldNotSendFlash";
790 case -107:
return "CouldNotValidate";
791 case -108:
return "CouldNotRunApp";
792 case -109:
return "CouldNotReqSetId";
793 case -110:
return "CouldNotConfirmId";
794 case -111:
return "FlashWasGood";
795 case -112:
return "AppTooOld";
796 case -113:
return "CouldNotReqSetDesc";
797 case -114:
return "CompileSzIsWrong";
798 case -115:
return "GadgeteerDeviceNoSetId";
799 case -116:
return "InvalidTask";
800 case -117:
return "NotImplemented";
801 case -118:
return "NoDevicesOnBus";
802 case -119:
return "MoreThanOneFile";
803 case -120:
return "NodeIsInvalid";
804 case -121:
return "InvalidDeviceDescriptor";
805 case -123:
return "CouldNotSendCanFrame";
806 case -124:
return "NormalModeMsgNotPresent";
807 case -125:
return "FeatureNotSupported";
808 case -126:
return "NotUpdating";
809 case -127:
return "CorruptedPOST";
810 case -128:
return "NoConfigs";
811 case -129:
return "ConfigFailed";
812 case -130:
return "CouldNotReqFactoryDefault";
813 case -131:
return "CustomNameNotSupported";
814 case -132:
return "ConfigReadWriteMismatch";
815 case -133:
return "CouldNotReqSetConfigs";
816 case -134:
return "InsufficientSz";
817 case -135:
return "InvalidModel";
818 case -140:
return "CouldNotReqDevInfo";
819 case -141:
return "NoControls";
820 case -142:
return "DeviceIsNull";
821 case -143:
return "DeviceDidNotRespondToDiagReq";
822 case -144:
return "OnlySupportedInTunerX";
823 case -145:
return "CanivCliError";
824 case -200:
return "InvalidCrfBadHeader";
825 case -201:
return "InvalidCrfFileSzInvald";
826 case -202:
return "InvalidCrfWrongProduct";
827 case -203:
return "InvalidCrfNoSects";
828 case -204:
return "InvalidCrfBadSectHeader";
829 case -205:
return "InvalidCrfBadSectSize";
830 case -206:
return "NoCrfFile";
831 case -300:
return "CouldNotFindDynamicId";
832 case -301:
return "DidNotGetDhcp";
833 case -302:
return "DidNotGetFullDhcp";
834 case -350:
return "InvalidLicenseResp";
835 case -351:
return "InvalidCanivCache";
836 case -500:
return "CannotOpenSerialPort";
837 case -501:
return "CannotWriteSerialPort";
838 case -502:
return "CannotReadSerialPort";
839 case -503:
return "CannotSerialToDevice";
840 case -504:
return "NoSerialControlFrameResp";
841 case -600:
return "CannotOpenUdpPort";
842 case -601:
return "CannotWriteUdpPort";
843 case -602:
return "CannotReadUdpPort";
844 case -603:
return "CannotUdpToDevice";
845 case -604:
return "NoUdpControlFrameResp";
846 case -605:
return "TimeoutIso15Response";
847 case -700:
return "InvalidJson";
848 case -800:
return "AppIsTerminating";
849 case 1000:
return "CanMessageStale";
850 case 1006:
return "BufferFull";
851 case 1010:
return "PulseWidthSensorNotPresent";
852 case 1100:
return "GeneralWarning";
853 case 1103:
return "FirmVersionCouldNotBeRetrieved";
854 case 1104:
return "FeaturesNotAvailableYet";
855 case 1105:
return "ControlModeNotValid";
856 case 1106:
return "ControlModeNotSupportedYet";
857 case 1109:
return "MotProfFirmThreshold";
858 case 1110:
return "MotProfFirmThreshold2";
859 case 1200:
return "SimDeviceNotFound";
860 case 1201:
return "SimPhysicsTypeNotSupported";
861 case 1202:
return "SimDeviceAlreadyExists";
862 case -1001:
return "TxFailed";
863 case -1002:
return "InvalidParamValue";
864 case -1003:
return "RxTimeout";
865 case -1004:
return "TxTimeout";
866 case -1005:
return "UnexpectedArbId";
867 case -1006:
return "CanOverflowed";
868 case -1007:
return "SensorNotPresent";
869 case -1008:
return "FirmwareTooOld";
870 case -1009:
return "CouldNotChangePeriod";
871 case -1010:
return "BufferFailure";
872 case -1011:
return "FirmwareNonFRC";
873 case -1100:
return "GeneralError";
874 case -1200:
return "SigNotUpdated";
875 case -1201:
return "NotAllPIDValuesUpdated";
876 case -1300:
return "GEN_PORT_ERROR";
877 case -1301:
return "PORT_MODULE_TYPE_MISMATCH";
878 case -1400:
return "GEN_MODULE_ERROR";
879 case -1401:
return "MODULE_NOT_INIT_SET_ERROR";
880 case -1402:
return "MODULE_NOT_INIT_GET_ERROR";
881 case -1500:
return "WheelRadiusTooSmall";
882 case -1501:
return "TicksPerRevZero";
883 case -1502:
return "DistanceBetweenWheelsTooSmall";
884 case -1503:
return "GainsAreNotSet";
885 case -1504:
return "WrongRemoteLimitSwitchSource";
886 case -1505:
return "DoubleVoltageCompensatingWPI";
887 case -1506:
return "CANdleAnimSlotOutOfBounds";
888 case -1600:
return "IncompatibleMode";
889 case -1601:
return "InvalidHandle";
890 case -1700:
return "FeatureRequiresHigherFirm";
891 case -1702:
return "ConfigFactoryDefaultRequiresHigherFirm";
892 case -1703:
return "ConfigMotionSCurveRequiresHigherFirm";
893 case -1704:
return "TalonFXFirmwarePreVBatDetect";
894 case -1705:
return "CANdleAnimationsRequireHigherFirm";
895 case -1800:
return "LibraryCouldNotBeLoaded";
896 case -1801:
return "MissingRoutineInLibrary";
897 case -1802:
return "ResourceNotAvailable";
898 case -1900:
return "MusicFileNotFound";
899 case -1901:
return "MusicFileWrongSize";
900 case -1902:
return "MusicFileTooNew";
901 case -1903:
return "MusicFileInvalid";
902 case -1904:
return "InvalidOrchestraAction";
903 case -1905:
return "MusicFileTooOld";
904 case -1906:
return "MusicInterrupted";
905 case -1907:
return "MusicNotSupported";
906 case -2000:
return "kInvalidInterface";
907 case -2001:
return "kInvalidGuid";
908 case -2002:
return "kInvalidClass";
909 case -2003:
return "kInvalidProtocol";
910 case -2004:
return "kInvalidPath";
911 case -2005:
return "kGeneralWinUsbError";
912 case -2006:
return "kFailedSetup";
913 case -2007:
return "kListenFailed";
914 case -2008:
return "kSendFailed";
915 case -2009:
return "kReceiveFailed";
916 case -2010:
return "kInvalidRespFormat";
917 case -2011:
return "kWinUsbInitFailed";
918 case -2012:
return "kWinUsbQueryFailed";
919 case -2013:
return "kWinUsbGeneralError";
920 case -2014:
return "kAccessDenied";
921 case -2015:
return "kFirmwareInvalidResponse";
922 case -10000:
return "StatusCodeNotInitialized";
923 case 10000:
return "WarningNotInitialized";
924 case 10001:
return "HwTimestampOutOfSync";
925 case -10001:
return "InvalidNetwork";
926 case -10002:
return "MultiSignalNotSupported";
927 case -10003:
return "CouldNotCast";
928 case -10004:
return "NotFound";
929 case -10005:
return "NotSupported";
930 case -10006:
return "MissingContext";
931 case -10007:
return "ModelMismatch";
932 case -10008:
return "SerialMismatch";
933 case -10009:
return "NoFile";
934 case -10010:
return "LicenseDownloadFailed";
935 case -10011:
return "SelfTestIsEmpty";
936 case -10012:
return "SignalLookupFailed";
937 case -10013:
return "InvalidModeToGetSignal";
938 case -10014:
return "UnlicensedDevice";
939 case -10015:
return "InvalidSize";
940 case -10016:
return "InvalidLicenseResponse";
941 case -10017:
return "InvalidContext";
942 case -10018:
return "InternalError";
943 case -10019:
return "kDeviceResponseIncorrect";
944 case -10020:
return "kErrorPollingForDevices";
945 case -10021:
return "CouldNotRetrieveProFirmware";
946 case -10022:
return "CouldNotDecodeDeviceFirmware";
947 case -10023:
return "InvalidIDToFollow";
948 case -10024:
return "UsingProFeatureOnUnlicensedDevice";
949 case -10025:
return "FirmwareTooNew";
950 case -10026:
return "CouldNotSerialize";
951 case -10027:
return "MechanismFaulted";
952 case -10028:
return "FirmwareVersNotCompatible";
953 case -10029:
return "DirectoryMissing";
954 case -10030:
return "ApiTooOld";
958 return "Could not find name for StatusCode";
961 const char *GetDescription()
const
965 case 0:
return "No Error";
966 case -100:
return "Diagnostic Server is busy with another command.";
967 case -101:
return "InvalidDeviceSpec";
968 case -102:
return "Device is not present. Verify the device is connected and powered, and that the CAN bus is terminated.";
969 case -103:
return "Could not put the device into bootloader mode.";
970 case -104:
return "Could not confirm the device has entered the bootloader.";
971 case -105:
return "Could not erase flash.";
972 case -106:
return "Could not field upgrade the device.";
973 case -107:
return "Bootloader could not verify integrity of the flashed application.";
974 case -108:
return "Could not run the device firmware application.";
975 case -109:
return "Unable to set ID to this device.";
976 case -110:
return "Could not verify that the changed ID took effect.";
977 case -111:
return "Device field upgrade was successful.";
978 case -112:
return "Device firmware application is too old.";
979 case -113:
return "Unable to set name to this device.";
980 case -114:
return "CompileSzIsWrong";
981 case -115:
return "Cannot set the ID of a gadgeteer device.";
982 case -116:
return "This diagnostic action is not supported.";
983 case -117:
return "Not Implemented, check latest installer.";
984 case -118:
return "NoDevicesOnBus";
985 case -119:
return "MoreThanOneFile";
986 case -120:
return "Specified device was not found. Verify the device is connected and powered, and that the CAN bus is terminated.";
987 case -121:
return "InvalidDeviceDescriptor";
988 case -123:
return "CouldNotSendCanFrame";
989 case -124:
return "NormalModeMsgNotPresent";
990 case -125:
return "This feature is not supported.";
991 case -126:
return "The diagnostic server is not field upgrading any devices.";
992 case -127:
return "CorruptedPOST";
993 case -128:
return "This device did not report any available configs. Verify firmware and diagnostics are up-to-date.";
994 case -129:
return "ConfigFailed";
995 case -130:
return "Unable to factory default this device.";
996 case -131:
return "CustomNameNotSupported";
997 case -132:
return "The configs read from the device do not match the configs that were written.";
998 case -133:
return "Could not apply the device configs.";
999 case -134:
return "InsufficientSz";
1000 case -135:
return "This feature is not supported for this device model.";
1001 case -140:
return "CouldNotReqDevInfo";
1002 case -141:
return "This device does not support new controls.";
1003 case -142:
return "DeviceIsNull";
1004 case -143:
return "DeviceDidNotRespondToDiagReq";
1005 case -144:
return "This feature requires Tuner X.";
1006 case -145:
return "Command-line issue with caniv.";
1007 case -200:
return "InvalidCrfBadHeader";
1008 case -201:
return "InvalidCrfFileSzInvald";
1009 case -202:
return "Specified CRF is for the wrong product.";
1010 case -203:
return "InvalidCrfNoSects";
1011 case -204:
return "InvalidCrfBadSectHeader";
1012 case -205:
return "InvalidCrfBadSectSize";
1013 case -206:
return "Specified CRF file could not be found.";
1014 case -300:
return "CouldNotFindDynamicId";
1015 case -301:
return "DidNotGetDhcp";
1016 case -302:
return "DidNotGetFullDhcp";
1017 case -350:
return "InvalidLicenseResp";
1018 case -351:
return "InvalidCanivCache";
1019 case -500:
return "CannotOpenSerialPort";
1020 case -501:
return "CannotWriteSerialPort";
1021 case -502:
return "CannotReadSerialPort";
1022 case -503:
return "CannotSerialToDevice";
1023 case -504:
return "NoSerialControlFrameResp";
1024 case -600:
return "CannotOpenUdpPort";
1025 case -601:
return "CannotWriteUdpPort";
1026 case -602:
return "CannotReadUdpPort";
1027 case -603:
return "CannotUdpToDevice";
1028 case -604:
return "NoUdpControlFrameResp";
1029 case -605:
return "TimeoutIso15Response";
1030 case -700:
return "InvalidJson";
1031 case -800:
return "The user application is shutting down.";
1032 case 1000:
return "CAN Message is stale.";
1033 case 1006:
return "Buffer is full, cannot insert more data.";
1034 case 1010:
return "PulseWidthSensorNotPresent";
1035 case 1100:
return "General Warning Occurred.";
1036 case 1103:
return "Firm Vers could not be retrieved. Use Phoenix Tuner to check ID and firmware(CRF) version.";
1037 case 1104:
return "This feature will be supported in a future update.";
1038 case 1105:
return "The control mode is not valid for this function.";
1039 case 1106:
return "This control mode is not supported yet. A future release will supported this soon.";
1040 case 1109:
return "Motor Controller must have >= 3.2 firmware for motion profile control mode.";
1041 case 1110:
return "Motor Controller must have >= 3.4 firmware for advanced PID0/PID1 features.";
1042 case 1200:
return "SimDeviceNotFound";
1043 case 1201:
return "SimPhysicsTypeNotSupported";
1044 case 1202:
return "SimDeviceAlreadyExists";
1045 case -1001:
return "Could not transmit CAN Frame.";
1046 case -1002:
return "Incorrect argument passed into function/VI.";
1047 case -1003:
return "CAN frame not received/too-stale.";
1048 case -1004:
return "CAN Transmit timed out.";
1049 case -1005:
return "ArbID is incorrect.";
1050 case -1006:
return "CanOverflowed";
1051 case -1007:
return "Sensor Not Present.";
1052 case -1008:
return "Firmware Too Old. Use Phoenix Tuner to field upgrade your CTRE CAN device firmware(CRF). Then restart your robot application to clear this error.";
1053 case -1009:
return "Control Frame Period could not be changed. Most likely it is not being transmitted.";
1054 case -1010:
return "BufferFailure";
1055 case -1011:
return "Firmware is legacy non-FRC version. Use Phoenix Tuner to field upgrade your CTRE CAN device firmware(CRF). Firmware greater than 20.0 required.";
1056 case -1100:
return "General Error Occurred.";
1057 case -1200:
return "No new response to update signal.";
1058 case -1201:
return "NotAllPIDValuesUpdated";
1059 case -1300:
return "GEN_PORT_ERROR";
1060 case -1301:
return "PORT_MODULE_TYPE_MISMATCH";
1061 case -1400:
return "GEN_MODULE_ERROR";
1062 case -1401:
return "MODULE_NOT_INIT_SET_ERROR";
1063 case -1402:
return "MODULE_NOT_INIT_GET_ERROR";
1064 case -1500:
return "Wheel Radius is too small, cannot get distance traveled.";
1065 case -1501:
return "Ticks per revolution is 0, cannot get heading.";
1066 case -1502:
return "Distance between wheels is too small, cannot get heading.";
1067 case -1503:
return "GainsAreNotSet";
1068 case -1504:
return "Use RemoteLimitSwitchSource instead of LimitSwitchSource.";
1069 case -1505:
return "Motor Controller Voltage Compensation should not be used with setVoltage(). This causes compensation to happen twice. Disable Voltage Compensation by calling enableVoltageCompensation(false) in order to use setVoltage().";
1070 case -1506:
return "CANdleAnimSlotOutOfBounds";
1071 case -1600:
return "IncompatibleMode";
1072 case -1601:
return "Handle passed into function is incorrect.";
1073 case -1700:
return "Features requires newer firmware version.";
1074 case -1702:
return "Config factory default features require firmware >=3.10.";
1075 case -1703:
return "Config Motion S Curve Strength features require firmware >=4.16.";
1076 case -1704:
return "Talon FX(Falcon 500) Firmware Too Old. Use Phoenix Tuner to field upgrade your CTRE CAN device firmware(CRF) to >=20.3. Then restart your robot application to clear this error.";
1077 case -1705:
return "CANdleAnimationsRequireHigherFirm";
1078 case -1800:
return "LibraryCouldNotBeLoaded";
1079 case -1801:
return "MissingRoutineInLibrary";
1080 case -1802:
return "ResourceNotAvailable";
1081 case -1900:
return "Could not find music file specified, try specifying an absolute path.";
1082 case -1901:
return "Music file size is incorrect, could not parse correctly. Ensure you're using Tuner to generate file.";
1083 case -1902:
return "Music file version is too new, update Phoenix to utilize this file.";
1084 case -1903:
return "Music file is invalid. Ensure you're using Tuner to generate file.";
1085 case -1904:
return "An invalid orchestra action occurred. Ensure a music file is loaded.";
1086 case -1905:
return "This music file version is too old. Regenerate file using Tuner.";
1087 case -1906:
return "Music interrupted due to one of the instruments being commanded a different control mode. Press Play to resume music.";
1088 case -1907:
return "This device doesn't support MusicTone control mode.";
1089 case -2000:
return "kInvalidInterface";
1090 case -2001:
return "kInvalidGuid";
1091 case -2002:
return "kInvalidClass";
1092 case -2003:
return "kInvalidProtocol";
1093 case -2004:
return "kInvalidPath";
1094 case -2005:
return "kGeneralWinUsbError";
1095 case -2006:
return "kFailedSetup";
1096 case -2007:
return "kListenFailed";
1097 case -2008:
return "kSendFailed";
1098 case -2009:
return "kReceiveFailed";
1099 case -2010:
return "kInvalidRespFormat";
1100 case -2011:
return "kWinUsbInitFailed";
1101 case -2012:
return "kWinUsbQueryFailed";
1102 case -2013:
return "kWinUsbGeneralError";
1103 case -2014:
return "kAccessDenied";
1104 case -2015:
return "kFirmwareInvalidResponse";
1105 case -10000:
return "This StatusCode has not been initialized. Make sure the StatusCode is getting assigned to the return of a method.";
1106 case 10000:
return "WarningNotInitialized";
1107 case 10001:
return "The timestamp reported by CANivore is at least 10ms older than the timestamp reported by the system, indicating it's fallen out of sync. This does not impact the data of this message, only the timing.";
1108 case -10001:
return "InvalidNetwork";
1109 case -10002:
return "The CAN bus does not support multi-signal synchronization.";
1110 case -10003:
return "Could not cast from base value to this particular signal's type";
1111 case -10004:
return "Could not find this value when searching for it";
1112 case -10005:
return "This is not supported";
1113 case -10006:
return "Could not determine context from this device hash";
1114 case -10007:
return "Model name in license file does not match model name of selected device.";
1115 case -10008:
return "Serial Number in license file does not match model name of selected device.";
1116 case -10009:
return "Could not find specified file.";
1117 case -10010:
return "License did not successfully download to Device.";
1118 case -10011:
return "Self Test report does not have any values, is the firmware up to date?";
1119 case -10012:
return "Failed to lookup signal properties. This can happen if the fimware is too new and supports signals that older APIs do not support.";
1120 case -10013:
return "The current mode of the device is invalid for getting this signal.";
1121 case -10014:
return "Device is not licensed. Cannot get any data from it.";
1122 case -10015:
return "Size is invalid.";
1123 case -10016:
return "InvalidLicenseResponse";
1124 case -10017:
return "InvalidContext";
1125 case -10018:
return "InternalError";
1126 case -10019:
return "kDeviceResponseIncorrect";
1127 case -10020:
return "kErrorPollingForDevices";
1128 case -10021:
return "Device firmware could not be retrieved. Check that the device is running Pro firmware, that the device ID is correct, that the specified CAN bus is correct, and that the device is powered.";
1129 case -10022:
return "Device firmware could not be decoded. Check that the device is running Pro firmware, that the device ID is correct, that the specified CAN bus is correct, and that the device is powered.";
1130 case -10023:
return "The values specified for master are in valid. Make sure the Device ID of master are correct.";
1131 case -10024:
return "Using a Pro only feature on an unlicensed device. The device may not behave as expected if it continues to operate while unlicensed.";
1132 case -10025:
return "Firmware Too New. Use Phoenix Tuner to field upgrade your CTRE CAN device firmware(CRF) to a compatible version. Then restart your robot application to clear this error.";
1133 case -10026:
return "The data frame could not be serialized for transmit.";
1134 case -10027:
return "The mechanism is disabled due to a fault in one of the devices.";
1135 case -10028:
return "Firmware version is not compatible with this version of Phoenix. Make sure your firmware and API major versions match.";
1136 case -10029:
return "Could not find specified directory.";
1137 case -10030:
return "This API version is too old for the firmware on the device. Either upgrade the API to a newer version or downgrade the device firmware to an older version for correct behavior.";
1141 return "Could not find description for StatusCode";
1144 friend std::ostream &operator<<(std::ostream &os, StatusCode status)
1146 os << status.GetName() <<
": " << status.GetDescription();
1149 bool IsError()
const {
return value < 0; }
1150 bool IsWarning()
const {
return value > 0; }
1151 bool IsOK()
const {
return value ==
OK; }
enum _StatusCode_t StatusCode_t
Typedef enum of the StatusCode for use in C projects.
_StatusCode_t
Typedef enum of the StatusCode for use in C projects.
Definition: StatusCodes.h:1165
@ CouldNotRunApp
Could not run the device firmware application.
Definition: StatusCodes.h:1206
@ CouldNotReqSetId
Unable to set ID to this device.
Definition: StatusCodes.h:1210
@ TalonFXFirmwarePreVBatDetect
Talon FX(Falcon 500) Firmware Too Old.
Definition: StatusCodes.h:1631
@ SimDeviceNotFound
SimDeviceNotFound.
Definition: StatusCodes.h:1485
@ InvalidContext
InvalidContext.
Definition: StatusCodes.h:1831
@ CanMessageStale
CAN Message is stale.
Definition: StatusCodes.h:1441
@ NoConfigs
This device did not report any available configs.
Definition: StatusCodes.h:1284
@ IncompatibleMode
IncompatibleMode.
Definition: StatusCodes.h:1609
@ InvalidHandle
Handle passed into function is incorrect.
Definition: StatusCodes.h:1613
@ GainsAreNotSet
GainsAreNotSet.
Definition: StatusCodes.h:1590
@ MusicFileInvalid
Music file is invalid.
Definition: StatusCodes.h:1664
@ TicksPerRevZero
Ticks per revolution is 0, cannot get heading.
Definition: StatusCodes.h:1582
@ NotUpdating
The diagnostic server is not field upgrading any devices.
Definition: StatusCodes.h:1275
@ MotProfFirmThreshold
Motor Controller must have >= 3.2 firmware for motion profile control mode.
Definition: StatusCodes.h:1476
@ AppIsTerminating
The user application is shutting down.
Definition: StatusCodes.h:1437
@ CannotSerialToDevice
CannotSerialToDevice.
Definition: StatusCodes.h:1401
@ ApiTooOld
This API version is too old for the firmware on the device.
Definition: StatusCodes.h:1894
@ MusicFileNotFound
Could not find music file specified, try specifying an absolute path.
Definition: StatusCodes.h:1651
@ ConfigReadWriteMismatch
The configs read from the device do not match the configs that were written.
Definition: StatusCodes.h:1301
@ kWinUsbQueryFailed
kWinUsbQueryFailed
Definition: StatusCodes.h:1733
@ kAccessDenied
kAccessDenied
Definition: StatusCodes.h:1741
@ kInvalidPath
kInvalidPath
Definition: StatusCodes.h:1701
@ CouldNotReqSetConfigs
Could not apply the device configs.
Definition: StatusCodes.h:1305
@ WheelRadiusTooSmall
Wheel Radius is too small, cannot get distance traveled.
Definition: StatusCodes.h:1578
@ InvalidJson
InvalidJson.
Definition: StatusCodes.h:1433
@ CannotOpenUdpPort
CannotOpenUdpPort.
Definition: StatusCodes.h:1409
@ OK
No Error.
Definition: StatusCodes.h:1169
@ StatusCodeNotInitialized
This StatusCode has not been initialized.
Definition: StatusCodes.h:1750
@ CANdleAnimSlotOutOfBounds
CANdleAnimSlotOutOfBounds.
Definition: StatusCodes.h:1605
@ NoDevicesOnBus
NoDevicesOnBus.
Definition: StatusCodes.h:1246
@ MoreThanOneFile
MoreThanOneFile.
Definition: StatusCodes.h:1250
@ BufferFull
Buffer is full, cannot insert more data.
Definition: StatusCodes.h:1445
@ GadgeteerDeviceNoSetId
Cannot set the ID of a gadgeteer device.
Definition: StatusCodes.h:1234
@ CouldNotSerialize
The data frame could not be serialized for transmit.
Definition: StatusCodes.h:1875
@ DidNotGetFullDhcp
DidNotGetFullDhcp.
Definition: StatusCodes.h:1377
@ CANdleAnimationsRequireHigherFirm
CANdleAnimationsRequireHigherFirm.
Definition: StatusCodes.h:1635
@ InvalidLicenseResponse
InvalidLicenseResponse.
Definition: StatusCodes.h:1827
@ RxTimeout
CAN frame not received/too-stale.
Definition: StatusCodes.h:1505
@ MultiSignalNotSupported
The CAN bus does not support multi-signal synchronization.
Definition: StatusCodes.h:1768
@ CannotReadUdpPort
CannotReadUdpPort.
Definition: StatusCodes.h:1417
@ CouldNotDecodeDeviceFirmware
Device firmware could not be decoded.
Definition: StatusCodes.h:1855
@ kErrorPollingForDevices
kErrorPollingForDevices
Definition: StatusCodes.h:1843
@ kDeviceResponseIncorrect
kDeviceResponseIncorrect
Definition: StatusCodes.h:1839
@ GEN_PORT_ERROR
GEN_PORT_ERROR.
Definition: StatusCodes.h:1558
@ TxFailed
Could not transmit CAN Frame.
Definition: StatusCodes.h:1497
@ InvalidCrfFileSzInvald
InvalidCrfFileSzInvald.
Definition: StatusCodes.h:1345
@ MODULE_NOT_INIT_GET_ERROR
MODULE_NOT_INIT_GET_ERROR.
Definition: StatusCodes.h:1574
@ LicenseDownloadFailed
License did not successfully download to Device.
Definition: StatusCodes.h:1802
@ NoControls
This device does not support new controls.
Definition: StatusCodes.h:1321
@ InvalidModel
This feature is not supported for this device model.
Definition: StatusCodes.h:1313
@ kWinUsbInitFailed
kWinUsbInitFailed
Definition: StatusCodes.h:1729
@ ControlModeNotSupportedYet
This control mode is not supported yet.
Definition: StatusCodes.h:1471
@ kInvalidClass
kInvalidClass
Definition: StatusCodes.h:1693
@ CanOverflowed
CanOverflowed.
Definition: StatusCodes.h:1517
@ DidNotGetDhcp
DidNotGetDhcp.
Definition: StatusCodes.h:1373
@ InvalidOrchestraAction
An invalid orchestra action occurred.
Definition: StatusCodes.h:1668
@ kInvalidRespFormat
kInvalidRespFormat
Definition: StatusCodes.h:1725
@ DeviceDidNotRespondToDiagReq
DeviceDidNotRespondToDiagReq.
Definition: StatusCodes.h:1329
@ CannotWriteUdpPort
CannotWriteUdpPort.
Definition: StatusCodes.h:1413
@ NoFile
Could not find specified file.
Definition: StatusCodes.h:1798
@ ControlModeNotValid
The control mode is not valid for this function.
Definition: StatusCodes.h:1466
@ NormalModeMsgNotPresent
NormalModeMsgNotPresent.
Definition: StatusCodes.h:1267
@ UnexpectedArbId
ArbID is incorrect.
Definition: StatusCodes.h:1513
@ DistanceBetweenWheelsTooSmall
Distance between wheels is too small, cannot get heading.
Definition: StatusCodes.h:1586
@ HwTimestampOutOfSync
The timestamp reported by CANivore is at least 10ms older than the timestamp reported by the system,...
Definition: StatusCodes.h:1760
@ MusicFileWrongSize
Music file size is incorrect, could not parse correctly.
Definition: StatusCodes.h:1656
@ CouldNotChangePeriod
Control Frame Period could not be changed.
Definition: StatusCodes.h:1532
@ FeaturesNotAvailableYet
This feature will be supported in a future update.
Definition: StatusCodes.h:1462
@ InvalidLicenseResp
InvalidLicenseResp.
Definition: StatusCodes.h:1381
@ kListenFailed
kListenFailed
Definition: StatusCodes.h:1713
@ MusicFileTooNew
Music file version is too new, update Phoenix to utilize this file.
Definition: StatusCodes.h:1660
@ FirmVersionCouldNotBeRetrieved
Firm Vers could not be retrieved.
Definition: StatusCodes.h:1458
@ CompileSzIsWrong
CompileSzIsWrong.
Definition: StatusCodes.h:1230
@ InvalidTask
This diagnostic action is not supported.
Definition: StatusCodes.h:1238
@ UsingProFeatureOnUnlicensedDevice
Using a Pro only feature on an unlicensed device.
Definition: StatusCodes.h:1865
@ NotFound
Could not find this value when searching for it.
Definition: StatusCodes.h:1776
@ CouldNotCast
Could not cast from base value to this particular signal's type.
Definition: StatusCodes.h:1772
@ DeviceIsNull
DeviceIsNull.
Definition: StatusCodes.h:1325
@ InvalidCanivCache
InvalidCanivCache.
Definition: StatusCodes.h:1385
@ WrongRemoteLimitSwitchSource
Use RemoteLimitSwitchSource instead of LimitSwitchSource.
Definition: StatusCodes.h:1594
@ InvalidModeToGetSignal
The current mode of the device is invalid for getting this signal.
Definition: StatusCodes.h:1815
@ CouldNotEnterBl
Could not put the device into bootloader mode.
Definition: StatusCodes.h:1186
@ MusicFileTooOld
This music file version is too old.
Definition: StatusCodes.h:1672
@ CannotUdpToDevice
CannotUdpToDevice.
Definition: StatusCodes.h:1421
@ CorruptedPOST
CorruptedPOST.
Definition: StatusCodes.h:1279
@ DirectoryMissing
Could not find specified directory.
Definition: StatusCodes.h:1888
@ kInvalidInterface
kInvalidInterface
Definition: StatusCodes.h:1685
@ MissingContext
Could not determine context from this device hash.
Definition: StatusCodes.h:1784
@ CouldNotRetrieveProFirmware
Device firmware could not be retrieved.
Definition: StatusCodes.h:1849
@ InvalidNetwork
InvalidNetwork.
Definition: StatusCodes.h:1764
@ FirmwareVersNotCompatible
Firmware version is not compatible with this version of Phoenix.
Definition: StatusCodes.h:1884
@ ResourceNotAvailable
ResourceNotAvailable.
Definition: StatusCodes.h:1647
@ InvalidCrfNoSects
InvalidCrfNoSects.
Definition: StatusCodes.h:1353
@ CouldNotReqDevInfo
CouldNotReqDevInfo.
Definition: StatusCodes.h:1317
@ InvalidCrfBadSectHeader
InvalidCrfBadSectHeader.
Definition: StatusCodes.h:1357
@ kFirmwareInvalidResponse
kFirmwareInvalidResponse
Definition: StatusCodes.h:1745
@ CanivCliError
Command-line issue with caniv.
Definition: StatusCodes.h:1337
@ GeneralError
General Error Occurred.
Definition: StatusCodes.h:1546
@ kGeneralWinUsbError
kGeneralWinUsbError
Definition: StatusCodes.h:1705
@ SimPhysicsTypeNotSupported
SimPhysicsTypeNotSupported.
Definition: StatusCodes.h:1489
@ CannotWriteSerialPort
CannotWriteSerialPort.
Definition: StatusCodes.h:1393
@ GEN_MODULE_ERROR
GEN_MODULE_ERROR.
Definition: StatusCodes.h:1566
@ SignalLookupFailed
Failed to lookup signal properties.
Definition: StatusCodes.h:1811
@ kWinUsbGeneralError
kWinUsbGeneralError
Definition: StatusCodes.h:1737
@ InvalidSize
Size is invalid.
Definition: StatusCodes.h:1823
@ NoCrfFile
Specified CRF file could not be found.
Definition: StatusCodes.h:1365
@ InsufficientSz
InsufficientSz.
Definition: StatusCodes.h:1309
@ AppTooOld
Device firmware application is too old.
Definition: StatusCodes.h:1222
@ GeneralWarning
General Warning Occurred.
Definition: StatusCodes.h:1453
@ UnlicensedDevice
Device is not licensed.
Definition: StatusCodes.h:1819
@ MechanismFaulted
The mechanism is disabled due to a fault in one of the devices.
Definition: StatusCodes.h:1879
@ kFailedSetup
kFailedSetup
Definition: StatusCodes.h:1709
@ CouldNotSendCanFrame
CouldNotSendCanFrame.
Definition: StatusCodes.h:1263
@ InvalidCrfWrongProduct
Specified CRF is for the wrong product.
Definition: StatusCodes.h:1349
@ LibraryCouldNotBeLoaded
LibraryCouldNotBeLoaded.
Definition: StatusCodes.h:1639
@ PulseWidthSensorNotPresent
PulseWidthSensorNotPresent.
Definition: StatusCodes.h:1449
@ FirmwareTooNew
Firmware Too New.
Definition: StatusCodes.h:1871
@ FeatureRequiresHigherFirm
Features requires newer firmware version.
Definition: StatusCodes.h:1617
@ CouldNotReqSetDesc
Unable to set name to this device.
Definition: StatusCodes.h:1226
@ FirmwareNonFRC
Firmware is legacy non-FRC version.
Definition: StatusCodes.h:1542
@ NoUdpControlFrameResp
NoUdpControlFrameResp.
Definition: StatusCodes.h:1425
@ MusicNotSupported
This device doesn't support MusicTone control mode.
Definition: StatusCodes.h:1681
@ InvalidCrfBadHeader
InvalidCrfBadHeader.
Definition: StatusCodes.h:1341
@ CouldNotSendFlash
Could not field upgrade the device.
Definition: StatusCodes.h:1198
@ kSendFailed
kSendFailed
Definition: StatusCodes.h:1717
@ TxTimeout
CAN Transmit timed out.
Definition: StatusCodes.h:1509
@ InvalidParamValue
Incorrect argument passed into function/VI.
Definition: StatusCodes.h:1501
@ MusicInterrupted
Music interrupted due to one of the instruments being commanded a different control mode.
Definition: StatusCodes.h:1677
@ InvalidCrfBadSectSize
InvalidCrfBadSectSize.
Definition: StatusCodes.h:1361
@ PORT_MODULE_TYPE_MISMATCH
PORT_MODULE_TYPE_MISMATCH.
Definition: StatusCodes.h:1562
@ WarningNotInitialized
WarningNotInitialized.
Definition: StatusCodes.h:1754
@ kReceiveFailed
kReceiveFailed
Definition: StatusCodes.h:1721
@ SensorNotPresent
Sensor Not Present.
Definition: StatusCodes.h:1521
@ SimDeviceAlreadyExists
SimDeviceAlreadyExists.
Definition: StatusCodes.h:1493
@ NotImplemented
Not Implemented, check latest installer.
Definition: StatusCodes.h:1242
@ ConfigMotionSCurveRequiresHigherFirm
Config Motion S Curve Strength features require firmware >=4.16.
Definition: StatusCodes.h:1625
@ CouldNotConfirmBl
Could not confirm the device has entered the bootloader.
Definition: StatusCodes.h:1190
@ CouldNotFindDynamicId
CouldNotFindDynamicId.
Definition: StatusCodes.h:1369
@ kInvalidProtocol
kInvalidProtocol
Definition: StatusCodes.h:1697
@ TimeoutIso15Response
TimeoutIso15Response.
Definition: StatusCodes.h:1429
@ CannotReadSerialPort
CannotReadSerialPort.
Definition: StatusCodes.h:1397
@ CouldNotConfirmId
Could not verify that the changed ID took effect.
Definition: StatusCodes.h:1214
@ FirmwareTooOld
Firmware Too Old.
Definition: StatusCodes.h:1527
@ CouldNotValidate
Bootloader could not verify integrity of the flashed application.
Definition: StatusCodes.h:1202
@ InvalidDeviceDescriptor
InvalidDeviceDescriptor.
Definition: StatusCodes.h:1259
@ EcuIsNotPresent
Device is not present.
Definition: StatusCodes.h:1182
@ InvalidDeviceSpec
InvalidDeviceSpec.
Definition: StatusCodes.h:1177
@ NotSupported
This is not supported.
Definition: StatusCodes.h:1780
@ NoSerialControlFrameResp
NoSerialControlFrameResp.
Definition: StatusCodes.h:1405
@ ConfigFactoryDefaultRequiresHigherFirm
Config factory default features require firmware >=3.10.
Definition: StatusCodes.h:1621
@ MODULE_NOT_INIT_SET_ERROR
MODULE_NOT_INIT_SET_ERROR.
Definition: StatusCodes.h:1570
@ CouldNotReqFactoryDefault
Unable to factory default this device.
Definition: StatusCodes.h:1292
@ SelfTestIsEmpty
Self Test report does not have any values, is the firmware up to date?
Definition: StatusCodes.h:1806
@ ConfigFailed
ConfigFailed.
Definition: StatusCodes.h:1288
@ TaskIsBusy
Diagnostic Server is busy with another command.
Definition: StatusCodes.h:1173
@ DoubleVoltageCompensatingWPI
Motor Controller Voltage Compensation should not be used with setVoltage().
Definition: StatusCodes.h:1601
@ SigNotUpdated
No new response to update signal.
Definition: StatusCodes.h:1550
@ NodeIsInvalid
Specified device was not found.
Definition: StatusCodes.h:1255
@ FeatureNotSupported
This feature is not supported.
Definition: StatusCodes.h:1271
@ InvalidIDToFollow
The values specified for master are in valid.
Definition: StatusCodes.h:1860
@ CustomNameNotSupported
CustomNameNotSupported.
Definition: StatusCodes.h:1296
@ OnlySupportedInTunerX
This feature requires Tuner X.
Definition: StatusCodes.h:1333
@ FlashWasGood
Device field upgrade was successful.
Definition: StatusCodes.h:1218
@ InternalError
InternalError.
Definition: StatusCodes.h:1835
@ ModelMismatch
Model name in license file does not match model name of selected device.
Definition: StatusCodes.h:1789
@ CouldNotErase
Could not erase flash.
Definition: StatusCodes.h:1194
@ NotAllPIDValuesUpdated
NotAllPIDValuesUpdated.
Definition: StatusCodes.h:1554
@ MotProfFirmThreshold2
Motor Controller must have >= 3.4 firmware for advanced PID0/PID1 features.
Definition: StatusCodes.h:1481
@ CannotOpenSerialPort
CannotOpenSerialPort.
Definition: StatusCodes.h:1389
@ BufferFailure
BufferFailure.
Definition: StatusCodes.h:1536
@ kInvalidGuid
kInvalidGuid
Definition: StatusCodes.h:1689
@ MissingRoutineInLibrary
MissingRoutineInLibrary.
Definition: StatusCodes.h:1643
@ SerialMismatch
Serial Number in license file does not match model name of selected device.
Definition: StatusCodes.h:1794
const char * GetStatusCodeName(StatusCode_t value)
Get the name of the StatusCode passed.
const char * GetStatusCodeDescription(StatusCode_t value)
Get the description of the StatusCode passed.
Definition: ManualEvent.hpp:12