Repository: https://github.com/OpenShock/flatbuffers-schemas
Branch: local-comms-revamp
These schema changes have been applied to the submodule and are tracked by this branch. They are breaking changes that accompany the WS-to-REST migration.
- Removed all command result types (
AccountLinkCommandResult,SetRfTxPinCommandResult,SetEstopPinCommandResult,SetEstopEnabledCommandResult,SetGPIOResultCode,AccountLinkResultCode) - Removed all WS command types from
HubToLocalMessagePayloadunion that were migrated to REST - Added
AccountLinkStatusEvent— broadcast when auth token is validated on gateway connect - Added
has_standardized_pinsfield toReadyMessage
- Removed all command types except
Common_ShockerCommandList(WiFi, OTA, Account, GPIO commands moved to REST) ShockerCommandListmoved toCommonnamespace, shared between gateway and local
- Added
MacAddressstruct (6-byte fixed-size array) - Added
auth_mode(WifiAuthMode enum) andbssid(MacAddress) fields toWiFiCredentialsfor security pinning
- Extracted
ShockerCommandandShockerCommandListtables into shared Common namespace
- Updated
ShockerCommandListreference toCommon_ShockerCommandList
- Push
local-comms-revampbranch to schemas repo and create PR - After merge, update submodule pointer in firmware repo