Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slow execution #1

Open
puba opened this issue Jul 2, 2019 · 6 comments
Open

slow execution #1

puba opened this issue Jul 2, 2019 · 6 comments

Comments

@puba
Copy link

puba commented Jul 2, 2019

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?

@caizelin
Copy link
Member

caizelin commented Jul 4, 2019

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.

@puba
Copy link
Author

puba commented Jul 4, 2019

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?

@kbrafford
Copy link

For python 3 users, the python command to do the local test is:

python -m http.server

@kbrafford
Copy link

@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.

@kbrafford
Copy link

@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

@kbrafford
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants