Wiselib
|
#include <spyglass_packet.h>
Public Types | |
typedef SpyglassPacket< OsModel_P > | self_t |
Public Member Functions | |
SpyglassPacket () | |
SpyglassPacket (uint16_t len, uint8_t syntax_type, uint8_t semantic_type, uint16_t sender_id, uint32_t sec, uint16 millis, int16_t x, int16_t y, int16_t z) | |
~SpyglassPacket () | |
void | init () |
uint16_t | serialize (uint8_t *buf, uint8_t buf_size) |
uint16_t | get_size () |
Public Attributes | |
uint16_t | length_ |
Number of bytes in this packet (excluding this field). | |
uint8_t | version_ |
uint8_t | syntax_type_ |
Syntax type of this spyglass packet. | |
uint8_t | semantic_type_ |
Semantic type of this spyglass packet. | |
uint16_t | sender_id_ |
Sender ID of this spyglass packet. | |
uint32_t | sec_ |
Timestamp of this spyglass packet. | |
uint16_t | millis_ |
int16_t | x_ |
X-Coordinate of this spyglass packet. | |
int16_t | y_ |
Y-Coordinate of this spyglass packet. | |
int16_t | z_ |
Z-Coordinate of this spyglass packet. |
typedef SpyglassPacket<OsModel_P> wiselib::SpyglassPacket< OsModel_P >::self_t |
wiselib::SpyglassPacket< OsModel_P >::SpyglassPacket | ( | ) | [inline] |
wiselib::SpyglassPacket< OsModel_P >::SpyglassPacket | ( | uint16_t | len, |
uint8_t | syntax_type, | ||
uint8_t | semantic_type, | ||
uint16_t | sender_id, | ||
uint32_t | sec, | ||
uint16 | millis, | ||
int16_t | x, | ||
int16_t | y, | ||
int16_t | z | ||
) | [inline] |
wiselib::SpyglassPacket< OsModel_P >::~SpyglassPacket | ( | ) | [inline] |
uint16_t wiselib::SpyglassPacket< OsModel_P >::get_size | ( | ) | [inline] |
void wiselib::SpyglassPacket< OsModel_P >::init | ( | void | ) | [inline] |
uint16_t wiselib::SpyglassPacket< OsModel_P >::serialize | ( | uint8_t * | buf, |
uint8_t | buf_size | ||
) | [inline] |
uint16_t wiselib::SpyglassPacket< OsModel_P >::length_ |
Number of bytes in this packet (excluding this field).
uint16_t wiselib::SpyglassPacket< OsModel_P >::millis_ |
uint32_t wiselib::SpyglassPacket< OsModel_P >::sec_ |
Timestamp of this spyglass packet.
uint8_t wiselib::SpyglassPacket< OsModel_P >::semantic_type_ |
Semantic type of this spyglass packet.
uint16_t wiselib::SpyglassPacket< OsModel_P >::sender_id_ |
Sender ID of this spyglass packet.
uint8_t wiselib::SpyglassPacket< OsModel_P >::syntax_type_ |
Syntax type of this spyglass packet.
uint8_t wiselib::SpyglassPacket< OsModel_P >::version_ |
int16_t wiselib::SpyglassPacket< OsModel_P >::x_ |
X-Coordinate of this spyglass packet.
int16_t wiselib::SpyglassPacket< OsModel_P >::y_ |
Y-Coordinate of this spyglass packet.
int16_t wiselib::SpyglassPacket< OsModel_P >::z_ |
Z-Coordinate of this spyglass packet.