Skip to content

Commit 0fce221

Browse files
committed
Update firmware toolchain.
1 parent 3f323de commit 0fce221

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

Common/PABotBase2/PABotBase2_MessageProtocol.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace PABotBase2{
2323

2424

2525

26-
#define PABB2_MESSAGE_PROTOCOL_VERSION 2026052101
26+
#define PABB2_MESSAGE_PROTOCOL_VERSION 2026061800
2727

2828

2929
struct PABB_PACK MessageHeader{
@@ -53,16 +53,16 @@ struct PABB_PACK Message_u32 : MessageHeader{
5353
#define PABB2_MESSAGE_OPCODE_DEVICE_NAME 0x23
5454
#define PABB2_MESSAGE_OPCODE_CONTROLLER_LIST 0x24
5555
#define PABB2_MESSAGE_OPCODE_SET_LOGGING_FLAG 0x25
56-
#define PABB2_MESSAGE_OPCODE_CQ_CAPACITY 0x28
57-
58-
#define PABB2_MESSAGE_OPCODE_REQUEST_SESSION_NUM 0x37
59-
#define PABB2_MESSAGE_OPCODE_REQUEST_STATUS 0x35
60-
#define PABB2_MESSAGE_OPCODE_READ_CONTROLLER_MODE 0x30
61-
#define PABB2_MESSAGE_OPCODE_CHANGE_CONTROLLER_MODE 0x31
62-
#define PABB2_MESSAGE_OPCODE_RESET_TO_CONTROLLER 0x32
63-
#define PABB2_MESSAGE_OPCODE_CONTROLLER_MAC_ADDRESS 0x33
64-
#define PABB2_MESSAGE_OPCODE_PAIRED_MAC_ADDRESS 0x34
65-
#define PABB2_MESSAGE_OPCODE_CONSOLE_DISCONNECT 0x36
56+
#define PABB2_MESSAGE_OPCODE_CQ_CAPACITY 0x26
57+
58+
#define PABB2_MESSAGE_OPCODE_REQUEST_SESSION_NUM 0x30
59+
#define PABB2_MESSAGE_OPCODE_REQUEST_STATUS 0x31
60+
#define PABB2_MESSAGE_OPCODE_READ_CONTROLLER_MODE 0x32
61+
#define PABB2_MESSAGE_OPCODE_CHANGE_CONTROLLER_MODE 0x33
62+
#define PABB2_MESSAGE_OPCODE_RESET_TO_CONTROLLER 0x34
63+
#define PABB2_MESSAGE_OPCODE_CONTROLLER_MAC_ADDRESS 0x35
64+
#define PABB2_MESSAGE_OPCODE_PAIRED_MAC_ADDRESS 0x36
65+
#define PABB2_MESSAGE_OPCODE_CONSOLE_DISCONNECT 0x37
6666

6767
#define PABB2_MESSAGE_OPCODE_CQ_COMMAND_DROPPED 0x40
6868
#define PABB2_MESSAGE_OPCODE_CQ_CANCEL 0x41

Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketProtocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace PABotBase2{
3232
//
3333

3434
#define PABB2_CONNECTION_MAGIC_NUMBER 0x81
35-
#define PABB2_CONNECTION_PROTOCOL_VERSION 2026052100
35+
#define PABB2_CONNECTION_PROTOCOL_VERSION 2026061800
3636

3737

3838
#define PABB2_CONNECTION_RETRANSMIT_FLAG 0x80

SerialPrograms/Source/Controllers/SerialPABotBase/SerialPABotBase.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ const std::map<uint32_t, std::map<pabb_ProgramID, uint8_t>>& SUPPORTED_VERSIONS(
5050
// These version #'s are for the MLC layer.
5151
const std::map<pabb_ProgramID, uint32_t>& SUPPORTED_DEVICES2(){
5252
static const std::map<pabb_ProgramID, uint32_t> database{
53-
{PABB_PID_UNSPECIFIED, 2026052102},
54-
{PABB_PID_PABOTBASE_ESP32, 2026052102},
55-
{PABB_PID_PABOTBASE_ESP32S3, 2026052100},
56-
{PABB_PID_PABOTBASE_RP2040, 2026052100},
57-
{PABB_PID_PABOTBASE_RP2350, 2026052100},
58-
{PABB_PID_PABOTBASE_Pico1W, 2026052102},
59-
{PABB_PID_PABOTBASE_Pico2W, 2026052102},
53+
{PABB_PID_UNSPECIFIED, 2026061800},
54+
{PABB_PID_PABOTBASE_ESP32, 2026061800},
55+
{PABB_PID_PABOTBASE_ESP32S3, 2026061800},
56+
{PABB_PID_PABOTBASE_RP2040, 2026061800},
57+
{PABB_PID_PABOTBASE_RP2350, 2026061800},
58+
{PABB_PID_PABOTBASE_Pico1W, 2026061800},
59+
{PABB_PID_PABOTBASE_Pico2W, 2026061800},
6060
};
6161
return database;
6262
}

0 commit comments

Comments
 (0)