1

Topic: HC-06 connection timeout

Hi and thanks to all.

For application pourpose  I need to use a ARDUINO Function,
developed by me "RUN_STEP()".

This because I need to call repetitive activations for a step motor,
due long duration of this fuction  (over 30 sec, depending from steps number I need to run...) ,
RemoteXY Bluethoot Connection is closed aprox after 29 Sec. after Function was called.

May be  there is a Timeout somewhere in the library,
Someone of you know where I can change this Timeout Parameter in the Library ?
Thanks again.

Valerio

2

Re: HC-06 connection timeout

Hello, don't use delay() or other blocking code in your function.

3

Re: HC-06 connection timeout

There are no delay or blocking code in "loop()" ,
anyway I have solved with insertion of" RemoteXY_Handler ()" inside my "RUN_STEP()" function.