Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » usage of PRESENCE (how to descripe && in PRESENCE)
usage of PRESENCE [message #1853021] Wed, 15 June 2022 07:48 Go to next message
lou ban is currently offline lou banFriend
Messages: 17
Registered: June 2020
Junior Member
hello,

as the struct
type record test_presence
{
    B1_Type    f1,
    B3_Type    f2,
    B4_Type    f3    optional,
};


if add
variant (f3) "PRESENCE({f1 = '0'B, f2 = '000'B})"

means if f1 = '1'B or f2 = '001'B, then f3 is present


But now I hope f1 = '0'B or f2 = '000'B, then f3 is not presence,
what should I do?

I donot find the usage in referenceGuide.pdf

Thanks a lot!

[Updated on: Wed, 15 June 2022 07:58]

Report message to a moderator

Re: usage of PRESENCE [message #1853022 is a reply to message #1853021] Wed, 15 June 2022 08:01 Go to previous messageGo to next message
Gábor Szalai is currently offline Gábor SzalaiFriend
Messages: 134
Registered: December 2015
Senior Member
Sorry, but "and" is not supported by the RAW encoder.

Maybe the reorganization of the data structure helps to resolve the issue.

Can you share the original problem?
Re: usage of PRESENCE [message #1853025 is a reply to message #1853022] Wed, 15 June 2022 08:53 Go to previous messageGo to next message
lou ban is currently offline lou banFriend
Messages: 17
Registered: June 2020
Junior Member
thanks for your reply

as the image, I hope descripe the
gSM400AssociatedRadioCapability
field

it is a 3gpp protocol
  • Attachment: 1.png
    (Size: 1.18MB, Downloaded 81 times)

[Updated on: Wed, 15 June 2022 08:55]

Report message to a moderator

Re: usage of PRESENCE [message #1853026 is a reply to message #1853025] Wed, 15 June 2022 09:08 Go to previous messageGo to next message
Gábor Szalai is currently offline Gábor SzalaiFriend
Messages: 134
Registered: December 2015
Senior Member
According to the comment the gSM400AssociatedRadioCapability present if the gSM400BandsSupported is not 00

try this:

variant (gSM400AssociatedRadioCapability) "PRESENCE({gSM400BandsSupported = '01'B, gSM400BandsSupported = '10'B,  gSM400BandsSupported = '11'B})"


If the maskBit7 is 0, then the gSM400AssociatedRadioCapability is not present.
Re: usage of PRESENCE [message #1853027 is a reply to message #1853026] Wed, 15 June 2022 09:17 Go to previous message
lou ban is currently offline lou banFriend
Messages: 17
Registered: June 2020
Junior Member
THANKS a lot

But if maskBit7 and gSM400AssociatedRadioCapability are not related, Is there a solution to resolve it?
Previous Topic:Ghost field in record to help RAW encoder choose union member
Next Topic:usage of LENGTHTO and UNIT(elements)
Goto Forum:
  


Current Time: Sun Oct 13 08:45:57 GMT 2024

Powered by FUDForum. Page generated in 0.05116 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top