Skip to content

Tags: ZaparooProject/go-pn532

Tags

v0.8.2

Toggle v0.8.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #15 from ZaparooProject/fix/i2c-broken

fix: improve I2C transport reliability with timeout increase and robust frame handling

v0.8.1

Toggle v0.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #14 from ZaparooProject/fix/windows-uart-fastread-…

…lockup

fix: prevent PN532 firmware lockup on Windows UART with large FastRead operations

v0.8.0

Toggle v0.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #13 from ZaparooProject/fix/windows-uart-compatibi…

…lity

feat: enhance Windows UART compatibility with platform-specific handling

v0.7.0

Toggle v0.7.0's commit message
Workflow updates

v0.6.1

Toggle v0.6.1's commit message
Increase timeout durations and improve concurrency handling in tests

- Extended context timeout in `main_test.go` for longer-running tests.
- Integrated acknowledgment timeout handling in session pause logic.
- Refactored tests to use atomic counters, ensuring thread-safe assertions.
- Added timeouts to prevent infinite loops in session state checks.

Enhancements improve test reliability and robustness in multi-threaded scenarios.

v0.6.0

Toggle v0.6.0's commit message
Add context-aware operation support and improved session management

- Enhanced `WriteToTag` and `WriteToNextTag` with explicit context controls (sessionCtx, writeCtx) for better cancellation and timeout handling.
- Simplified error handling in `runWriteMode` to highlight areas for improvement.
- Introduced acknowledgment channel (`ackChan`) to synchronize polling pauses with proper signaling.
- Improved thread safety in `pauseWithAck` and `handlePauseSignal` to prevent race conditions.
- Updated tests to cover new context-aware methods, including cancellation, acknowledgment, and concurrency scenarios.
- Added `safeTimerStop` utility to prevent race conditions with active timers.

These changes enhance session lifecycle management, robustness in concurrent environments, and provide clearer error handling pathways for NFC operations.

v0.5.0

Toggle v0.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #9 from ZaparooProject/feature/lint-fixes

Simplify session management and examples

v0.4.0

Toggle v0.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #8 from ZaparooProject/feature/testing-infrastructure

New integration testing

v0.3.1

Toggle v0.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #7 from ZaparooProject/fix-deadlocks

Fix transport deadlocks and improve test reliability

v0.3.0

Toggle v0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #6 from ZaparooProject/feature/ignore-device-paths

Add device path ignore functionality to DetectAll