Discussion about how to add a new PRIMITIVE_TYPES to rosidl(msg)

Maybe you can elaborate what exactly you are trying to achieve. The current format supports basically all primitive types. Your use case seem to be already addressed by defining a field with the type byte[]. Maybe for that type it only needs to be reconsidered how it is mapped into specific languages like Python. I agree with you that bytes sounds like the more “natural” type in Python.