Comments (7)
There is no way to send a larger dataset when the MMS size is too small. Only the getnamelist MMS service supports splitting the response in multiple MMS messages.
But the issue (crash) should be resolved with this fix: 681d1b0
from libiec61850.
In what function does the application crash?
Do you have a stack trace?
from libiec61850.
In what function does the application crash? Do you have a stack trace?
Hi,
This is C# library so there is no stacktrace, only error message.
App crashed at "con.GetDataSetDirectoryAsync"
string dsRef = dataSetRef.Replace('$', '.');
Debug.WriteLine(dsRef);
waitForCallBack.Reset();
con.GetDataSetDirectoryAsync(dsRef, delegate (uint invokeId, object parameter, IedClientError err, List<string> dataSetDirectory, bool isDeletable)
{
if (dataSetDirectory != null)
{
foreach (var doName in dataSetDirectory)
{
Debug.WriteLine("\t" + doName);
}
}
else
{
Debug.WriteLine("Get dataset directory error: " + err.ToString());
}
waitForCallBack.Set();
}, null);
waitForCallBack.WaitOne();
from libiec61850.
Please note that, when con.MaxPduSize does not set. (default value 65000) this function works well.
And I have 2 dataset LLN0$PROT1 have much more variable than LLN0$PROT2.
from libiec61850.
I found an issue with the .NET wrapper when the server doesn't send a response but an error message instead. Could this be the case here? I guess the dataset is too big to fit into a the small MMS PDU size and the server is sending an error message instead.
from libiec61850.
I found an issue with the .NET wrapper when the server doesn't send a response but an error message instead. Could this be the case here? I guess the dataset is too big to fit into a the small MMS PDU size and the server is sending an error message instead.
You are correct. And the issue I want to point out is the dataset is too big to fit into a the small MMS PDU size.
In the GetNameListHandler there is a bool moreFollow. But with GetDataSetDirectoryHandler there is only isDeletable.
the reason PDU size is 1000 is for GetNameListHandler work well, when PDU larger than 1000 I got many IED timeout with my test.
from libiec61850.
There is no way to send a larger dataset when the MMS size is too small. Only the getnamelist MMS service supports splitting the response in multiple MMS messages.
But the issue (crash) should be resolved with this fix: 681d1b0
Okay. Thank youuuu. Let me try again with the latest source code
from libiec61850.
Related Issues (20)
- Cannot compile code with gcc-arm-none-eabi
- What is the invalid Dataset Name? HOT 1
- config_file_parser.c use a static var and not multithread HOT 1
- why client_report.c will memory leak HOT 1
- SCD files without gateway IP addresses causes model build failure - DockerComposeGenerator.java
- Config file parser issue when goose have no PA
- The problem has been resolved HOT 1
- Nuget package plans? HOT 1
- Data Object Type
- SegmentFault in mmsServer_handleGetNameListRequest in src/mms/iso_mms/server/mms_get_namelist_service.c HOT 3
- MinGW64 doesn't output libiec61850.dll - only static libiec61850.a is produced --> Solved HOT 1
- SegmentFault in mmsServer_handleDeleteNamedVariableListRequest in src/mms/iso_mms/server/mms_named_variable_list_service.c:146 HOT 1
- NULL Pointer Dereference was detected in the mmsServer_handleFileCloseRequest.c function of src/mms/iso_mms/server/mms_file_service.c. HOT 4
- TLS RELATED ISSUES
- Error when writing all array elements at once HOT 1
- Client Report Handler in Python HOT 1
- NBReports generated despite IedServer_lockDataModel(), IedServer_lockDataModel() HOT 2
- Structure data object from MmsVariableSpecification is diffrent with value when received dataset from rcb HOT 3
- iec61850_client_example_files: Failed to get file!
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 libiec61850.