(node:30862) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 handleWrite14 listeners added to [Peripheral]. Use emitter.setMaxListeners() to increase limit
at _addListener (events.js:389:17)
at Peripheral.addListener (events.js:405:10)
at Peripheral.once (events.js:436:8)
at Peripheral.writeHandle (/home/pi/am43-ctrl/node_modules/@abandonware/noble/lib/peripheral.js:182:10)
at Peripheral.handleDeviceConnected (/home/pi/am43-ctrl/src/am43.js:198:29)
at Object.onceWrapper (events.js:421:26)
at Peripheral.emit (events.js:314:20)
at Noble.onConnect (/home/pi/am43-ctrl/node_modules/@abandonware/noble/lib/noble.js:209:16)
at NobleBindings.emit (events.js:314:20)
at NobleBindings.onLeConnComplete (/home/pi/am43-ctrl/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:224:8)
I have this running node v12.18 and v12.20, both on a rpi and with noble 1.9.2-10
Both of these devices work 75% of the time, but the above error occurs the times when it doesn't.
I have this running node v12.18 and v12.20, both on a rpi and with noble 1.9.2-10
Both of these devices work 75% of the time, but the above error occurs the times when it doesn't.