Home » Eclipse Projects » Eclipse Titan » Problems in LibItsBtp_EncdecDeclarations.hh
Problems in LibItsBtp_EncdecDeclarations.hh [message #1792912] |
Wed, 25 July 2018 15:50 |
Marta Arrabal Messages: 10 Registered: July 2018 |
Junior Member |
|
|
Hi Everyone,
I am new here in Eclipse Forum, I am working with Eclipse Titan, and I am trying to work out a project from ETSI, in BTP layer.
I have added to my project all the necessary file and then, eclipse show me a error message in a file that is itself generated, so even I found out the solution it will appear again because every time I compile it eclipse generate it again.
Can someone help to figure it out?
I will attached the error code eclipse show me in console that the file.
LibItsBtp_EncdecDeclarations.hh:40:43: error: 'LibItsBtp__TypesAndValues' does not name a type
extern BITSTRING fx__enc__BtpPacket(const LibItsBtp__TypesAndValues::BtpPacket& p);
^~~~~~~~~~~~~~~~~~~~~~~~~
LibItsBtp_EncdecDeclarations.hh:40:79: error: expected unqualified-id before '&' token
extern BITSTRING fx__enc__BtpPacket(const LibItsBtp__TypesAndValues::BtpPacket& p);
^
LibItsBtp_EncdecDeclarations.hh:40:79: error: expected ')' before '&' token
LibItsBtp_EncdecDeclarations.hh:40:81: error: expected initializer before 'p'
extern BITSTRING fx__enc__BtpPacket(const LibItsBtp__TypesAndValues::BtpPacket& p);
^
LibItsBtp_EncdecDeclarations.hh:41:49: error: 'LibItsBtp__TypesAndValues' has not been declared
extern INTEGER fx__dec__BtpPacket(BITSTRING& b, LibItsBtp__TypesAndValues::BtpPacket& p);
^~~~~~~~~~~~~~~~~~~~~~~~~
LibItsBtp_EncdecDeclarations.hh:41:85: error: expected ',' or '...' before '&' token
extern INTEGER fx__dec__BtpPacket(BITSTRING& b, LibItsBtp__TypesAndValues::BtpPacket& p);
Thanks in Advance,
Marta
|
|
| | |
Re: Problems in LibItsBtp_EncdecDeclarations.hh [message #1793096 is a reply to message #1793094] |
Tue, 31 July 2018 06:50 |
Marta Arrabal Messages: 10 Registered: July 2018 |
Junior Member |
|
|
Hello Elmer,
First of all, thanks for your welcome!
About your question, the answer is yes, I got the code from there. So if Yann could help I will be gratefull.
In the other hand, I am also trying a parallel project that I got from: https://github.com/elnrnag/ITSG5_TS_Titanized_TA
I am working just with AtsBTP as in the other project and I have the following problem, hoppping that you could help me.
1) In LibItsBtp_Functions:
Description Resource Path Location Type
Message type `@LibItsBtp_TypesAndValues.UtBtpTrigger' is not present on the outgoing list of port type `@LibItsBtp_TestSystem.UpperTesterPort' LibItsBtp_Functions.ttcn /ITSg5/ttcn/LibIts/BTP line 71 on-the-fly semantic markers.
I attached the file just in case
2)We I try to run it, even with the error, It seems like it is runinng but it does nothing and when I stop it, it shows the following errors in console:
Error: Error message was received from HC at DTM-0218-R.at4wireless.com [192.168.1.100]: Error while setting parameter field 'LibCommon_Time.PX_TWAIT' to '120.000000': Module parameter cannot be set, because module 'LibCommon_Time' does not exist. (Note: field names and array indexes are not supported in the Load Test Runtime).
Error: Error message was received from HC at DTM-0218-R.at4wireless.com [192.168.1.100]: Error while setting parameter field 'LibCommon_Sync.PX_TSYNC_TIME_LIMIT' to '120.000000': Module parameter cannot be set, because module 'LibCommon_Sync' does not exist. (Note: field names and array indexes are not supported in the Load Test Runtime).
Error: Error message was received from HC at DTM-0218-R.at4wireless.com [192.168.1.100]: Error while setting parameter field 'LibItsBtp_Pixits.PX_DESTINATION_PORT' to '4000': Module parameter cannot be set, because module 'LibItsBtp_Pixits' does not exist. (Note: field names and array indexes are not supported in the Load Test Runtime).
Error: Error message was received from HC at DTM-0218-R.at4wireless.com [192.168.1.100]: Error while setting parameter field 'LibItsBtp_Pixits.PX_SOURCE_PORT' to '5000': Module parameter cannot be set, because module 'LibItsBtp_Pixits' does not exist. (Note: field names and array indexes are not supported in the Load Test Runtime).
HC@DTM-0218-R: Error while setting parameter field 'LibCommon_Time.PX_TWAIT' to '120.000000': Module parameter cannot be set, because module 'LibCommon_Time' does not exist. (Note: field names and array indexes are not supported in the Load Test Runtime).
HC@DTM-0218-R: Error while setting parameter field 'LibCommon_Sync.PX_TSYNC_TIME_LIMIT' to '120.000000': Module parameter cannot be set, because module 'LibCommon_Sync' does not exist. (Note: field names and array indexes are not supported in the Load Test Runtime).
HC@DTM-0218-R: Error while setting parameter field 'LibItsBtp_Pixits.PX_DESTINATION_PORT' to '4000': Module parameter cannot be set, because module 'LibItsBtp_Pixits' does not exist. (Note: field names and array indexes are not supported in the Load Test Runtime).
HC@DTM-0218-R: Error while setting parameter field 'LibItsBtp_Pixits.PX_SOURCE_PORT' to '5000': Module parameter cannot be set, because module 'LibItsBtp_Pixits' does not exist. (Note: field names and array indexes are not supported in the Load Test Runtime).
Error: There were errors during configuring HCs.
Error during initialization. Cannot create MTC.
It a quite strange error because those file does exits in the project.
I also attached the all project.
I have not modify any file, I just delete from the project the files that I do not need to run AtsBtp.
If you think is better, I could post this new errors like a new topic
Thanks a lot,
Marta
[Updated on: Tue, 31 July 2018 06:53] Report message to a moderator
|
|
| | | | | | | | | |
Re: Problems in LibItsBtp_EncdecDeclarations.hh [message #1793289 is a reply to message #1793180] |
Fri, 03 August 2018 06:47 |
Marta Arrabal Messages: 10 Registered: July 2018 |
Junior Member |
|
|
Hello all,
I am trying it on a Cohda Wireless and I have another doubt.
I have been trying the project and it does work, but not at all, I think I know where is the problem but I do not know how to solve it.
When I execute it, for example BTP procotol, it starts and works correctly but it does not pass any test, the verdict is almost the times inconclusive and I would say that it is because I am not setting all the configuration files as they should be.
I have just changed; "upper tester settings", "local mac ethernet" and "gn6 address" in taproperties.cfg that is in titan_tri_mapper folder.
Do I need to change something else? Because I think that it does not work at all because the btp port ( in this example) is not working, I mean it is not properly set up; because it is initialized via UtPort and the time run out waiting for a packet from btpPort.
Am I right? Hope someone of you could help me.
Thanks in advance,
Best Regards.
Marta.
|
|
| | |
Re: Problems in LibItsBtp_EncdecDeclarations.hh [message #1793386 is a reply to message #1793296] |
Tue, 07 August 2018 08:52 |
Marta Arrabal Messages: 10 Registered: July 2018 |
Junior Member |
|
|
Hi Lenard,
I have tried with all the details you told me, and unfornatelly I obtained the same results, for BTP test cases, 3 inconcs and 2 errors. I have also tried to disable the firewall of my computer and the results were again the same.
The reasons of the inconcs verdicts is: INCONC: Expected BTP packet not received
I am going to attach, all the things you have asked for.
PS: I have 3 times the file taproperties.cfg, in different folders, I modified one and copy and paste for the other ones, I am not sure if they have to be all equal.
--taproperties.cfg
{
"LinkLayer_NodeA": "BABEBABE0001",
"TsBeaconInterval": "1000",
"LinkLayer_NodeF": "BABEBABE0006",
"Gn6RemoteAdapterIp": "192.168.1.102",
"UtSecuredMode": "false",
"LinkLayer_NodeB": "BABEBABE0002",
"LinkLayer_NodeC": "BABEBABE0003",
"LinkLayer_NodeD": "BABEBABE0004",
"LinkLayer_NodeE": "BABEBABE0005",
"mapSpatPort": "BTP/GN/ETH",
"TsSecuredRootPath": "data/certificates",
"UpperTesterSettings": "192.168.1.102:12345",
"IutEthernetTypeValue": "0x8947",
"LocalEthernetMAC": "000c298f6c0f",
"ipv6OverGeoNetworkingPort": "Debug",
"btpPort": "GN/ETH",
"TsSecuredMode": "false",
"TsSecuredConfiId": "vendorA",
"LinkLayer_MTC": "BABEBABE0000",
"TsLatitude": "7000",
"geoNetworkingPort": "ETH",
"TsLongitude": "520000",
"camPort": "BTP/GN/ETH",
"denmPort": "BTP/GN/ETH"
}
--"ifconfig -a"
ifconfig -a
ens33 Link encap:Ethernet HWaddr 00:0c:29:8f:6c:0f
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::c39c:ecd0:a119:4b94/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9646 errors:0 dropped:5754 overruns:0 frame:0
TX packets:716 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:778880 (778.8 KB) TX bytes:87852 (87.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:44071 errors:0 dropped:0 overruns:0 frame:0
TX packets:44071 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3516794 (3.5 MB) TX bytes:3516794 (3.5 MB)
-- the console logs of the COHDA
root@MK5:/mnt/ubi/c2x-app# ./c2x-app_mk5_release -d ets-btp.conf -c fixes.conf
main FNSTART: App Init...
App Init...
libPlat_Init FNSTART: (0x7e9f2564)
Conf: ets-btp.conf opened
Conf: fixes.conf opened
ConfigGet: ConfigGet() 0x129a1c8 -> 3
ConfigGet: ConfigGet() 0x129a1c8 -> 4
ConfigGet: ConfigGet() 0x129a1c8 -> 5
Log_GetBaseDir: stat(/mnt/ubi/log): 0
_ConfigRelease: _ConfigRelease() 0x129a1c8 -> 4 (refcount not zero)
Log_Init: Logging directory /mnt/ubi/log exists
ConfigGet: ConfigGet() 0x129a1c8 -> 5
ConfigGet: ConfigGet() 0x129a1c8 -> 6
Log_GetBaseDir: stat(/mnt/ubi/log): 0
_ConfigRelease: _ConfigRelease() 0x129a1c8 -> 5 (refcount not zero)
ConfigGet: ConfigGet() 0x129a1c8 -> 6
_ConfigRelease: _ConfigRelease() 0x129a1c8 -> 5 (refcount not zero)
_ConfigRelease: _ConfigRelease() 0x129a1c8 -> 4 (refcount not zero)
Log_Init: mkdir(/mnt/ubi/log/2018.0807.0806_C04E548019298-0000_1509/): OK
Log_Init: replaced symlink(2018.0807.0806_C04E548019298-0000_1509, /mnt/ubi/log/ current): 0
Log directory is /mnt/ubi/log/2018.0807.0806_C04E548019298-0000_1509
Log_RedirectFd FNSTART: (1, 0, /mnt/ubi/log/2018.0807.0806_C04E548019298-0000_15 09, stdout)
Log_RedirectFd FNEND: (1, 0, /mnt/ubi/log/2018.0807.0806_C04E548019298-0000_1509 , stdout): disabled
Log_RedirectFd FNSTART: (2, 1, /mnt/ubi/log/2018.0807.0806_C04E548019298-0000_15 09, stderr)
Log_RedirectFd: open(/mnt/ubi/log/2018.0807.0806_C04E548019298-0000_1509/stderr) : 3
libPlat Init...
libITSNet Init...
libITSFL Init...
RUNNING...
Thanks again!
|
|
| | | | | | | | | |
Goto Forum:
Current Time: Mon Sep 23 09:24:43 GMT 2024
Powered by FUDForum. Page generated in 0.06958 seconds
|