Pogosim
Loading...
Searching...
No Matches
message_header_t Struct Reference

#include <spogobot.h>

Public Attributes

uint8_t _packet_type
uint8_t _emitting_power_list
uint16_t _sender_id
uint8_t _sender_ir_index
uint8_t _receiver_ir_index
uint16_t payload_length

Detailed Description

IR message header structure

message_header_t :

The parameters that begin with "_" are not completed by the user

  • uint8_t _packet_type - allows to give type of a packet (fixed for now)
  • uint8_t _emitting_power_list - used to define the emission power on each IR
  • uint16_t _sender_id - id of the robot which send the message
  • uint8_t _sender_ir_index - IR id direction of the sender robot
  • uint8_t _receiver_ir_index - IR id direction that received the message
  • uint16_t payload_length - size of the payload

Member Data Documentation

◆ _emitting_power_list

uint8_t message_header_t::_emitting_power_list

◆ _packet_type

uint8_t message_header_t::_packet_type

◆ _receiver_ir_index

uint8_t message_header_t::_receiver_ir_index

◆ _sender_id

uint16_t message_header_t::_sender_id

◆ _sender_ir_index

uint8_t message_header_t::_sender_ir_index

◆ payload_length

uint16_t message_header_t::payload_length

The documentation for this struct was generated from the following file: