Replies: 1 comment 1 reply
|
Hi Mike, I haven't tested this on ESP32-based boards, no. All the bluetooth boards we sell are nRF52-based. Someone asked about this before as well and there is some info on espruino/EspruinoDocs#727 and https://github.com/orgs/espruino/discussions/7689 There are potentially two main issues:
Maybe you could try this? If the mouldking module changes the pattern of flashing it might be a sign it's going to work with the current protocol. This is the raw advertising data that the mouldking module would have sent. If that works you should be able to 'fix' setAdvertising with something like: I haven't tested it, but I think something like that'll do it. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello I am trying to get the mould king module written by Gordon to connect to my non lego hubs. . The hubs were supplied in a MK construction set but I am not sure what model they are. I have been seeking assistance from chatgpt and it has asked me to ask the following question:
The questions I'd ask Gordon Williams are:
"I am running Espruino 2v29 on an ESP32-C3 Super Mini. The mouldking module loads correctly and Object.keys() shows start, set and get_nrf_payload, but lego.start() does not appear to change the BLE advertisement and genuine Mould King M-0006 hubs do not respond. Has the module been tested on ESP32-C3, or only on nRF52 boards?"
That's a very focused question, and I suspect he'd know immediately whether it's a firmware compatibility issue or a protocol issue.
Thanks for your assistance
Mike
All reactions