Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Command Endianness and Parameter Endianness #429
Does COSMOS support parameter-specific endainness? Example: a command is big endian and has 4 parameters of which the last two are little endian.
Looking at packet_item_parser.rb (specifically get_usage and get_endianness) it seems like this is supported. I did a basic test of modifying the demo cmd config like get_usage shows (just adding LITTLE_ENDIAN after the parameter description), sending the command and viewing the raw command packet but I see no indication that the endianness is actually different.
If it isn't a feature then I'm going to take a stab at implementing it.
If it is already a feature then: