[hal] Add ErrorInfo support to systemcore DS (#7488)

This commit is contained in:
Thad House
2024-12-07 14:14:21 -08:00
committed by GitHub
parent 52b33edcbd
commit e69c5710b3
8 changed files with 505 additions and 253 deletions

View File

@@ -104,166 +104,212 @@ static const uint8_t file_descriptor[] {
0x72,0x12,0x1c,0x0a,0x09,0x4d,0x61,0x74,0x63,0x68,
0x54,0x79,0x70,0x65,0x18,0x04,0x20,0x01,0x28,0x05,
0x52,0x09,0x4d,0x61,0x74,0x63,0x68,0x54,0x79,0x70,
0x65,0x42,0x0f,0x0a,0x0d,0x63,0x6f,0x6d,0x2e,0x6d,
0x72,0x63,0x2e,0x70,0x72,0x6f,0x74,0x6f,0x4a,0xa1,
0x0c,0x0a,0x06,0x12,0x04,0x00,0x00,0x2e,0x01,0x0a,
0x08,0x0a,0x01,0x0c,0x12,0x03,0x00,0x00,0x12,0x0a,
0x08,0x0a,0x01,0x02,0x12,0x03,0x02,0x00,0x12,0x0a,
0x08,0x0a,0x01,0x08,0x12,0x03,0x04,0x00,0x26,0x0a,
0x09,0x0a,0x02,0x08,0x01,0x12,0x03,0x04,0x00,0x26,
0x0a,0x0a,0x0a,0x02,0x04,0x00,0x12,0x04,0x06,0x00,
0x0b,0x01,0x0a,0x0a,0x0a,0x03,0x04,0x00,0x01,0x12,
0x03,0x06,0x08,0x1c,0x0a,0x0b,0x0a,0x04,0x04,0x00,
0x02,0x00,0x12,0x03,0x07,0x04,0x1b,0x0a,0x0c,0x0a,
0x05,0x04,0x00,0x02,0x00,0x05,0x12,0x03,0x07,0x04,
0x0a,0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,0x00,0x01,
0x12,0x03,0x07,0x0b,0x16,0x0a,0x0c,0x0a,0x05,0x04,
0x00,0x02,0x00,0x03,0x12,0x03,0x07,0x19,0x1a,0x0a,
0x0b,0x0a,0x04,0x04,0x00,0x02,0x01,0x12,0x03,0x08,
0x04,0x18,0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,0x01,
0x05,0x12,0x03,0x08,0x04,0x0b,0x0a,0x0c,0x0a,0x05,
0x04,0x00,0x02,0x01,0x01,0x12,0x03,0x08,0x0c,0x13,
0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,0x01,0x03,0x12,
0x03,0x08,0x16,0x17,0x0a,0x0b,0x0a,0x04,0x04,0x00,
0x02,0x02,0x12,0x03,0x09,0x04,0x1c,0x0a,0x0c,0x0a,
0x05,0x04,0x00,0x02,0x02,0x04,0x12,0x03,0x09,0x04,
0x0c,0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,0x02,0x05,
0x12,0x03,0x09,0x0d,0x12,0x0a,0x0c,0x0a,0x05,0x04,
0x00,0x02,0x02,0x01,0x12,0x03,0x09,0x13,0x17,0x0a,
0x0c,0x0a,0x05,0x04,0x00,0x02,0x02,0x03,0x12,0x03,
0x09,0x1a,0x1b,0x0a,0x0b,0x0a,0x04,0x04,0x00,0x02,
0x03,0x12,0x03,0x0a,0x04,0x1d,0x0a,0x0c,0x0a,0x05,
0x04,0x00,0x02,0x03,0x04,0x12,0x03,0x0a,0x04,0x0c,
0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,0x03,0x05,0x12,
0x03,0x0a,0x0d,0x13,0x0a,0x0c,0x0a,0x05,0x04,0x00,
0x02,0x03,0x01,0x12,0x03,0x0a,0x14,0x18,0x0a,0x0c,
0x0a,0x05,0x04,0x00,0x02,0x03,0x03,0x12,0x03,0x0a,
0x1b,0x1c,0x0a,0x0a,0x0a,0x02,0x04,0x01,0x12,0x04,
0x0d,0x00,0x12,0x01,0x0a,0x0a,0x0a,0x03,0x04,0x01,
0x01,0x12,0x03,0x0d,0x08,0x1b,0x0a,0x0b,0x0a,0x04,
0x04,0x01,0x02,0x00,0x12,0x03,0x0e,0x04,0x1b,0x0a,
0x0c,0x0a,0x05,0x04,0x01,0x02,0x00,0x05,0x12,0x03,
0x0e,0x04,0x0a,0x0a,0x0c,0x0a,0x05,0x04,0x01,0x02,
0x00,0x01,0x12,0x03,0x0e,0x0b,0x16,0x0a,0x0c,0x0a,
0x05,0x04,0x01,0x02,0x00,0x03,0x12,0x03,0x0e,0x19,
0x1a,0x0a,0x0b,0x0a,0x04,0x04,0x01,0x02,0x01,0x12,
0x03,0x0f,0x04,0x18,0x0a,0x0c,0x0a,0x05,0x04,0x01,
0x02,0x01,0x05,0x12,0x03,0x0f,0x04,0x09,0x0a,0x0c,
0x0a,0x05,0x04,0x01,0x02,0x01,0x01,0x12,0x03,0x0f,
0x0a,0x13,0x0a,0x0c,0x0a,0x05,0x04,0x01,0x02,0x01,
0x03,0x12,0x03,0x0f,0x16,0x17,0x0a,0x0b,0x0a,0x04,
0x04,0x01,0x02,0x02,0x12,0x03,0x10,0x04,0x30,0x0a,
0x0c,0x0a,0x05,0x04,0x01,0x02,0x02,0x04,0x12,0x03,
0x10,0x04,0x0c,0x0a,0x0c,0x0a,0x05,0x04,0x01,0x02,
0x02,0x06,0x12,0x03,0x10,0x0d,0x21,0x0a,0x0c,0x0a,
0x05,0x04,0x01,0x02,0x02,0x01,0x12,0x03,0x10,0x22,
0x2b,0x0a,0x0c,0x0a,0x05,0x04,0x01,0x02,0x02,0x03,
0x12,0x03,0x10,0x2e,0x2f,0x0a,0x0b,0x0a,0x04,0x04,
0x01,0x02,0x03,0x12,0x03,0x11,0x04,0x16,0x0a,0x0c,
0x0a,0x05,0x04,0x01,0x02,0x03,0x05,0x12,0x03,0x11,
0x04,0x0a,0x0a,0x0c,0x0a,0x05,0x04,0x01,0x02,0x03,
0x01,0x12,0x03,0x11,0x0b,0x11,0x0a,0x0c,0x0a,0x05,
0x04,0x01,0x02,0x03,0x03,0x12,0x03,0x11,0x14,0x15,
0x0a,0x0a,0x0a,0x02,0x04,0x02,0x12,0x04,0x14,0x00,
0x1b,0x01,0x0a,0x0a,0x0a,0x03,0x04,0x02,0x01,0x12,
0x03,0x14,0x08,0x22,0x0a,0x0b,0x0a,0x04,0x04,0x02,
0x02,0x00,0x12,0x03,0x15,0x04,0x1c,0x0a,0x0c,0x0a,
0x05,0x04,0x02,0x02,0x00,0x05,0x12,0x03,0x15,0x04,
0x0a,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x00,0x01,
0x12,0x03,0x15,0x0b,0x17,0x0a,0x0c,0x0a,0x05,0x04,
0x02,0x02,0x00,0x03,0x12,0x03,0x15,0x1a,0x1b,0x0a,
0x0b,0x0a,0x04,0x04,0x02,0x02,0x01,0x12,0x03,0x16,
0x04,0x21,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x01,
0x04,0x12,0x03,0x16,0x04,0x0c,0x0a,0x0c,0x0a,0x05,
0x04,0x02,0x02,0x01,0x05,0x12,0x03,0x16,0x0d,0x12,
0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x01,0x01,0x12,
0x03,0x16,0x13,0x1c,0x0a,0x0c,0x0a,0x05,0x04,0x02,
0x02,0x01,0x03,0x12,0x03,0x16,0x1f,0x20,0x0a,0x0b,
0x0a,0x04,0x04,0x02,0x02,0x02,0x12,0x03,0x17,0x04,
0x14,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x02,0x05,
0x12,0x03,0x17,0x04,0x08,0x0a,0x0c,0x0a,0x05,0x04,
0x02,0x02,0x02,0x01,0x12,0x03,0x17,0x09,0x0f,0x0a,
0x0c,0x0a,0x05,0x04,0x02,0x02,0x02,0x03,0x12,0x03,
0x17,0x12,0x13,0x0a,0x0b,0x0a,0x04,0x04,0x02,0x02,
0x03,0x12,0x03,0x18,0x04,0x1b,0x0a,0x0c,0x0a,0x05,
0x04,0x02,0x02,0x03,0x05,0x12,0x03,0x18,0x04,0x09,
0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x03,0x01,0x12,
0x03,0x18,0x0a,0x16,0x0a,0x0c,0x0a,0x05,0x04,0x02,
0x02,0x03,0x03,0x12,0x03,0x18,0x19,0x1a,0x0a,0x0b,
0x0a,0x04,0x04,0x02,0x02,0x04,0x12,0x03,0x19,0x04,
0x1a,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x04,0x05,
0x12,0x03,0x19,0x04,0x09,0x0a,0x0c,0x0a,0x05,0x04,
0x02,0x02,0x04,0x01,0x12,0x03,0x19,0x0a,0x15,0x0a,
0x0c,0x0a,0x05,0x04,0x02,0x02,0x04,0x03,0x12,0x03,
0x19,0x18,0x19,0x0a,0x0b,0x0a,0x04,0x04,0x02,0x02,
0x05,0x12,0x03,0x1a,0x04,0x17,0x0a,0x0c,0x0a,0x05,
0x04,0x02,0x02,0x05,0x05,0x12,0x03,0x1a,0x04,0x09,
0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x05,0x01,0x12,
0x03,0x1a,0x0a,0x12,0x0a,0x0c,0x0a,0x05,0x04,0x02,
0x02,0x05,0x03,0x12,0x03,0x1a,0x15,0x16,0x0a,0x0a,
0x0a,0x02,0x04,0x03,0x12,0x04,0x1d,0x00,0x21,0x01,
0x0a,0x0a,0x0a,0x03,0x04,0x03,0x01,0x12,0x03,0x1d,
0x08,0x22,0x0a,0x0b,0x0a,0x04,0x04,0x03,0x02,0x00,
0x12,0x03,0x1e,0x04,0x1b,0x0a,0x0c,0x0a,0x05,0x04,
0x03,0x02,0x00,0x05,0x12,0x03,0x1e,0x04,0x0b,0x0a,
0x0c,0x0a,0x05,0x04,0x03,0x02,0x00,0x01,0x12,0x03,
0x1e,0x0c,0x16,0x0a,0x0c,0x0a,0x05,0x04,0x03,0x02,
0x00,0x03,0x12,0x03,0x1e,0x19,0x1a,0x0a,0x0b,0x0a,
0x04,0x04,0x03,0x02,0x01,0x12,0x03,0x1f,0x04,0x19,
0x0a,0x0c,0x0a,0x05,0x04,0x03,0x02,0x01,0x05,0x12,
0x03,0x1f,0x04,0x09,0x0a,0x0c,0x0a,0x05,0x04,0x03,
0x02,0x01,0x01,0x12,0x03,0x1f,0x0a,0x14,0x0a,0x0c,
0x0a,0x05,0x04,0x03,0x02,0x01,0x03,0x12,0x03,0x1f,
0x17,0x18,0x0a,0x0b,0x0a,0x04,0x04,0x03,0x02,0x02,
0x12,0x03,0x20,0x04,0x1a,0x0a,0x0c,0x0a,0x05,0x04,
0x03,0x02,0x02,0x05,0x12,0x03,0x20,0x04,0x09,0x0a,
0x0c,0x0a,0x05,0x04,0x03,0x02,0x02,0x01,0x12,0x03,
0x20,0x0a,0x15,0x0a,0x0c,0x0a,0x05,0x04,0x03,0x02,
0x02,0x03,0x12,0x03,0x20,0x18,0x19,0x0a,0x0a,0x0a,
0x02,0x04,0x04,0x12,0x04,0x23,0x00,0x27,0x01,0x0a,
0x0a,0x0a,0x03,0x04,0x04,0x01,0x12,0x03,0x23,0x08,
0x1b,0x0a,0x0b,0x0a,0x04,0x04,0x04,0x02,0x00,0x12,
0x03,0x24,0x04,0x19,0x0a,0x0c,0x0a,0x05,0x04,0x04,
0x02,0x00,0x05,0x12,0x03,0x24,0x04,0x0b,0x0a,0x0c,
0x0a,0x05,0x04,0x04,0x02,0x00,0x01,0x12,0x03,0x24,
0x0c,0x14,0x0a,0x0c,0x0a,0x05,0x04,0x04,0x02,0x00,
0x03,0x12,0x03,0x24,0x17,0x18,0x0a,0x0b,0x0a,0x04,
0x04,0x04,0x02,0x01,0x12,0x03,0x25,0x04,0x14,0x0a,
0x0c,0x0a,0x05,0x04,0x04,0x02,0x01,0x05,0x12,0x03,
0x25,0x04,0x0a,0x0a,0x0c,0x0a,0x05,0x04,0x04,0x02,
0x01,0x01,0x12,0x03,0x25,0x0b,0x0f,0x0a,0x0c,0x0a,
0x05,0x04,0x04,0x02,0x01,0x03,0x12,0x03,0x25,0x12,
0x13,0x0a,0x0b,0x0a,0x04,0x04,0x04,0x02,0x02,0x12,
0x03,0x26,0x04,0x17,0x0a,0x0c,0x0a,0x05,0x04,0x04,
0x02,0x02,0x05,0x12,0x03,0x26,0x04,0x0a,0x0a,0x0c,
0x0a,0x05,0x04,0x04,0x02,0x02,0x01,0x12,0x03,0x26,
0x0b,0x12,0x0a,0x0c,0x0a,0x05,0x04,0x04,0x02,0x02,
0x03,0x12,0x03,0x26,0x15,0x16,0x0a,0x0a,0x0a,0x02,
0x04,0x05,0x12,0x04,0x29,0x00,0x2e,0x01,0x0a,0x0a,
0x0a,0x03,0x04,0x05,0x01,0x12,0x03,0x29,0x08,0x19,
0x0a,0x0b,0x0a,0x04,0x04,0x05,0x02,0x00,0x12,0x03,
0x2a,0x04,0x19,0x0a,0x0c,0x0a,0x05,0x04,0x05,0x02,
0x00,0x05,0x12,0x03,0x2a,0x04,0x0a,0x0a,0x0c,0x0a,
0x05,0x04,0x05,0x02,0x00,0x01,0x12,0x03,0x2a,0x0b,
0x14,0x0a,0x0c,0x0a,0x05,0x04,0x05,0x02,0x00,0x03,
0x12,0x03,0x2a,0x17,0x18,0x0a,0x0b,0x0a,0x04,0x04,
0x05,0x02,0x01,0x12,0x03,0x2b,0x04,0x1a,0x0a,0x0c,
0x0a,0x05,0x04,0x05,0x02,0x01,0x05,0x12,0x03,0x2b,
0x04,0x09,0x0a,0x0c,0x0a,0x05,0x04,0x05,0x02,0x01,
0x01,0x12,0x03,0x2b,0x0a,0x15,0x0a,0x0c,0x0a,0x05,
0x04,0x05,0x02,0x01,0x03,0x12,0x03,0x2b,0x18,0x19,
0x0a,0x0b,0x0a,0x04,0x04,0x05,0x02,0x02,0x12,0x03,
0x2c,0x04,0x1b,0x0a,0x0c,0x0a,0x05,0x04,0x05,0x02,
0x02,0x05,0x12,0x03,0x2c,0x04,0x09,0x0a,0x0c,0x0a,
0x05,0x04,0x05,0x02,0x02,0x01,0x12,0x03,0x2c,0x0a,
0x16,0x0a,0x0c,0x0a,0x05,0x04,0x05,0x02,0x02,0x03,
0x12,0x03,0x2c,0x19,0x1a,0x0a,0x0b,0x0a,0x04,0x04,
0x05,0x02,0x03,0x12,0x03,0x2d,0x04,0x18,0x0a,0x0c,
0x0a,0x05,0x04,0x05,0x02,0x03,0x05,0x12,0x03,0x2d,
0x04,0x09,0x0a,0x0c,0x0a,0x05,0x04,0x05,0x02,0x03,
0x01,0x12,0x03,0x2d,0x0a,0x13,0x0a,0x0c,0x0a,0x05,
0x04,0x05,0x02,0x03,0x03,0x12,0x03,0x2d,0x16,0x17,
0x62,0x06,0x70,0x72,0x6f,0x74,0x6f,0x33,
0x65,0x22,0x9f,0x01,0x0a,0x11,0x50,0x72,0x6f,0x74,
0x6f,0x62,0x75,0x66,0x45,0x72,0x72,0x6f,0x72,0x49,
0x6e,0x66,0x6f,0x12,0x18,0x0a,0x07,0x49,0x73,0x45,
0x72,0x72,0x6f,0x72,0x18,0x01,0x20,0x01,0x28,0x08,
0x52,0x07,0x49,0x73,0x45,0x72,0x72,0x6f,0x72,0x12,
0x1c,0x0a,0x09,0x45,0x72,0x72,0x6f,0x72,0x43,0x6f,
0x64,0x65,0x18,0x02,0x20,0x01,0x28,0x11,0x52,0x09,
0x45,0x72,0x72,0x6f,0x72,0x43,0x6f,0x64,0x65,0x12,
0x18,0x0a,0x07,0x44,0x65,0x74,0x61,0x69,0x6c,0x73,
0x18,0x03,0x20,0x01,0x28,0x09,0x52,0x07,0x44,0x65,
0x74,0x61,0x69,0x6c,0x73,0x12,0x1a,0x0a,0x08,0x4c,
0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x18,0x04,0x20,
0x01,0x28,0x09,0x52,0x08,0x4c,0x6f,0x63,0x61,0x74,
0x69,0x6f,0x6e,0x12,0x1c,0x0a,0x09,0x43,0x61,0x6c,
0x6c,0x53,0x74,0x61,0x63,0x6b,0x18,0x05,0x20,0x01,
0x28,0x09,0x52,0x09,0x43,0x61,0x6c,0x6c,0x53,0x74,
0x61,0x63,0x6b,0x42,0x0f,0x0a,0x0d,0x63,0x6f,0x6d,
0x2e,0x6d,0x72,0x63,0x2e,0x70,0x72,0x6f,0x74,0x6f,
0x4a,0xcc,0x0e,0x0a,0x06,0x12,0x04,0x00,0x00,0x36,
0x01,0x0a,0x08,0x0a,0x01,0x0c,0x12,0x03,0x00,0x00,
0x12,0x0a,0x08,0x0a,0x01,0x02,0x12,0x03,0x02,0x00,
0x12,0x0a,0x08,0x0a,0x01,0x08,0x12,0x03,0x04,0x00,
0x26,0x0a,0x09,0x0a,0x02,0x08,0x01,0x12,0x03,0x04,
0x00,0x26,0x0a,0x0a,0x0a,0x02,0x04,0x00,0x12,0x04,
0x06,0x00,0x0b,0x01,0x0a,0x0a,0x0a,0x03,0x04,0x00,
0x01,0x12,0x03,0x06,0x08,0x1c,0x0a,0x0b,0x0a,0x04,
0x04,0x00,0x02,0x00,0x12,0x03,0x07,0x04,0x1b,0x0a,
0x0c,0x0a,0x05,0x04,0x00,0x02,0x00,0x05,0x12,0x03,
0x07,0x04,0x0a,0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,
0x00,0x01,0x12,0x03,0x07,0x0b,0x16,0x0a,0x0c,0x0a,
0x05,0x04,0x00,0x02,0x00,0x03,0x12,0x03,0x07,0x19,
0x1a,0x0a,0x0b,0x0a,0x04,0x04,0x00,0x02,0x01,0x12,
0x03,0x08,0x04,0x18,0x0a,0x0c,0x0a,0x05,0x04,0x00,
0x02,0x01,0x05,0x12,0x03,0x08,0x04,0x0b,0x0a,0x0c,
0x0a,0x05,0x04,0x00,0x02,0x01,0x01,0x12,0x03,0x08,
0x0c,0x13,0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,0x01,
0x03,0x12,0x03,0x08,0x16,0x17,0x0a,0x0b,0x0a,0x04,
0x04,0x00,0x02,0x02,0x12,0x03,0x09,0x04,0x1c,0x0a,
0x0c,0x0a,0x05,0x04,0x00,0x02,0x02,0x04,0x12,0x03,
0x09,0x04,0x0c,0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,
0x02,0x05,0x12,0x03,0x09,0x0d,0x12,0x0a,0x0c,0x0a,
0x05,0x04,0x00,0x02,0x02,0x01,0x12,0x03,0x09,0x13,
0x17,0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,0x02,0x03,
0x12,0x03,0x09,0x1a,0x1b,0x0a,0x0b,0x0a,0x04,0x04,
0x00,0x02,0x03,0x12,0x03,0x0a,0x04,0x1d,0x0a,0x0c,
0x0a,0x05,0x04,0x00,0x02,0x03,0x04,0x12,0x03,0x0a,
0x04,0x0c,0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,0x03,
0x05,0x12,0x03,0x0a,0x0d,0x13,0x0a,0x0c,0x0a,0x05,
0x04,0x00,0x02,0x03,0x01,0x12,0x03,0x0a,0x14,0x18,
0x0a,0x0c,0x0a,0x05,0x04,0x00,0x02,0x03,0x03,0x12,
0x03,0x0a,0x1b,0x1c,0x0a,0x0a,0x0a,0x02,0x04,0x01,
0x12,0x04,0x0d,0x00,0x12,0x01,0x0a,0x0a,0x0a,0x03,
0x04,0x01,0x01,0x12,0x03,0x0d,0x08,0x1b,0x0a,0x0b,
0x0a,0x04,0x04,0x01,0x02,0x00,0x12,0x03,0x0e,0x04,
0x1b,0x0a,0x0c,0x0a,0x05,0x04,0x01,0x02,0x00,0x05,
0x12,0x03,0x0e,0x04,0x0a,0x0a,0x0c,0x0a,0x05,0x04,
0x01,0x02,0x00,0x01,0x12,0x03,0x0e,0x0b,0x16,0x0a,
0x0c,0x0a,0x05,0x04,0x01,0x02,0x00,0x03,0x12,0x03,
0x0e,0x19,0x1a,0x0a,0x0b,0x0a,0x04,0x04,0x01,0x02,
0x01,0x12,0x03,0x0f,0x04,0x18,0x0a,0x0c,0x0a,0x05,
0x04,0x01,0x02,0x01,0x05,0x12,0x03,0x0f,0x04,0x09,
0x0a,0x0c,0x0a,0x05,0x04,0x01,0x02,0x01,0x01,0x12,
0x03,0x0f,0x0a,0x13,0x0a,0x0c,0x0a,0x05,0x04,0x01,
0x02,0x01,0x03,0x12,0x03,0x0f,0x16,0x17,0x0a,0x0b,
0x0a,0x04,0x04,0x01,0x02,0x02,0x12,0x03,0x10,0x04,
0x30,0x0a,0x0c,0x0a,0x05,0x04,0x01,0x02,0x02,0x04,
0x12,0x03,0x10,0x04,0x0c,0x0a,0x0c,0x0a,0x05,0x04,
0x01,0x02,0x02,0x06,0x12,0x03,0x10,0x0d,0x21,0x0a,
0x0c,0x0a,0x05,0x04,0x01,0x02,0x02,0x01,0x12,0x03,
0x10,0x22,0x2b,0x0a,0x0c,0x0a,0x05,0x04,0x01,0x02,
0x02,0x03,0x12,0x03,0x10,0x2e,0x2f,0x0a,0x0b,0x0a,
0x04,0x04,0x01,0x02,0x03,0x12,0x03,0x11,0x04,0x16,
0x0a,0x0c,0x0a,0x05,0x04,0x01,0x02,0x03,0x05,0x12,
0x03,0x11,0x04,0x0a,0x0a,0x0c,0x0a,0x05,0x04,0x01,
0x02,0x03,0x01,0x12,0x03,0x11,0x0b,0x11,0x0a,0x0c,
0x0a,0x05,0x04,0x01,0x02,0x03,0x03,0x12,0x03,0x11,
0x14,0x15,0x0a,0x0a,0x0a,0x02,0x04,0x02,0x12,0x04,
0x14,0x00,0x1b,0x01,0x0a,0x0a,0x0a,0x03,0x04,0x02,
0x01,0x12,0x03,0x14,0x08,0x22,0x0a,0x0b,0x0a,0x04,
0x04,0x02,0x02,0x00,0x12,0x03,0x15,0x04,0x1c,0x0a,
0x0c,0x0a,0x05,0x04,0x02,0x02,0x00,0x05,0x12,0x03,
0x15,0x04,0x0a,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,
0x00,0x01,0x12,0x03,0x15,0x0b,0x17,0x0a,0x0c,0x0a,
0x05,0x04,0x02,0x02,0x00,0x03,0x12,0x03,0x15,0x1a,
0x1b,0x0a,0x0b,0x0a,0x04,0x04,0x02,0x02,0x01,0x12,
0x03,0x16,0x04,0x21,0x0a,0x0c,0x0a,0x05,0x04,0x02,
0x02,0x01,0x04,0x12,0x03,0x16,0x04,0x0c,0x0a,0x0c,
0x0a,0x05,0x04,0x02,0x02,0x01,0x05,0x12,0x03,0x16,
0x0d,0x12,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x01,
0x01,0x12,0x03,0x16,0x13,0x1c,0x0a,0x0c,0x0a,0x05,
0x04,0x02,0x02,0x01,0x03,0x12,0x03,0x16,0x1f,0x20,
0x0a,0x0b,0x0a,0x04,0x04,0x02,0x02,0x02,0x12,0x03,
0x17,0x04,0x14,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,
0x02,0x05,0x12,0x03,0x17,0x04,0x08,0x0a,0x0c,0x0a,
0x05,0x04,0x02,0x02,0x02,0x01,0x12,0x03,0x17,0x09,
0x0f,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x02,0x03,
0x12,0x03,0x17,0x12,0x13,0x0a,0x0b,0x0a,0x04,0x04,
0x02,0x02,0x03,0x12,0x03,0x18,0x04,0x1b,0x0a,0x0c,
0x0a,0x05,0x04,0x02,0x02,0x03,0x05,0x12,0x03,0x18,
0x04,0x09,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x03,
0x01,0x12,0x03,0x18,0x0a,0x16,0x0a,0x0c,0x0a,0x05,
0x04,0x02,0x02,0x03,0x03,0x12,0x03,0x18,0x19,0x1a,
0x0a,0x0b,0x0a,0x04,0x04,0x02,0x02,0x04,0x12,0x03,
0x19,0x04,0x1a,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,
0x04,0x05,0x12,0x03,0x19,0x04,0x09,0x0a,0x0c,0x0a,
0x05,0x04,0x02,0x02,0x04,0x01,0x12,0x03,0x19,0x0a,
0x15,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x04,0x03,
0x12,0x03,0x19,0x18,0x19,0x0a,0x0b,0x0a,0x04,0x04,
0x02,0x02,0x05,0x12,0x03,0x1a,0x04,0x17,0x0a,0x0c,
0x0a,0x05,0x04,0x02,0x02,0x05,0x05,0x12,0x03,0x1a,
0x04,0x09,0x0a,0x0c,0x0a,0x05,0x04,0x02,0x02,0x05,
0x01,0x12,0x03,0x1a,0x0a,0x12,0x0a,0x0c,0x0a,0x05,
0x04,0x02,0x02,0x05,0x03,0x12,0x03,0x1a,0x15,0x16,
0x0a,0x0a,0x0a,0x02,0x04,0x03,0x12,0x04,0x1d,0x00,
0x21,0x01,0x0a,0x0a,0x0a,0x03,0x04,0x03,0x01,0x12,
0x03,0x1d,0x08,0x22,0x0a,0x0b,0x0a,0x04,0x04,0x03,
0x02,0x00,0x12,0x03,0x1e,0x04,0x1b,0x0a,0x0c,0x0a,
0x05,0x04,0x03,0x02,0x00,0x05,0x12,0x03,0x1e,0x04,
0x0b,0x0a,0x0c,0x0a,0x05,0x04,0x03,0x02,0x00,0x01,
0x12,0x03,0x1e,0x0c,0x16,0x0a,0x0c,0x0a,0x05,0x04,
0x03,0x02,0x00,0x03,0x12,0x03,0x1e,0x19,0x1a,0x0a,
0x0b,0x0a,0x04,0x04,0x03,0x02,0x01,0x12,0x03,0x1f,
0x04,0x19,0x0a,0x0c,0x0a,0x05,0x04,0x03,0x02,0x01,
0x05,0x12,0x03,0x1f,0x04,0x09,0x0a,0x0c,0x0a,0x05,
0x04,0x03,0x02,0x01,0x01,0x12,0x03,0x1f,0x0a,0x14,
0x0a,0x0c,0x0a,0x05,0x04,0x03,0x02,0x01,0x03,0x12,
0x03,0x1f,0x17,0x18,0x0a,0x0b,0x0a,0x04,0x04,0x03,
0x02,0x02,0x12,0x03,0x20,0x04,0x1a,0x0a,0x0c,0x0a,
0x05,0x04,0x03,0x02,0x02,0x05,0x12,0x03,0x20,0x04,
0x09,0x0a,0x0c,0x0a,0x05,0x04,0x03,0x02,0x02,0x01,
0x12,0x03,0x20,0x0a,0x15,0x0a,0x0c,0x0a,0x05,0x04,
0x03,0x02,0x02,0x03,0x12,0x03,0x20,0x18,0x19,0x0a,
0x0a,0x0a,0x02,0x04,0x04,0x12,0x04,0x23,0x00,0x27,
0x01,0x0a,0x0a,0x0a,0x03,0x04,0x04,0x01,0x12,0x03,
0x23,0x08,0x1b,0x0a,0x0b,0x0a,0x04,0x04,0x04,0x02,
0x00,0x12,0x03,0x24,0x04,0x19,0x0a,0x0c,0x0a,0x05,
0x04,0x04,0x02,0x00,0x05,0x12,0x03,0x24,0x04,0x0b,
0x0a,0x0c,0x0a,0x05,0x04,0x04,0x02,0x00,0x01,0x12,
0x03,0x24,0x0c,0x14,0x0a,0x0c,0x0a,0x05,0x04,0x04,
0x02,0x00,0x03,0x12,0x03,0x24,0x17,0x18,0x0a,0x0b,
0x0a,0x04,0x04,0x04,0x02,0x01,0x12,0x03,0x25,0x04,
0x14,0x0a,0x0c,0x0a,0x05,0x04,0x04,0x02,0x01,0x05,
0x12,0x03,0x25,0x04,0x0a,0x0a,0x0c,0x0a,0x05,0x04,
0x04,0x02,0x01,0x01,0x12,0x03,0x25,0x0b,0x0f,0x0a,
0x0c,0x0a,0x05,0x04,0x04,0x02,0x01,0x03,0x12,0x03,
0x25,0x12,0x13,0x0a,0x0b,0x0a,0x04,0x04,0x04,0x02,
0x02,0x12,0x03,0x26,0x04,0x17,0x0a,0x0c,0x0a,0x05,
0x04,0x04,0x02,0x02,0x05,0x12,0x03,0x26,0x04,0x0a,
0x0a,0x0c,0x0a,0x05,0x04,0x04,0x02,0x02,0x01,0x12,
0x03,0x26,0x0b,0x12,0x0a,0x0c,0x0a,0x05,0x04,0x04,
0x02,0x02,0x03,0x12,0x03,0x26,0x15,0x16,0x0a,0x0a,
0x0a,0x02,0x04,0x05,0x12,0x04,0x29,0x00,0x2e,0x01,
0x0a,0x0a,0x0a,0x03,0x04,0x05,0x01,0x12,0x03,0x29,
0x08,0x19,0x0a,0x0b,0x0a,0x04,0x04,0x05,0x02,0x00,
0x12,0x03,0x2a,0x04,0x19,0x0a,0x0c,0x0a,0x05,0x04,
0x05,0x02,0x00,0x05,0x12,0x03,0x2a,0x04,0x0a,0x0a,
0x0c,0x0a,0x05,0x04,0x05,0x02,0x00,0x01,0x12,0x03,
0x2a,0x0b,0x14,0x0a,0x0c,0x0a,0x05,0x04,0x05,0x02,
0x00,0x03,0x12,0x03,0x2a,0x17,0x18,0x0a,0x0b,0x0a,
0x04,0x04,0x05,0x02,0x01,0x12,0x03,0x2b,0x04,0x1a,
0x0a,0x0c,0x0a,0x05,0x04,0x05,0x02,0x01,0x05,0x12,
0x03,0x2b,0x04,0x09,0x0a,0x0c,0x0a,0x05,0x04,0x05,
0x02,0x01,0x01,0x12,0x03,0x2b,0x0a,0x15,0x0a,0x0c,
0x0a,0x05,0x04,0x05,0x02,0x01,0x03,0x12,0x03,0x2b,
0x18,0x19,0x0a,0x0b,0x0a,0x04,0x04,0x05,0x02,0x02,
0x12,0x03,0x2c,0x04,0x1b,0x0a,0x0c,0x0a,0x05,0x04,
0x05,0x02,0x02,0x05,0x12,0x03,0x2c,0x04,0x09,0x0a,
0x0c,0x0a,0x05,0x04,0x05,0x02,0x02,0x01,0x12,0x03,
0x2c,0x0a,0x16,0x0a,0x0c,0x0a,0x05,0x04,0x05,0x02,
0x02,0x03,0x12,0x03,0x2c,0x19,0x1a,0x0a,0x0b,0x0a,
0x04,0x04,0x05,0x02,0x03,0x12,0x03,0x2d,0x04,0x18,
0x0a,0x0c,0x0a,0x05,0x04,0x05,0x02,0x03,0x05,0x12,
0x03,0x2d,0x04,0x09,0x0a,0x0c,0x0a,0x05,0x04,0x05,
0x02,0x03,0x01,0x12,0x03,0x2d,0x0a,0x13,0x0a,0x0c,
0x0a,0x05,0x04,0x05,0x02,0x03,0x03,0x12,0x03,0x2d,
0x16,0x17,0x0a,0x0a,0x0a,0x02,0x04,0x06,0x12,0x04,
0x30,0x00,0x36,0x01,0x0a,0x0a,0x0a,0x03,0x04,0x06,
0x01,0x12,0x03,0x30,0x08,0x19,0x0a,0x0b,0x0a,0x04,
0x04,0x06,0x02,0x00,0x12,0x03,0x31,0x04,0x15,0x0a,
0x0c,0x0a,0x05,0x04,0x06,0x02,0x00,0x05,0x12,0x03,
0x31,0x04,0x08,0x0a,0x0c,0x0a,0x05,0x04,0x06,0x02,
0x00,0x01,0x12,0x03,0x31,0x09,0x10,0x0a,0x0c,0x0a,
0x05,0x04,0x06,0x02,0x00,0x03,0x12,0x03,0x31,0x13,
0x14,0x0a,0x0b,0x0a,0x04,0x04,0x06,0x02,0x01,0x12,
0x03,0x32,0x04,0x19,0x0a,0x0c,0x0a,0x05,0x04,0x06,
0x02,0x01,0x05,0x12,0x03,0x32,0x04,0x0a,0x0a,0x0c,
0x0a,0x05,0x04,0x06,0x02,0x01,0x01,0x12,0x03,0x32,
0x0b,0x14,0x0a,0x0c,0x0a,0x05,0x04,0x06,0x02,0x01,
0x03,0x12,0x03,0x32,0x17,0x18,0x0a,0x0b,0x0a,0x04,
0x04,0x06,0x02,0x02,0x12,0x03,0x33,0x04,0x17,0x0a,
0x0c,0x0a,0x05,0x04,0x06,0x02,0x02,0x05,0x12,0x03,
0x33,0x04,0x0a,0x0a,0x0c,0x0a,0x05,0x04,0x06,0x02,
0x02,0x01,0x12,0x03,0x33,0x0b,0x12,0x0a,0x0c,0x0a,
0x05,0x04,0x06,0x02,0x02,0x03,0x12,0x03,0x33,0x15,
0x16,0x0a,0x0b,0x0a,0x04,0x04,0x06,0x02,0x03,0x12,
0x03,0x34,0x04,0x18,0x0a,0x0c,0x0a,0x05,0x04,0x06,
0x02,0x03,0x05,0x12,0x03,0x34,0x04,0x0a,0x0a,0x0c,
0x0a,0x05,0x04,0x06,0x02,0x03,0x01,0x12,0x03,0x34,
0x0b,0x13,0x0a,0x0c,0x0a,0x05,0x04,0x06,0x02,0x03,
0x03,0x12,0x03,0x34,0x16,0x17,0x0a,0x0b,0x0a,0x04,
0x04,0x06,0x02,0x04,0x12,0x03,0x35,0x04,0x19,0x0a,
0x0c,0x0a,0x05,0x04,0x06,0x02,0x04,0x05,0x12,0x03,
0x35,0x04,0x0a,0x0a,0x0c,0x0a,0x05,0x04,0x06,0x02,
0x04,0x01,0x12,0x03,0x35,0x0b,0x14,0x0a,0x0c,0x0a,
0x05,0x04,0x06,0x02,0x04,0x03,0x12,0x03,0x35,0x17,
0x18,0x62,0x06,0x70,0x72,0x6f,0x74,0x6f,0x33,
};
static const char file_name[] = "MrcComm.proto";
static const char mrc_proto_ProtobufJoystickData_name[] = "mrc.proto.ProtobufJoystickData";
@@ -302,4 +348,10 @@ pb_filedesc_t mrc_proto_ProtobufMatchInfo::file_descriptor(void) noexcept { retu
PB_BIND(mrc_proto_ProtobufMatchInfo, mrc_proto_ProtobufMatchInfo, AUTO)
static const char mrc_proto_ProtobufErrorInfo_name[] = "mrc.proto.ProtobufErrorInfo";
std::string_view mrc_proto_ProtobufErrorInfo::msg_name(void) noexcept { return mrc_proto_ProtobufErrorInfo_name; }
pb_filedesc_t mrc_proto_ProtobufErrorInfo::file_descriptor(void) noexcept { return {::file_name, ::file_descriptor}; }
PB_BIND(mrc_proto_ProtobufErrorInfo, mrc_proto_ProtobufErrorInfo, AUTO)

View File

@@ -81,6 +81,18 @@ typedef struct _mrc_proto_ProtobufMatchInfo {
int32_t MatchType;
} mrc_proto_ProtobufMatchInfo;
typedef struct _mrc_proto_ProtobufErrorInfo {
static const pb_msgdesc_t* msg_descriptor(void) noexcept;
static std::string_view msg_name(void) noexcept;
static pb_filedesc_t file_descriptor(void) noexcept;
bool IsError;
int32_t ErrorCode;
pb_callback_t Details;
pb_callback_t Location;
pb_callback_t CallStack;
} mrc_proto_ProtobufErrorInfo;
/* Initializer values for message structs */
#define mrc_proto_ProtobufJoystickData_init_default {0, 0, {{NULL}, NULL}, {{NULL}, NULL}}
@@ -89,12 +101,14 @@ typedef struct _mrc_proto_ProtobufMatchInfo {
#define mrc_proto_ProtobufJoystickOutputData_init_default {0, 0, 0}
#define mrc_proto_ProtobufVersionInfo_init_default {0, {{NULL}, NULL}, {{NULL}, NULL}}
#define mrc_proto_ProtobufMatchInfo_init_default {{{NULL}, NULL}, 0, 0, 0}
#define mrc_proto_ProtobufErrorInfo_init_default {0, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
#define mrc_proto_ProtobufJoystickData_init_zero {0, 0, {{NULL}, NULL}, {{NULL}, NULL}}
#define mrc_proto_ProtobufControlData_init_zero {0, 0, {{NULL}, NULL}, {{NULL}, NULL}}
#define mrc_proto_ProtobufJoystickDescriptor_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, 0, 0, 0, 0}
#define mrc_proto_ProtobufJoystickOutputData_init_zero {0, 0, 0}
#define mrc_proto_ProtobufVersionInfo_init_zero {0, {{NULL}, NULL}, {{NULL}, NULL}}
#define mrc_proto_ProtobufMatchInfo_init_zero {{{NULL}, NULL}, 0, 0, 0}
#define mrc_proto_ProtobufErrorInfo_init_zero {0, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
/* Field tags (for use in manual encoding/decoding) */
#define mrc_proto_ProtobufJoystickData_ButtonCount_tag 1
@@ -121,6 +135,11 @@ typedef struct _mrc_proto_ProtobufMatchInfo {
#define mrc_proto_ProtobufMatchInfo_MatchNumber_tag 2
#define mrc_proto_ProtobufMatchInfo_ReplayNumber_tag 3
#define mrc_proto_ProtobufMatchInfo_MatchType_tag 4
#define mrc_proto_ProtobufErrorInfo_IsError_tag 1
#define mrc_proto_ProtobufErrorInfo_ErrorCode_tag 2
#define mrc_proto_ProtobufErrorInfo_Details_tag 3
#define mrc_proto_ProtobufErrorInfo_Location_tag 4
#define mrc_proto_ProtobufErrorInfo_CallStack_tag 5
/* Struct field encoding specification for nanopb */
#define mrc_proto_ProtobufJoystickData_FIELDLIST(X, a) \
@@ -172,12 +191,22 @@ X(a, STATIC, SINGULAR, INT32, MatchType, 4)
#define mrc_proto_ProtobufMatchInfo_CALLBACK pb_default_field_callback
#define mrc_proto_ProtobufMatchInfo_DEFAULT NULL
#define mrc_proto_ProtobufErrorInfo_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, BOOL, IsError, 1) \
X(a, STATIC, SINGULAR, SINT32, ErrorCode, 2) \
X(a, CALLBACK, SINGULAR, STRING, Details, 3) \
X(a, CALLBACK, SINGULAR, STRING, Location, 4) \
X(a, CALLBACK, SINGULAR, STRING, CallStack, 5)
#define mrc_proto_ProtobufErrorInfo_CALLBACK pb_default_field_callback
#define mrc_proto_ProtobufErrorInfo_DEFAULT NULL
/* Maximum encoded size of messages (where known) */
/* mrc_proto_ProtobufJoystickData_size depends on runtime parameters */
/* mrc_proto_ProtobufControlData_size depends on runtime parameters */
/* mrc_proto_ProtobufJoystickDescriptor_size depends on runtime parameters */
/* mrc_proto_ProtobufVersionInfo_size depends on runtime parameters */
/* mrc_proto_ProtobufMatchInfo_size depends on runtime parameters */
/* mrc_proto_ProtobufErrorInfo_size depends on runtime parameters */
#define MRC_PROTO_MRCCOMM_NPB_H_MAX_SIZE mrc_proto_ProtobufJoystickOutputData_size
#define mrc_proto_ProtobufJoystickOutputData_size 15