Jump to content

DogMan

Eurobricks New Members
  • Posts

    4
  • Joined

  • Last visited

About DogMan

Spam Prevention

  • What is favorite LEGO theme? (we need this info to prevent spam)
    Technics
  • Which LEGO set did you recently purchase or build?
    42099 4x4 off roader

Profile Information

  • Gender
    Male
  • Interests
    Technics, robotics

Extra

  • Country
    UK

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. It’s definitely Monterey causing the problem…. I tested out a few things on my wife’s MacBook Air, which is still running Big Sur, and everything works every time. I have found an apparent workaround for Monterey…. in a terminal window, type ‘sudo pkill bluetoothd’ and then the admin password when requested. this kills the extant bluetooth process and forces it to be reloaded. This seems to get around the connection problem, which looks like it might get fixed in the next release of Monterey (12.3, I think).
  2. Has anyone encountered issues establishing Bluetooth connections to Spike Prime or RI5 Hubs with third party tools or via Python’s ‘PySerial’ module? Python programs appear to connect to the /dev/cu.xxxxxxx and/or /dev/tty.xxxxxx devices whether Mac side bluetooth is turned on or not (they don’t throw exceptions etc.) but rarely establish a working connection, even though it always seems to think it has successfully opened a connection. I think I have managed to send messages via serial.write() just once. I also have a very useful app called ‘Serial’ which is a powerful Mac terminal emulator. I have managed to establish a working bluetooth connection to a hub with this just once - and then successfully got into the hub repl. Since that occasion, I get a blank terminal window and no active connection. This is interesting as ‘Serial’ can usually connect to anything with any kind of serial port. I get the same issue using the MacOS ‘screen’ command from a Mac ‘Terminal’ app window - it just stays blank. I can establish a USB connection every time with both the ‘Serial’ app and via python programs using the PySerial module. There’s something about how Bluetooth is (not) working - possibly just in Monterey. I have looked at old videos on YouTube such as Anton’s Mindstorms Hacks where he uses the ‘screen’ command to open a repl prompt over a Bluetooth connection, but if I replicate the steps he uses, the connection doesn’t establish. He was using the Mavericks version of MacOS at the time, and I’m pretty sure I had this working back last year after following his video. The Mindstorms app seems to be able to connect OK, but it can take a couple of attempts to establish the BT connection. I get this behaviour with two different Hubs, so I don’t think it a hub-side issue. Anyone got any suggestions?
  3. Hi David thanks for the swift response. I had renamed my hub - several times, in fact, but the Bluetooth ID continued to show as the MAC address. I had been using my iPad to play around with this, so had a go with my MacBook. When I double clicked on the hub address in the Bluetooth setting dialogue, hey presto,- it replaced the MAC address ID with the name I had used for the hub. so - not sure if it’s an iPad thing, or what, but I managed to get it to change via the above method. thx DogMan
  4. I thought I read somewhere that you can set the Bluetooth ID of the 51515/Spike hub somewhere - is that correct. if you had more than one hub and they were both turned on how would you easily tell which one was which? Surely you don’t have to remember the MAC address of each hub you have so you can connect to the one you want to?
×
×
  • Create New...