• I actually send

    connection.write("NRF.on('disconnect', function() { reset(); });"); 
    

    when the app initially connects to the puck, but when watching the IDE it doesn't ever seem to run. I updated the NRF.disconnect() to the resetPuck function, but on testing it doesn't seem to do much either. But I could be missing something. ;-) I don't think it's a major issue, but my biggest concern is to prevent the puck from continuously running the code/send data and burn the battery. I assume calling reset() is enough to terminate most CPU and radio activity.

About

Avatar for cmenscher @cmenscher started