7 years, 8 months ago.

Is it possible to use wifly and rtos library simultaniously?

I want to make my m3pi robot move following line also it is nessesary to control it through wifi interface. Robot starts to move, then wifly module connects to socket and both threads terminate. I don't know why. May be some problems with libraries. I'm using WiflyInterface and rtos-mbed libraries. Any help would be gratefull. Thank you.

1 Answer

7 years, 8 months ago.

yes it is possible. You need to do a small modification to the wifly class. The problem is that the rx interrupt flag is not reset properly so that the interrupt will be called continuously. I have published a fork of that library which implements this fix. However the fix I implemented currently works only for one uart (3). It is very easy to modify it for use with wifly on other uarts.

Accepted Answer