Dtynin
DIIDevHeads IoT Integration Server
•Created by Dtynin on 6/3/2024 in #middleware-and-os
How do I detect crashes in Node.js/Electron when devices disconnects unexpectedly?
hey @Middleware & OS My Node.js/Electron app (macOS) interfaces with Bluetooth devices. I suspect driver crashes as the devices become unresponsive & require manual driver reload
kextunload
and kextload
. Is there a way to programmatically detect these crashes in Node.js/Electron to know when a device disconnects unexpectedly?2 replies