corrected p60dock max reply size

This commit is contained in:
2021-02-14 15:49:03 +01:00
parent 9d87b368fb
commit 95ab220f6e
3 changed files with 7 additions and 8 deletions

View File

@ -356,10 +356,9 @@ namespace P60System {
namespace P60Dock {
/* The maximum size of a reply from the P60 dock. Maximum size is reached
* when retrieving the full parameter configuration table. 412 bytes of
* payload data and 12 bytes of CSP header data. */
static const uint16_t MAX_REPLY_LENGTH = 424;
/** Max reply size reached when requesting full hk table */
static const uint16_t MAX_REPLY_LENGTH = 407;
static const uint16_t MAX_CONFIGTABLE_ADDRESS = 408;
static const uint16_t MAX_HKTABLE_ADDRESS = 187;