Comments (12)
Hi @Z-ZWBY, for the IP issue: have you tried updating this line:
Or, start with XCPLite with option "-bind x.x.x.x" -> no effect on your issue , can ignore
At least for me, it works as expected.
from xcplite.
Hi@George117
Thanks for your replying. if you do not define the 'OPTION_SERVER_ADDR', the A2L.C can get your local ethernet IP and write in the A2L.V4 has this function ,i run the v4 , but there are problems with V5
from xcplite.
I see your point:
In A2lCreate_IF_DATA() there is indeed this functionality implemented: socketGetLocalAddr()
Lines 298 to 305 in 334206e
I'll give it a go on my system and see how it looks.
from xcplite.
@George117
Hello George
Yeah, you find it, i do not see details about it.
About the V5 , do you have the issue 'The determination of the XCP 1.3 DAQ start time failed error' when using Canape to start measurement?
I run the latest V5 rightnow(GET_DAQ_CLOCK_MULTICAST bugfix), there is still issue here,how do you deal with it? Setting Canape or disabling the multicast? Disabling the multicast is not useful and i can not find the Canape setting.
from xcplite.
Unfortunately I dont use the MULTICAST in my implementation, so I cannot speak to it.
from xcplite.
@George117
How do you close the MULTICAST.
I disabled the 'XCPTL_MULTICAST' in the 'xcptl_cfg.h' and 'XCP_ENABLE_DAQ_CLOCK_MULTICAST' in the 'xcp_cfg.h',do you have the same way?
from xcplite.
from xcplite.
I see your point: In A2lCreate_IF_DATA() there is indeed this functionality implemented: socketGetLocalAddr()
Lines 298 to 305 in 334206e
I'll give it a go on my system and see how it looks.
So, I;ve replicated your issue. It seems to be a bug in the implementation. (To be confirmed Confirmed here)
Either define XCP_ENABLE_DEBUG_PRINTS (dirty bugfix)
or move that copy operation out of the define scope:
Lines 502 to 505 in 334206e
@RainerZ @Z-ZWBY I'm not sure if this is the correct fix but it seems to fix the issue reported (as far as I understood it)
from xcplite.
@George117 Thanks for your work.
I think you don't use the Canape as the XCP master,is it right?
from xcplite.
Morning @Z-ZWBY , you are right, I'm not using Canape.
from xcplite.
Hello,
I can confirm this is a bug.
I will simply remove the ifdef
Thanks
Regards
from xcplite.
Morning @RainerZ ,
Thanks for the confirmation!
from xcplite.
Related Issues (20)
- running XCPlite on a headless system HOT 1
- XCPsim: Invalid counter in XCP transport layer header HOT 9
- Segmentation Fault using local variables.. HOT 1
- Memory leak pthread_create HOT 1
- New release version
- Multiple instances for c++ application
- CPP_Demo memory dump
- New Release Version
- No function to create physical calibration parameter
- Help HOT 3
- New Release Version
- The functionality corresponding to XCP_ENABLE_SO has not been implemented HOT 1
- Can XCPlite and CANape be run on the same machine? HOT 2
- Why does XcpSetDaqListMode overwrites flags to be mode? HOT 1
- Possibility using virtual address HOT 3
- Timeout: No response of the request msg received HOT 7
- Heap-use-after-free in socketGetLocalAddr
- XcpCreateEvent cycleTimeNs parameter mismatch in C_Demo HOT 1
- git markings in the source files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcplite.