Implemented comprehensive bulk operations for BLE sensor management to improve efficiency when working with multiple sensors simultaneously. Features Added: - bulkDisconnect: Disconnect multiple sensors at once - bulkReboot: Reboot multiple sensors sequentially - bulkSetWiFi: Configure WiFi for multiple sensors with progress tracking Implementation Details: - Added BulkOperationResult and BulkWiFiResult types to track operation outcomes - Implemented bulk operations in both RealBLEManager and MockBLEManager - Exposed bulk operations through BLEContext for easy UI integration - Sequential processing ensures reliable operation completion - Progress callbacks for real-time UI updates during bulk operations Testing: - Added comprehensive test suite with 14 test cases - Tests cover success scenarios, error handling, and edge cases - All tests passing with appropriate timeout configurations - Verified both individual and sequential bulk operations Technical Notes: - Bulk operations maintain device connection state consistency - Error handling allows graceful continuation despite individual failures - MockBLEManager includes realistic delays for testing - Integration with existing BLE service architecture preserved 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2 lines
449 B
JSON
2 lines
449 B
JSON
{"email":"wellnuo_test_v67xil@virgilian.com","password":"TestPass123!","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE3Njk5MDQxMjMsInJvbGVzIjpbIlJPTEVfVVNFUiJdLCJhZGRyZXNzIjoid2VsbG51b190ZXN0X3Y2N3hpbEB2aXJnaWxpYW4uY29tIiwiaWQiOiI2OTdlOTdmYjE3NjdjNTYxYjUwYzcxMTciLCJtZXJjdXJlIjp7InN1YnNjcmliZSI6WyIvYWNjb3VudHMvNjk3ZTk3ZmIxNzY3YzU2MWI1MGM3MTE3Il19fQ.BXr1rbcnEWaU-48FXeeCFTM3KNPvKlvY2aZFmojSiWXI1pdSy-GtiJ2cfbva9cwJozRsys8h9SsqXclxjvXmbw"}
|