You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Board: NodeMCU
Core Installation/update date: ~8/03/2018
IDE name: Arduino IDE
Description:
Hi! First of all, thank you very much for this awesome library :)
Not sure if this is an issue or a desired behavior, but when calling the read function of the BluetoothSerial Object, it is returning me 1073493200, whereas the regular serial function for the UART is returning -1 (as expected).
The weird part is that looking at the source code there is an explicit return of zero when the FreeRTOS queue is empty. Am I missing some cast or something? I think not because the return type is int and it is explicitly returning zero, which makes the behavior weird.
Anyway, shouldn't it be returning -1, to be consistent with the Hardware Serial implementation?
Hardware:
Board: NodeMCU
Core Installation/update date: ~8/03/2018
IDE name: Arduino IDE
Description:
Hi! First of all, thank you very much for this awesome library :)
Not sure if this is an issue or a desired behavior, but when calling the read function of the BluetoothSerial Object, it is returning me 1073493200, whereas the regular serial function for the UART is returning -1 (as expected).
The weird part is that looking at the source code there is an explicit return of zero when the FreeRTOS queue is empty. Am I missing some cast or something? I think not because the return type is int and it is explicitly returning zero, which makes the behavior weird.
Anyway, shouldn't it be returning -1, to be consistent with the Hardware Serial implementation?
Best regards,
Nuno Santos
Sketch:
The text was updated successfully, but these errors were encountered: