• Hi,

    I am using a RAK8212 and want to implement a simple interactive text menu.
    I am connected via BLE.

    The text menu could look like this:

    Please enter you choice:
    
    1 Do this
    2 Do that
    
    You choice>
    

    Bluetooth.read(1) returns immediately.
    Bluetooth.on('data', function() {...}) also doesn't work, as the application has no such a thing as a event loop that runs all the time.

    Any ideas how to create a interactive text menu in the console?

About

Avatar for wklenk @wklenk started