DecodePowerOnly.h 816 B

123456789101112131415161718192021
  1. /*
  2. This software is subject to the license described in the License.txt file
  3. included with this software distribution. You may not use this file except in compliance
  4. with this license.
  5. Copyright (c) Dynastream Innovations Inc. 2014
  6. All rights reserved.
  7. */
  8. #include "PowerDecoder.h"
  9. void DecodePowerOnly_Init(double dRecordInterval_, double dTimeBase_, double dReSyncInterval_, PowerRecordReceiver powerRecordReceiverPtr_);
  10. void DecodePowerOnly_End(void);
  11. #define PO_TIME_QUANTIZATION (2048) // this is arbitrary, not defined by ANT+
  12. void DecodePowerOnly_Message(double dTime_, unsigned char messagePayload_[]);
  13. void DecodePowerOnly_SetTimeBase(double dTimeBase_);
  14. void DecodePowerOnly_Resync(double dTime_, unsigned char messagePayload_[]);
  15. void DecodePowerOnly(double dTime, unsigned char messagePayload_[]);