Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: arloliu/go-secs

Tags

v1.12.2

Toggle v1.12.2's commit message
fix(hsms): correct desired state setting order in connection state tr…

…ansitions

 * Set desired state before changing actual state in ToConnecting, ToNotSelected, and ToSelected methods
 * Fix state consistency issues during state transitions
 * Add test case to verify async state change behavior when handler triggers further state changes

v1.12.1

Toggle v1.12.1's commit message
fix(hsmsss): prevent auto linktest from running when initially disabled

 * Fix linktest ticker not being stopped when auto linktest is disabled after connection establishment
 * Add proper state checking in linktestConnStateHandler to stop ticker when disabled
 * Update test to verify linktest properly respects initial disabled configuration

v1.12.0

Toggle v1.12.0's commit message
feat(hsms): add setter methods for DataMessage properties

 * Add SetStreamCode method with validation for stream code range (0-127)
 * Add SetFunctionCode method to update function code
 * Add SetWaitBit method to control wait bit setting
 * Enhance test coverage for new setter methods including error cases
 * Maintain API consistency with existing getter methods

v1.11.0

Toggle v1.11.0's commit message
feat(hsmsss): implement linktest suppression for active message commu…

…nication

This change implements linktest suppression by resetting the linktest interval ticker
whenever messages are sent or received. This reduces the target equipment overhead by
suppressing unnecessary linktest requests/responses during active communication periods.

 * Add resetLinktest() method to centralize linktest ticker reset logic
 * Reset linktest ticker when messages are sent successfully in senderTask
 * Reset linktest ticker when messages are received in receiverTask
 * Refactor UpdateConfigOptions method to use configuration getter methods
 * Rename ticketMgr to tickers for better naming consistency
 * Optimize tickerCtl to use RWMutex for better read concurrency
 * Improve test structure with helper functions and proper context handling

v1.10.0

Toggle v1.10.0's commit message
feat(secs2,hsms): include raw byte data in the SECS-II item for speed…

… up ToBytes()

v1.9.1

Toggle v1.9.1's commit message
refactor(sml): handle SML message name which contains dot symbol

v1.9.0

Toggle v1.9.0's commit message
feat(sml): support SML representation with empty message name

support empty message name, e.g.,` : 'S1F1' W.`

v1.8.0

Toggle v1.8.0's commit message
feat(hsms,hsmsss): add synchronous message sending and improve connec…

…tion reliability

 * Add `SendMessageSync` method to `Session` interface for synchronous message sending
 * Add `WithSendTimeout` configuration option for message send timeout control
 * Refactor `TaskManager` to eliminate code duplication and improve reliability
 * Fix connection resource management with unified mutex for conn/reader/writer
 * Resolve buffered reader timeout issues by reading directly from connection
 * Add context protection with RWMutex to prevent data races in task operations
 * Implement proper panic recovery and connection cleanup in task loops
 * Add comprehensive test coverage for `TaskManager` and connection edge cases
 * Extend T3 timeout validation range from 120s to 600s

v1.7.9

Toggle v1.7.9's commit message
fix(hsms,hsmsss): improve session and connection reliability

 * Add proper channel lifecycle management in Session
 * Enhance TaskManager robustness in StartRecvDataMsg
 * Improve Connection error handling and cleanup

v1.7.8

Toggle v1.7.8's commit message
refactor(sml): output True and False string for boolean SML represent…

…ation