While rowing on EXR, ORM crashed on me mid-session. It was a weird crash as EXR didn't even attempt to reconnect. I found the following in the logs:
Apr 29 18:44:52 roeimachine npm[615]: Uncaught Exception: TypeError: hardwareErrorCallback is not a function
Apr 29 18:44:52 roeimachine npm[615]: at handleHardwareError (/opt/openrowingmonitor/node_modules/ble-host/lib/internal/adapter.js:844:3)
Apr 29 18:44:52 roeimachine npm[615]: at HciSocket.onData (/opt/openrowingmonitor/node_modules/ble-host/lib/internal/adapter.js:1182:31)
Apr 29 18:44:52 roeimachine npm[615]: at HciSocket.emit (node:events:519:28)
Apr 29 18:44:52 roeimachine npm[615]: at /opt/openrowingmonitor/node_modules/hci-socket/lib/hci-socket.js:105:9
Apr 29 18:44:52 roeimachine npm[685]: 2026-04-29 18:44:52 sigHandler: Unhandled signal 15, terminating
Apr 29 18:44:52 roeimachine npm[615]: OpenRowingMonitor shutdown at 18:44, at 2543.14435 seconds,distance 9172.7m
Apr 29 18:44:52 roeimachine npm[615]: /opt/openrowingmonitor/node_modules/ble-host/lib/internal/adapter.js:844
Apr 29 18:44:52 roeimachine npm[615]: hardwareErrorCallback(hardwareCode);
Apr 29 18:44:52 roeimachine npm[615]: ^
Apr 29 18:44:52 roeimachine npm[615]: TypeError: hardwareErrorCallback is not a function
Apr 29 18:44:52 roeimachine npm[615]: at handleHardwareError (/opt/openrowingmonitor/node_modules/ble-host/lib/internal/adapter.js:844:3)
Apr 29 18:44:52 roeimachine npm[615]: at HciSocket.onData (/opt/openrowingmonitor/node_modules/ble-host/lib/internal/adapter.js:1182:31)
Apr 29 18:44:52 roeimachine npm[615]: at HciSocket.emit (node:events:519:28)
Apr 29 18:44:52 roeimachine npm[615]: at /opt/openrowingmonitor/node_modules/hci-socket/lib/hci-socket.js:105:9
Something to handle on ble-host's side, and perhaps on our side to prevent it crashing the entire app?
While rowing on EXR, ORM crashed on me mid-session. It was a weird crash as EXR didn't even attempt to reconnect. I found the following in the logs:
Something to handle on ble-host's side, and perhaps on our side to prevent it crashing the entire app?