I am just wondering how to set the Length and encoding for a string, which is a field of a strcture, lets say I am defining the types in a .fidl file:
struct MyStructure_t
{
UInt8 MyUint8
String MyString
}
And I am defining a broadcast event in another .fidl file which includes the last one:
broadcast Event 1
{
out
{
MyStructure_t MyStructure
}
}
Is there a proper way to set in .fdepl file the size and coding for the string? something like:
broadcast Event1 {
SomeIpEventID = 1
SomeIpEventGroups = { 0 }
out
{
MyStructure
{
MyUint8
MyString
{
SomeIpStringLengthWidth = 0
SomeIpStringEncoding = utf8
SomeIpStringLength = 128
}
}
}
}
Please help!!! Thank you in advance!
Best regards
Daniel C.