Correction of Typographical errors
The PR contains fixes made to certain typographical errors - specifically in the naming of the 'factory' field which had been misspelled. This field correction was reflected in both messages.proto and the MessageType enumeration.
Updates to Data Reading Logic
Changes have been made to the fsm_msg_common.h file. This is to improve the way we read data from the SpiFlash. Now, the length of the data to be read is limited to the size of resp->data.bytes, enhancing the data handling process and potentially reducing errors.
Modifications in Message Handling
Amendments were made in the messages_map.py script. With a new 'factory' field added, we now have better handling of message options. The 'cmd_flags' logic has also been updated, with the new settings depending on the value of the 'factory' field. This could result in more control and flexibility in managing our messages.
PR Summary
Correction of Typographical errors The PR contains fixes made to certain typographical errors - specifically in the naming of the 'factory' field which had been misspelled. This field correction was reflected in both
messages.proto
and theMessageType
enumeration.Updates to Data Reading Logic Changes have been made to the
fsm_msg_common.h
file. This is to improve the way we read data from theSpiFlash
. Now, the length of the data to be read is limited to the size ofresp->data.bytes
, enhancing the data handling process and potentially reducing errors.Modifications in Message Handling Amendments were made in the
messages_map.py
script. With a new 'factory' field added, we now have better handling of message options. The 'cmd_flags' logic has also been updated, with the new settings depending on the value of the 'factory' field. This could result in more control and flexibility in managing our messages.