@Emil
Hi, Any news on the FW update. It is getting very frustrating to tell my users to reset all the time. Is there a workaround to restart a module on an error?
Extra info from Console output "FATAL ERROR:
uncaught: 'cannot push beyond allocated stack'
@tobias I was wondering if this method was successful as currently we are experiencing some issues with this method - we are getting an error when we try to read the action.
Forgot to say:
I installed the Flic App on the TvBox.
Beside the fact that it runs sideway (like if the TV set was a phone) when I try to add aFlic button, it ask for location permission (correctely):
"You location services are turned off.Android requires location services to be turned on to scan for Bluetooth devices."
"Please tunr on Location services and try again"
When you press to confirm it opens the OS setting for Location (correct) where, being a TvBox, there is only the choice "Use Wi-Fi to estimate location" or "off".
Chosing the first, does not solves the problem. The OS reports still that "no apps have requested location recently"
Unfortunately BlueZ which is otherwise the commonly used Bluetooth stack on Linux didn't provide the stability, features and responsiveness that we would like for Flic. That's why we made our own direct implementation. It will use one HCI device, so if you want to use Bluetooth for something else you can add an extra dongle. If you want to share one Bluetooth controller you can always implement the Flic 2 protocol yourself for your chosen Bluetooth stack, according to our protocol at https://github.com/50ButtonsEach/flic2-documentation/wiki/Flic-2-Protocol-Specification.
I have read the documentation of the 'Flic Hub SDK Tutorial'
I see that I can upload JS Modules with https://hubsdk.flic.io/
What is the best and easiest way to get the JS Modules on the hub. I would prefer to configure hub with our own IOS/Android App what are the possibilities? Can I save Module so that I can upload them to an other flic hub???
@antonio-mestre the net module implements just a raw TCP socket. The secure web socket protocol uses the Websocket protocol on top of the TLS protocol on top of the TCP protocol.
Right now our sdk unfortunately does not include modules for TLS (but we have https) nor Websocket, so you would have to implement that yourself if you want to use wss, using the net module in the bottom for TCP.