jstevensog/wixel-sdk

Never sleep xbridge

JimZam opened this issue · 8 comments

Good morning from Spain. My xbridge works fine for a while and suddenly starts to lose readings and there is no way to make it work (I have to "forget device", reboot xbridge, and restart all the "bluetooth scan" process again and, If I'm lucky, it works again)
I've been reading several old post and they talk about a "never sleep" mode to prevent the xbridge from sleeping and this way keep the bluetooth up and running (I tried with B option in Wixel command line but it doesn't seem to work. I don't know if the bluetooth module is a jnhuamao original but I updated it to the last firmware version from its page, HM10-v603). Is it possible to post a xbridge2.wml that is always on (as the xdrip)? Or tell me the files I have to change and I can compile it. Can I install xdrip firmware in xbridge?
Thank you so much for your help
Kind regards

Hello Jonh. Thank you for your help and quick reply and for sharing your work with us. I'm happy you enjoyed your trip to Spain, quite a long travel from Australia...
Yes, I tried B command and the xbridge is always connected but keeps on loosing data. I have problems even connecting for the first time, waiting for the first three readiness, xbridge misses readings quite often. I installed xdrip firmware and it doesn't work... I'm using an xdrip now and probably will remove the resistors to convert the xbridge in a xdrip.
I have found a xbridge3.wxl from 2015, I think. Shall I give it a try?
Thank you again
Kind regards

Thank you again, John. Yes, I have a working xDrip and a probably faulty xBridge. I'll try to make it work or turn the xDrip in a xBridge.
Regards

Hello. I found an old post (yes, again...):
#27
A gay with the same problem said xbridge2.wml version 2.47d worked fine for him but 2.47e didn't. You posted 2.47f and asked him to try it (this was the last post). I've tried 2.47d and it works, 2.47f (or 2.47e, the one in the master branch) and it doesn't, looses all the packages and has problems to connect. In the post you said 2.47e should work the same as 2.47d because it has only a few improves, but at least for me it doesn't.
Just to let you know, I hope it can help.
Thank you so much for your help, your work and for sharing it with us.
Kind regards