uint8_t bit_size = (uint8_t) signal.get_bit_size();
uint32_t bit_position = signal.get_bit_position();
- if(!signal.get_message()->frame_layout_is_little())
+ if(signal.get_message()->frame_layout_is_bigendian())
{
bit_position = converter_t::bit_position_swap(message->get_length(),
signal.get_bit_position(),
return flags_;
}
-bool message_definition_t::frame_layout_is_little() const{
- return (flags_ & FRAME_LAYOUT_IS_LE);
+bool message_definition_t::frame_layout_is_bigendian() const{
+ return (flags_ & FRAME_LAYOUT_IS_BIGENDIAN);
}
vect_ptr_signal_t& get_signals();
uint32_t get_length() const;
uint32_t get_flags() const;
- bool frame_layout_is_little() const;
+ bool frame_layout_is_bigendian() const;
void set_parent(std::shared_ptr<message_set_t> parent);
void set_last_value(std::shared_ptr<message_t> m);
#define ISOTP_SEND 0x0020
#define ISOTP_RECEIVE 0x0040
#define CAN_PROTOCOL_WITH_FD_FRAME 0x0080
-#define FRAME_LAYOUT_IS_LE 0x0100 // LE stand for Little Endian
+#define FRAME_LAYOUT_IS_BIGENDIAN 0x0100 // LE stand for Little Endian
/// @class message_t
///