1. PURPOSE / DESCRIPTION
1.1 To understand/update firmware version packet structure
2. TEST SET-UP
2.1 Drona: https://github.com/Vairdo/DRONA_firmware, version: 816ee47
3. PROCEDURE
3.1 The version info on the DRONA is stored at the start of user program memory (0x200). It is 25 bytes long (that is the limit, since it is the payload limit as well)
3.2 The constant declared for that is located in SDProtocol.c and is called version_string
3.3 It takes a string literal in the form of a macro called VERSION_CONTROL_STRING, located in settings.h
3.4 The current format is FC_x.y.z__DRONA_1.0a. Where x, y and z are major, minor and patch versions.
3.5 The version parameters are defined in settings.h, we can modify the following version numbers for client APP:
#define FC_MAJOR_VERSION 0 #define FC_MINOR_VERSION 0 #define FC_PATCH_VERSION 1
3.6 When receive the request SDGetVersionString (CID: 0x62) from WiRa, DRONA will call SDP_Send_Version_String() to read the constant version_string and send it back to WiRa.