-
-
I've seen this in the web IDE and the Node library; I seem to be able to connect to the puck and run expressions (the expression does execute), but I do not get any information back until the puck, or the machine talking to the puck is restarted.
Anyway to avoid this? At the moment I think my only recourse it to call load() on the puck when I'm not getting any data from it.
-
-
Thanks you very much for your clearly well considered answers!
The MDBT42 module sounds great, what functionality might it have out of the box?
Setting the name to blank works perfectly well for my purposes.
Final question (I promise): From this answer I can see that it's possible to hook a wifi module into the puck, but it would have different power requirements. IRC, the highest sensible voltage for the puck would 3.7v. If I used something like this to power the puck + wifi module, would that be sufficient? Would the Puck still be able to sense its battery cap?
Apologies if I'm rambling. These questions are coming to me as I type.
-
Hi, hopefully this isn't question overload:
- Is is permissible to use a puck/pico in a commercial product as long as I mention that it uses it?
- Is it possible to change a Puck's bluetooth broadcasting name to an arbitrary string?
- Is it possible to prevent the puck from broadcasting its name, but allow connections using its MAC/Name/ whatever?
- What is the range on a Puck?
- For question 1 + 2, if they can't be done on a puck, could the be done with a Pico using a bluetooth shim+MC?
- Would a pico with bluetooth have a longer range?
I've got a project in mind that is slowly crystallising, but I want to understand limitations before I dive in.
- Is is permissible to use a puck/pico in a commercial product as long as I mention that it uses it?
-
-
-
-
-
-
My mistake, I've actually got Bluez 5.43 not 41.
I managed to get the local Web IDE working with bluetooth so I'm happy now making my puck randomly flash colours until I've gotten up to sped with the API. Many thanks for your help.
An issue I did notice when trying to manually install the web-ide through NPM is that it first complained that it couldn't find node, so I used apt-get nodejs-legacy (I had node installed), then it complained that it couldn't find the module "nw". Installing that (sudo npm install nw -g) did fix the issue, maybe worth adding that to the guide on the git readme
-
My guess is that the Puck thinks its connected to My laptop, but the laptop doesn't?
Edit: I've tried manually closing the bluetooth daemon and starting it with the E flag, and that got the puck to show up again without the need for a reboot. However, that showed the puck in the list, and said that it was already paired with the laptop.
Clearly there's something up with how these things are talking to each other...
-
Hi all, hoping for some help so I can get cracking on some preojects.
Having an issue connecting to my puck via chrome:
- I open the web IDE
- I click connect and choose Web bluetooth
- My puck shows, and I can attempt to connect.
- That fails. Console says "Connection failed for unknown reason"
- The puck will now not show up in the list of bluetooth devices I can connect to through the site until I reboot my machine. Rebooting the BT service alone does nothing.
The puck works fine on my android tablet, but obviously I'd rather code on something a bit more friendly.
Any ideas?
- I open the web IDE
Hi Gordon
You mentioned in a previous thread about potentially selling the the MDBT42 and breakout. If you did decide to sell that, how long would it be until that was available, and how much might they cost individually?
I'm asking because I have potentially a big project on the horizon and the MDBT42 would be perfect for it, but until I've finished prototyping, I doubt I'd need to order enough that I could buy direct.
Log course having the espruino env on the MDBT42 would make the project even easier too.