aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Firmware/Tango.FirmwareUpdateLib.WPF/FirmwareUpgradeManagerState.cs
blob: bcd9f69c28795187de5572d18038f977a842b487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.FirmwareUpdateLib.WPF
{
    public enum FirmwareUpgradeManagerState
    {
        [Description("")]
        Idle,
        [Description("Working...")]
        Busy,
        [Description("Initializing...")]
        Initializing,
        [Description("Locating DFU devices...")]
        EnumeratingDevices,
        [Description("Switching to DFU mode...")]
        SwitchingToDFU,
        [Description("Initializing upload sequence...")]
        StartingUpload,
        [Description("Uploading...")]
        Uploading,
        [Description("Verifying...")]
        Verifying,
        [Description("Resetting the device...")]
        Resetting,
        [Description("Waiting for the device...")]
        Waiting,
        [Description("Firmware upgrade completed.")]
        Completed,
    }
}
an class="n">ExecuteProcessResponse *message); size_t execute_process_response__get_packed_size (const ExecuteProcessResponse *message); size_t execute_process_response__pack (const ExecuteProcessResponse *message, uint8_t *out); size_t execute_process_response__pack_to_buffer (const ExecuteProcessResponse *message, ProtobufCBuffer *buffer); ExecuteProcessResponse * execute_process_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void execute_process_response__free_unpacked (ExecuteProcessResponse *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*ExecuteProcessResponse_Closure) (const ExecuteProcessResponse *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor execute_process_response__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_ExecuteProcessResponse_2eproto__INCLUDED */