web-device-cli
web-device-cli copied to clipboard
slow execution
Typing and executing commands on your web-cli hosted page is very slow. Is this normal behavior or am I doing something wrong ? Is it possible to run web-cli server on local machine, without internet connection?
Typing and executing commands on your web-cli hosted page is very slow. Is this normal behavior or am I doing something wrong ? Is it possible to run web-cli server on local machine, without internet connection?
Hi there,
Once the page is loaded, it should not be slow. Could you provide more details about your browser, OS and the board you are using.
It's possible to run web-cli on local machine. Just clone the repo and run python -m SimpleHTTPServer
. You'll be able to interact with the CLI through http://localhost
.
If you still have any problem, feel free to discuss here.
Thank you for your answer. I am using Google Chrome Version 75.0.3770.100 (Official Build) (64-bit) on MacOS 10.13.2, board I am using is nrf52840-mdk-usb. Strange, is it possible that other connected bluetooth devices, like mouse or keyboard can cause some kind of interference?
For python 3 users, the python command to do the local test is:
python -m http.server
@puba it is slow for me, too. I think it's because the MTU size for the BLE on my laptop is too low. I think a Nordic-to-Nordic connection would go a lot faster.
@puba try it from a Macbook (running Chrome). I find that it is noticeably faster on my macbook than it is from my Windows machine. I suspect it is because of a lower connection interval. We should modify the device firmware to spit out the connection statistics or something
@caizelin and @puba I discovered that the intel bluetooth that is built in to my lenovo laptop was my issue. I disabled that bluetooth implementation and put in a bluetooth USB dongle (the one they sell with the raspberry pi) and it works much, much better. As good as it did on the mac.