/* Writes a data byte to the shared parameter buffer at the specified index.  */
bool SharedParamsWriteByIndex(uint32_t idx, uint8_t value)
/* Writes a data byte to the shared parameter buffer at the specified index.  */
bool SharedParamsWriteByIndex(uint32_t idx, uint8_t value)
{
  bool result = false;
  if ( (SharedParamsValidateBuffer()) &&
       (idx < SHARED_PARAMS_CFG_BUFFER_DATA_LEN) )
  {
    sharedParamsBuffer.data[idx] = value;
    SharedParamsWriteChecksum();
    result = true;
  }
  return result;
}