Commit Graph

390 Commits (24b5e28904d6fc014d420a2e20c6088eac72444e)

Author SHA1 Message Date
Michael Zillgith 57f6df3c3a - HAL(Socket): Added function Socket_getLocalAddress
- IEC 61850 server: Added function ClientConnection_getLocalAddress
6 years ago
Michael Zillgith 2bfd0fd0ef - GOOSE receiver: add support for operation without Ethernet HAL implementation 6 years ago
Michael Zillgith 965cebbe2d - added export definitions to MmsVariableSpecification functions 6 years ago
Michael Zillgith 84fcfbbd22 - MMS client/server: handle missing invoke ID in reject/error PDUs 6 years ago
Michael Zillgith 4c123c0c3c - MMS server: fixed potential deadlock in multi-thread mode 6 years ago
Michael Zillgith 73417cdbf2 - Added additional check in MmsVariableSpecification_getChildValue 6 years ago
Michael Zillgith 4f59099c59 Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 6 years ago
Michael Zillgith 0d5fa50947 - MMS client: added missing socket release when connection was not opened 6 years ago
Michael Zillgith 60741394a3 - MMS server: fixed bug in obtain file service (crash when target directory doesn't exist) 6 years ago
Michael Zillgith 8f5b501d75 - removed inline function declarations 6 years ago
Michael Zillgith c2d73c3fe8 - fixed bug parsing OID string with space as separator 6 years ago
Michael Zillgith 7cb69c983a - additionally allow comma and space as separators in ap-titles used in API functions 6 years ago
Michael Zillgith daff495246 - MMS client/server: accept empty bit strings 6 years ago
Michael Zillgith 16c061b4df - MMS server API: removed dependency from internal header file iso_server.h 6 years ago
Michael Zillgith 5a83af9206 - moved mms_server.h back to public API (see github #117) 7 years ago
Michael Zillgith c98a2b0baa - MMS server: fixed connection handling problem in multi-threaded mode 7 years ago
Michael Zillgith 994484d1a6 - MMS server: added semaphore for open connections map to prevent problem in multi-threaded mode 7 years ago
Michael Zillgith 0cddcb7d12 - MMS client: changed signature of MmsConnection_FileReadHandler 7 years ago
Michael Zillgith 8ffbd9f265 - removed function MmsValue_deleteIfNotNull (now MmsValue_delete does check for NULL) 7 years ago
Michael Zillgith 9f8d52005b - MMS client: fixed problem when reusing connection 7 years ago
Michael Zillgith 0dff4286aa - merged latest changes to the server reporting module from 1.3 branch
- merged with 1.3 branch
7 years ago
Michael Zillgith 0b2d97c738 - COTP: added payload length validation (see github #127) 7 years ago
Michael Zillgith 452abd7dbf - MMS client/server: added support for component alternate access for generic variable read requests 7 years ago
Michael Zillgith 6af7973b09 - IsoClientConnection_associateAsync: added check if socket creation has been successful 7 years ago
Michael Zillgith 3d8ab44a49 - MMS client: improved handling of malformed messages when reading data
- MMS client: improved handling of malformed messages when receiving reports
- MMS client: fixed potential memory leak when receiving malformed messages
7 years ago
Michael Zillgith 1c461009c2 - MMS client/server: fixed potential memory leaks in TLS handling code 7 years ago
Michael Zillgith 87cac8dc00 - code formated 7 years ago
Michael Zillgith 4bd8b40b6c - code formatting 7 years ago
Michael Zillgith bbb56a16a3 - removed some compiler warnings 7 years ago
Michael Zillgith 1d61afaa8b - C library: removed C++ style line comments 7 years ago
Michael Zillgith 5ed474a44a - MMS client: fixed problem with async connect timeout 7 years ago
Michael Zillgith 3e30910319 - IEC 61850 client: added missing async functions for files 7 years ago
Michael Zillgith aca462c761 - removed outcommented code 7 years ago
Michael Zillgith d0f4c06d62 - IEC 61850 client: added functions IedConnection_getLogicalDeviceVariables, IedConnection_getLogicalDeviceDataSets, and IedConnection_getLogicalDeviceDataSetsAsync to address #89 7 years ago
Michael Zillgith a817b3d3c6 - updated data model of server_example_basic_io
- common: MmsVariableSpecification_getChildValue now also accepts "." as separator
7 years ago
Michael Zillgith 861c5b244b - MMS client: fixed bug with async request timeout 7 years ago
Michael Zillgith e90d5d44fa - IEC 61850 client: added async discovery functions 7 years ago
Michael Zillgith 44d8ad8d15 - IEC 61850/MMS client: changed all invokeId parameters in async callbacks to uint32_t 7 years ago
Michael Zillgith ed75aa3f46 - some code formatting 7 years ago
Michael Zillgith 2b7dc5c5fe - added API export/internal decorations
- removed .def files for windows
7 years ago
Michael Zillgith 54d8fb74d7 - IEC 61850 client: added async versions for connect, abort, release, get variable specification, write object 7 years ago
Michael Zillgith a5e15003ce - correcting verions detection for swig (phyton)
- client: adopted TLS code to new async architecture
7 years ago
Michael Zillgith 56d7ee4f0b - IEC 61850/MMS client: Add support for write variable for array element with component
- added lost README file for winpcap
7 years ago
Michael Zillgith 70c1cd691d - MMS client: refactoring for async connect, abort, release 7 years ago
Michael Zillgith 8d45d44cc2 - Socket HAL: added functons for asynchronous (non-blocking) connect 7 years ago
Michael Zillgith 4d32e3c1ae - MMS client: code cleanup for asnyc functions 7 years ago
Michael Zillgith 069646f954 - MMS client: added asynchronous file service functions 7 years ago
Michael Zillgith 7767e282d6 - MMS client: added asynchronous get name list functions 7 years ago
Michael Zillgith fc1d62d1a7 MMS client: added asynchronous read journal service 7 years ago
Michael Zillgith c80a87d5e8 - MMS client: add asynchronous function for MMS identify service 7 years ago
Michael Zillgith 7600c0f3cf - MMS client: add asynchronous function for MMS status request service 7 years ago
Michael Zillgith aa7e89684e - MMS client: add asynchronous function for get variable access attributes service 7 years ago
Michael Zillgith 5692d0246b - MMS client: added asynchronous define named variable list functions 7 years ago
Michael Zillgith 80ce9c8967 - MMS client: added asynchronous read and write functions 7 years ago
Michael Zillgith aa86d3b259 - IEC 61850 server: number of dynamic data sets configurable at runtime 7 years ago
Michael Zillgith a0adcf94e7 - IEC 61850 Server: made number of data set entries configurable at runtime 7 years ago
Michael Zillgith e905bc242b - MMS server: initialize maxConnections in IsoServer 7 years ago
Michael Zillgith 77f97dc006 - replaced strndup 7 years ago
Michael Zillgith 51c29fe9a7 - IEC 61850 server/ MMS server: maximum number of client connections configurable at runtime 7 years ago
Michael Zillgith d108dae115 - MMS server: fixed locking bug in file obtain service 7 years ago
Michael Zillgith 8b957b8f82 - IEC 61850 client: add support for single array element access (with component specification) 7 years ago
Michael Zillgith eef34cf40e - MMS server: add support for array element (index) access with nested component 7 years ago
Michael Zillgith 3f07176dc3 - MMS server: fixed bug in delete variable list service - scope of delete was not considered optional 7 years ago
Michael Zillgith 0b51d6841a - added Socket_activateTcpKeepAlive function 7 years ago
Michael Zillgith 02cda48128 - moved TLS API to platform abstraction layer 7 years ago
Michael Zillgith 71493036dc - IEC 61850 server/MMS server: make dynamic data set service configurable at runtime with IedServerConfig object (new functions IedServerConfig_enableLogService and IedServerConfig_isLogServiceEnabled) 7 years ago
Michael Zillgith 0a3d86601b - IEC 61850 server/MMS server: make dynamic data set service configurable at runtime with IedServerConfig object (new functions IedServerConfig_enableDynamicDataSetService and IedServerConfig_isDynamicDataSetServiceEnabled) 7 years ago
Michael Zillgith 27e883a1bc - MMS server: fixed bug in association service (file rename was not reported as supported service) 7 years ago
Michael Zillgith 143bc977c0 - IEC 61850 server/MMS server: make file service configurable at runtime with IedServerConfig object (new functions IedServerConfig_enableFileService and IedServerConfig_isFileServiceEnabled) 7 years ago
Michael Zillgith ab51835377 - MMS server: fixed wrong preprocessor defines that can cause problems in some configurations (unlimited number of client connections/ multi-threaded server) 7 years ago
Michael Zillgith 4605c60a3b - fixed bug in MmsValue_update 7 years ago
Michael Zillgith 2c9a4bb088 - TLS client: fixed problem with high CPU load 7 years ago
Michael Zillgith 9e15185c74 - ISO connection: fixed race condition that can cause corrupted messages 7 years ago
Michael Zillgith 605913b0c1 - fixed some configuration issues 7 years ago
Michael Zillgith 7b98f368dc - some code reformating 8 years ago
Michael Zillgith 02a330e414 - IEC 61850 server: added memory alignement for buffered reporting 8 years ago
Michael Zillgith d86e9f8b98 - client: fixed bug in parsing initiate response message 8 years ago
Michael Zillgith 49208df7f4 - removed ATTRIBUTE_PACKED 8 years ago
Michael Zillgith 3a2ad2c4ef - refactored TLS API (moved TLSSocket in a separate private header file) 8 years ago
Michael Zillgith d45e729ecf - MMS client/server: added missing length field checks to increase decoder stability 8 years ago
Michael Zillgith 11f0fa9e2a - added cast in MmsValue_update 8 years ago
Michael Zillgith 7e43e265a7 - MMS server: added state mutex for IsoServer 8 years ago
Michael Zillgith 260d97ae23 - MMS client: MmsConnection added mutexes for state variable 8 years ago
Michael Zillgith 5a0315b52b - MMS client: added mutex for state in IsoClientConnection 8 years ago
Michael Zillgith f9030a8b4f - MmsValue_update function now allows adjusting octet-string size of target object 8 years ago
Michael Zillgith 311cd905f1 - MMS client/server: removed mms_indication.h and MmsIndication type 8 years ago
Michael Zillgith 577158ec6e - updated documentation
- tls_server_example uses AcseAuthenticator
- IsoConnectionParameters: remove TLSConfiguration when compiled without TLS support
8 years ago
Michael Zillgith afd374397d - IEC 61850/MMS: allow using default port in non-threaded mode 8 years ago
Michael Zillgith 570ca71570 - IEC 61850/MMS: integrated TLS for MMS client/server 8 years ago
Michael Zillgith 6eddf2fa08 - fixed potential memory alignement problem
(cherry picked from commit f0184fdd4b)
8 years ago
Michael Zillgith f7b04a02ed - MMS client: fixed bug in MmsConnection_connect (COTP payload buffer was not reset in case of an error during connect -> connection failed in case of reuse of MmsConnection object) 8 years ago
Michael Zillgith ba985ec2b0 - MMS client: delete named variable list service supports VMD specific lists 8 years ago
Michael Zillgith c291db5d95 - updated README file
- SV receiver: Added semaphore to make subscriber list thread-safe
8 years ago
Michael Zillgith 5fb8c5b984 - MMS: added more length checks in parsers for file services 8 years ago
Michael Zillgith 02689d1410 - MMS server: more restrictive value type check when handling write access 8 years ago
Michael Zillgith e26ac787d7 - MMS client: file services -fixed encoding problem with long file names 8 years ago
Michael Zillgith d8f964ac7c - MMS server: ACSE authenticator passes application reference (ap-title and ae-qualifier) 8 years ago
Michael Zillgith 53e741852e - example directory cleanup 8 years ago
Michael Zillgith 922dac1a34 - MMS: fixed potential memory leak in asn1 code that can be caused by malformed MMS messages 8 years ago
Michael Zillgith 90d910625b - MMS: asn1 parser - removed debugging code 8 years ago
Michael Zillgith a008275f37 - MMS client: parse reject PDU
- MMS: improved BER decoder stability
8 years ago
Michael Zillgith 5b470f740c - MMS server: MMS read handler sets domain to NULL for VMD scope variable 8 years ago
Michael Zillgith c3043290ac - MMS client: MmsConnection_getVariableAccessAttributes support for VMD specific variables 8 years ago
Michael Zillgith e595cb7b46 - MMS client: improved error handling 8 years ago
Michael Zillgith 17bc388ae5 - updated CHANGELOG for release 1.1.0 8 years ago
Michael Zillgith d0ac21e487 - client/server: added set data set service (MMS write named variable list)
- client/server: improved write access to array elements and sub arrays
8 years ago
Michael Zillgith 325867b5f4 - MMS client: replaced asn1c code in mms_client_initiate.c 8 years ago
Michael Zillgith 311c70ea30 - some code cleanup in mms_client_connection.c 8 years ago
Michael Zillgith b1641b82ff - MMS client/server: extended BER encoder to support MMS PDU sizes with more than 64k 8 years ago
Michael Zillgith 15ec6c7a7c - added additional check to MmsValue_update for structure size mismatch 8 years ago
Michael Zillgith c08fe41cbb - SV publisher: Changed SampledValuesPublisher_create to support setting of Communication parameters at runtime 8 years ago
Michael Zillgith 2a40798f10 - server: added MmsFileAccessHandler for server side monitoring and control of file services
- file services: added support to set filestore basepath at runtime
- added IedConnection_getFileDirectoryEx to better control receiving file directories
8 years ago
Michael Zillgith 3aa01687c5 - MMS client/server: fixed problem with negative frsmId
- some code cleanup
8 years ago
mzillgith 046541700a Merge pull request #6 from cedricboudinet/master
Various patch
9 years ago
Cedric Boudinet 81cf937616 Fixing buffer overflow when printing Mms Array Value to buffer 9 years ago
Michael Zillgith 877d4562e4 - COTP: fixed problem in server side src/dst reference handling 9 years ago
Michael Zillgith dc4090e95d - MMS server API: added documentation for ObtainFile service callbacks 9 years ago
Michael Zillgith 9ad549592d - refactoring names in string_utils.h/.c
- fixed bug in StringUtils_copySubString
9 years ago
Michael Zillgith b8a4e8c7b0 - some fixes 9 years ago
Michael Zillgith 46575aeb68 - implemented setFile service
- prepared for release 1.0.0
9 years ago
Michael Zillgith 940bcee6fc - MmsValue_getNumberOfSetBits now deals with wrong padding 9 years ago
Michael Zillgith 23cf37d048 - hardened client report handler 9 years ago
Michael Zillgith 0fd5b05dd8 - implemented client and server side MMS obtain-file service
- added FileSystem_writeFile function to API and windows, linux providers
9 years ago
Michael Zillgith d15e2c73b1 - implemented server side obtain file procedure 9 years ago
Michael Zillgith d81e9e1c19 - implemente ControlObjectClient_setTestMode function, also for C# wrapper 9 years ago
Michael Zillgith 372df34018 - added client side fuctionality to provide user access to raw MMS messages 9 years ago
Michael Zillgith 516c8f5a40 - add readJournal flag in initate response servicesSupportedCalled 9 years ago
Michael Zillgith 64a98871cc - fixed problem in getNameList service when no logs are present 9 years ago
Michael Zillgith 325c3e0b7e - removed FileSystem_setBasePath from windows export files
- ISO server: fixed race problem when opening/closing connections in multithreaded configuration
9 years ago
Michael Zillgith 787d7fc270 - file provider functions don't change file names; VMD_FILESTORE base part is now added in MMS server file service handling code
- IedConnection_readObject and IedConnection_getVariableSpecification can now read whole LNs
9 years ago
Michael Zillgith 97fd7524f8 - added IEC 61850 client API to query logs
- added client example to read logs
9 years ago
Michael Zillgith 2b28c0fed3 - added cmake support to build sqlite log driver
- made logging ready to be compiled with Visual Studio
- added functions to create LCBs and LOGs to dynamic model API
- client: added GetLogicalNodeDirectory(LOG) ACSI function
9 years ago
Michael Zillgith 23e695dae8 - removed asn1c dependable code from ServiceError PDU creation
- added ServiceError creation function that support serviceSpecific info
- server: delete dataset service now returns ServiceError with object-constraint-conflict when data set cannot be deleted because it is used in a control block
9 years ago
Michael Zillgith d8ace91bcf - iso_server.c: fixed bug in multi-threaded version: segfault when conection unexpectedly closed 9 years ago
Michael Zillgith 069af684e9 - fixed problem with test case sSgN4 (return temporary-unavailable) when no EditSG is selected
- continued logging implementation
9 years ago
Michael Zillgith fd4261cd2d - implemented client side readJournal service
- extended service side readJournal with ReasonCode
- extende mms_utility example with read journal command
9 years ago
Michael Zillgith ba08a2ad59 - implemented client and server side readJournal message parsing and generation 9 years ago
Michael Zillgith 7acd515a96 - WIP: server side logging 9 years ago
Michael Zillgith a23b584d13 - extended logging implementation 9 years ago
Michael Zillgith 2d45c2d679 - add client side code to create read journals requests required for IEC 61850 logging services 9 years ago
Michael Zillgith 923b683e21 - fixed bug in ethernet_win32.c 9 years ago
Michael Zillgith 7de010e1f5 - started to implemente server side read journal handling 9 years ago
Michael Zillgith 442c30d79f Merge branch 'master' into logging 9 years ago
Michael Zillgith 6c306870e9 Merge branch 'python-bindings' 9 years ago
Michael Zillgith 29b9e46697 - added function MmsConnection_getMmsConnectionParameters 9 years ago
Michael Zillgith 2d753f3b24 - added static model generation for LogCBs and Logs
- added MMS data model for LCBs
- server: MMS getNameList now supports journals
9 years ago
Michael Zillgith fb49549f66 - added Log data structure 9 years ago
Michael Zillgith 6d03f18748 - started to implement MMS journals server side 9 years ago
Michael Zillgith 956deaf958 - MMS client: added support to read domain specific journals from server: MmsConnection_getDomainJournals 9 years ago
Michael Zillgith ab9ad2dcf2 - added added LogControlBlock data structure 9 years ago
Michael Zillgith 842331322a - removed mms_access_result.h 9 years ago
Michael Zillgith 3eca0d62c5 - added code to deserialize an BER encoded MMS data element into a MmsValue instance 9 years ago
Michael Zillgith 03f43b795f - fixed initialization problem with uninitialized integer values 9 years ago
Michael Zillgith 2f8e011a0f - fixed initialization problem with uninitialized integer values 9 years ago
Michael Zillgith ff093198e9 - cleanup; optimization 10 years ago
Michael Zillgith 27a74db4d8 - fixed problem with max PDU size for GetFileDirectory service 10 years ago
Michael Zillgith eab59b8ae8 - small code cleanup 10 years ago
Michael Zillgith 78b9e4796a - get file-service implementation from master 10 years ago
Michael Zillgith 40ed2cea6f Merge branch 'pavotek' of mz-automation.de:libiec61850-all into pavotek
Conflicts:
	src/mms/iso_mms/server/mms_file_service.c
	src/vs/libiec61850-wo-goose.def
	src/vs/libiec61850.def
10 years ago
Michael Zillgith 374bfa03d4 - extended file service and mms_utility 10 years ago
Michael Zillgith 44a4336deb - changed signature of IedConnection_deleteDataSet, MmsConnection_deleteAssociationSpecificNamedVariableList, MmsConnection_deleteNamedVariableList. added boolean return value to indicate if data set/named variable list has been deleted.
- increased version number to 0.9.1
10 years ago
Michael Zillgith 5261378603 - added CONFIG_IEC61850_EDITION_1 configuration option
- removed "Owner" from RCBs for edition 1 builds
10 years ago
Michael Zillgith 44b94f0df0 - fixed signed integer encoding problem for frsmId in fileClose client service 10 years ago
Michael Zillgith 6ceecd426f - fixed encoding problem with negative frsmId in client file read service 10 years ago
Michael Zillgith 7a8bd5dabe - allow 16 octet ISO session selector in C code 10 years ago
Michael Zillgith d54301fa09 - added c++ header to goose/sv publisher
- fixed problem in GetFileDirectory-service with a single file as parameter
10 years ago
Michael Zillgith 96096b7f75 - fixed problem with getFileDirectory-service with a single file as argument - test case Ft4 (ed.1) 10 years ago
Michael Zillgith e1a9b6a852 - prepared for 0.9 release 10 years ago
Michael Zillgith 5637f837a3 - fixed bug related to test case SrvN1c: GetDataDirectory returns wrong variable specification for non-existent sub variable e.g. Mod.ctlModel.XYZ 10 years ago
Michael Zillgith 8372540650 - added using of select to multi-threaded server configuration 10 years ago
Michael Zillgith 833765bbb2 - fixed performance problem (removed Thread_sleep()) for single and multithreaded server 10 years ago
Michael Zillgith ecf64277a8 - fixed bug in server side file directory service with nested directory structure
- mms_utility: added read file directory feature
10 years ago
Michael Zillgith 9e626d58b8 - added java based modelviewer tool 10 years ago
Michael Zillgith 91d122fd51 - RCBs support for VMD scope datasets
- Client support for VMD scope datasets
10 years ago
Michael Zillgith b9c520240a - added support for VMD scope named variable lists 10 years ago
Michael Zillgith c0174f9f38 - added SV subscriber and example 10 years ago
Michael Zillgith c3dace4150 - fixed problem in MmsValue_printToBuffer
- extended ClientControlBlock
10 years ago
Michael Zillgith 0193902da1 - M/U SVCB implementation WIP
- added example project for IEC 61850-9-2 LE
10 years ago
Michael Zillgith 4a4291314e - updated CHANGELOG file for release 0.8.7 10 years ago
Michael Zillgith fbd253d46d - made new sorting algorithm for getNameList reponse configurable 10 years ago
Michael Zillgith 44ad37b04c - changed sorting algorithm for getNameList reponse 10 years ago
Michael Zillgith 9896742d12 - added support for sorted getNameList reponse (can be switched off by setting CONFIG_MMS_SORT_NAME_LIST to 0) 10 years ago
Michael Zillgith 386d2acd32 - .NET API: added methods GetEntryID/SetEntryID to ReportControlBlock
- client API: added function ClientReport_getDataSetName
- common API: added function MmsValue_getStringSize
- API: changed some char* to const char*
10 years ago
Michael Zillgith 947b4a0cd5 - fixed problem with SqNum (INT8U/INT16U) in RCBs and reports
- started to implement sorting algorithm for getNameList
10 years ago
Michael Zillgith 64199f791c - changed ControlObjectClient_create function: doesn't read "Oper" and uses GetVarSpec instead of GetNameList service 10 years ago
Michael Zillgith 5485b62ae0 - code cleanup 10 years ago
Michael Zillgith b0e8a6331b - fixed some problems in server side file directory service 10 years ago
Michael Zillgith e0a60e6591 - added missing error evaluation in client getNameList service 10 years ago
Michael Zillgith 2daa5fdec4 - changed server side getFileDirectory service to return flat file directory 10 years ago
Michael Zillgith 0bc0fd94ed - fixed bug in get name list service when client sends wrong domain name 10 years ago
Michael Zillgith 6ad3c4b17e Merge branch 'master' into pavo_changes
Conflicts:
	tools/model_generator/genconfig.jar
	tools/model_generator/genmodel.jar
10 years ago
Michael Zillgith 2e24ecb4eb - changed TimeOfEntry to TimeofEntry for Buffered reporting to deal with "bug" in 8-1 specification
- deal with SE/SG in SCL file -> SE will automatically create SG attribute in data model
- added wildcard "*" support to file service
- fixed problem with filesystem file modification date on embedded linux syste,
10 years ago
Michael Zillgith 5ef1da7ac2 - added function ControlObjectClient_useConstantT to enable constant T parameter value during a control sequence 10 years ago
Michael Zillgith bbccffb65a - added function LogicalNode_getDataSet 10 years ago
Michael Zillgith b1eda97ab4 - changed signature of WriteAccessHandler: Handler now return MmsDataAccessError instead of boolean value! 10 years ago
Michael Zillgith a603b7af48 - added IED_ERROR_TYPE_INCONSISTENT value to client API
- server now reponds with type-inconsistent error when client tries to write a value of wrong type
10 years ago
Michael Zillgith c2f50239ef - fixed typo in last commit 10 years ago
Michael Zillgith 7c540f77c4 - fixed bug with unsigned32 on big endian systems 10 years ago
Michael Zillgith 37913842fd - ISO_SERVER: set state to IDLE when server restarts 10 years ago
Michael Zillgith 21d0218d0b - GOOSE receiver ignores trailing data (like PRP tail). 10 years ago