corrected p60dock max reply size

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

View File

@ -95,9 +95,9 @@ void ObjectFactory::produce(){
* Setting PCDU devices to mode normal immediately after start up because PCDU is always * Setting PCDU devices to mode normal immediately after start up because PCDU is always
* running. * running.
*/ */
// p60dockhandler->setModeNormal(); p60dockhandler->setModeNormal();
// pdu1handler->setModeNormal(); pdu1handler->setModeNormal();
// pdu2handler->setModeNormal(); pdu2handler->setModeNormal();
acuhandler->setModeNormal(); acuhandler->setModeNormal();
#endif #endif
/* Temperature sensors */ /* Temperature sensors */

View File

@ -40,7 +40,7 @@ public:
virtual ReturnValue_t pullLow(gpioId_t gpioId) = 0; virtual ReturnValue_t pullLow(gpioId_t gpioId) = 0;
/** /**
* @brief This function requires a child to implement the functionaliy to read the state of * @brief This function requires a child to implement the functionality to read the state of
* an ouput or input gpio. * an ouput or input gpio.
* *
* @param gpioId A unique number which specifies the GPIO to read. * @param gpioId A unique number which specifies the GPIO to read.

View File

@ -356,10 +356,9 @@ namespace P60System {
namespace P60Dock { 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 /** Max reply size reached when requesting full hk table */
* payload data and 12 bytes of CSP header data. */ static const uint16_t MAX_REPLY_LENGTH = 407;
static const uint16_t MAX_REPLY_LENGTH = 424;
static const uint16_t MAX_CONFIGTABLE_ADDRESS = 408; static const uint16_t MAX_CONFIGTABLE_ADDRESS = 408;
static const uint16_t MAX_HKTABLE_ADDRESS = 187; static const uint16_t MAX_HKTABLE_ADDRESS = 187;