ping test

This commit is contained in:
2020-12-16 15:17:10 +01:00
parent 380543756d
commit 32bd57d6d1
4 changed files with 107 additions and 15 deletions

View File

@ -34,6 +34,8 @@ protected:
private:
static const uint8_t MAX_PACKET_LEN = 36;
static const uint8_t PARAM_SET_OK = 1;
static const uint8_t PING_REPLY_SIZE = 2;
/* Device commands are derived from the rparam.h of the gomspace lib */
static const DeviceCommandId_t PING = 0x1; //!< [EXPORT] : [COMMAND]
static const DeviceCommandId_t NONE = 0x2; // Set when no command is pending