pf_r2000_packet_b.h
Go to the documentation of this file.
1 #pragma once
2 
4 
6 {
7 protected:
8 #pragma pack(push, pfB, 1)
9  struct Data
10  {
11  uint32_t distance;
12  uint16_t amplitude;
13  };
14 #pragma pack(pop, pfB)
15 
16  virtual void get_type(char* c);
17 
18  virtual void read_data(uint8_t* buf, size_t num);
19  virtual void read_with(PFPacketReader& reader);
20 };
virtual void get_type(char *c)
virtual void read_data(uint8_t *buf, size_t num)
virtual void read_with(PFPacketReader &reader)


pf_driver
Author(s): Harsh Deshpande
autogenerated on Fri Feb 24 2023 03:59:35