Open jdpigeon opened 5 years ago
Add handling for devices that don't return with a name:
mergeMap(deviceInfo => { if (deviceInfo) { return of( setDeviceType( deviceInfo.name.includes('Muse') ? DEVICES.MUSE : DEVICES.EMOTIV ), setDeviceInfo(deviceInfo), setConnectionStatus(CONNECTION_STATUS.CONNECTED) ); } return of(setConnectionStatus(CONNECTION_STATUS.DISCONNECTED)); }) );
@jdpigeon do you know if this issue is still open?
Add handling for devices that don't return with a name: