update emulator
This commit is contained in:
@@ -27,7 +27,7 @@ func SetupService(adapter *bluetooth.Adapter, state *device.DeviceState, logger
|
||||
|
||||
// Non-blocking write in goroutine to avoid blocking the BLE stack
|
||||
go func() {
|
||||
_, err := notifyChar.Write([]byte(response + "\n"))
|
||||
_, err := notifyChar.Write([]byte(response + "\r\n"))
|
||||
if err != nil {
|
||||
logger.Err("Failed to send response: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user