ANT Stick in MAC Simulator

I'm sure this has been asked, but I cannot find in the forums.
Is there Mac(Mojave) directions to attach an ANT Stick for use with the IQ Simulator?

There are instructions for linux in the guide but no Mac

this is what the Mac sees.
ANT USBStick2:
Product ID: 0x1008
Vendor ID: 0x0fcf (Dynastream Innovations Inc.)
Version: 1.00
Serial Number: 123
Speed: Up to 12 Mb/sec
Manufacturer: Dynastream Innovations
Location ID: 0x14600000 / 21
Current Available (mA): 500
Current Required (mA): 100
Extra Operating Current (mA): 0



thanks
Brian.
  • With Windows, there really wasn't any setup. Just plug in the ant stick and run an app that does ANT. If I recall, you had to restart the sim for it to be used.
  • where do you see this in the Mac after you plug in the stik? I bought one but I think it's a fake/dummy, 'cause I don't see anything in the mac after plugging it in.

  • On windows, if you start the sim from the command line, you see the info.  If you run an app in the sim that uses ant, what happens?  What so you see if in the sim, you do settings>manage ant+ sensors?

  • of course an empty window, exactly like when I don't have the USB stick connected. How would the sim be able to detect a HW that the OS is not detecting?

  • With the ANT stick plugged in, I see this on windows:

    C:\Users\James\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-4.1.3-2022-05-10-b3aaee541\bin>simulator

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    Received version response

    Sent version request

    ANT USB 0 connected

    Without the ANT stick, this:

    C:\Users\James\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-4.1.3-2022-05-10-b3aaee541\bin>simulator

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    ->message processor init on channel 0

    Unable to connect to an ANT device; no devices available

    Unable to connect to an ANT device; no devices available

  • just as I  thought: I only see "Unable to connect to an ANT device; no devices available" also when the stick is plugged in. I'll need to get refunded for this stick... :(

  • If you want to convince yourself it's a dud, try using the command "sudo dmesg" in the terminal immediately after you plug in the stick, which prints kernel messages to the console. You can also try "sudo dmesg | grep USB" (which works for me when I plug in a USB flash drive.)

    Note that dmesg only shows the last 100 messages or so, so timing is important.

    I haven't found a good way to follow the dmesg output in Mac OS, since it doesn't support the "-c" or "-f" options. ("watch ..." kind of works, but you can't scroll back to earlier output)

  • yeah, nothing, not even 1 additional line in dmesg. I guess if there was I would've seen it in lsusb as well. Unfortunately this is another garbage from aliexpress :(

  • Good call on lsusb (although it's not built-in). For the benefit of anyone else reading this thread, System Information.App > Hardware > USB would also work.

  • ioreg -p IOUSB -l -w 0


    this is the output

      | +-o ANT USBStick2@00100000  <class IOUSBHostDevice, id 0x10005f8aa, registered, matched, active, busy 0 (25 ms), retain 30>

      |     {

      |       "sessionID" = 15543841839828

      |       "USBSpeed" = 1

      |       "idProduct" = 4104

      |       "iManufacturer" = 1

      |       "bDeviceClass" = 0

      |       "IOPowerManagement" = {"PowerOverrideOn"=Yes,"DevicePowerState"=2,"CurrentPowerState"=2,"CapabilityFlags"=32768,"MaxPowerState"=2,"DriverPowerState"=0}

      |       "bcdDevice" = 256

      |       "bMaxPacketSize0" = 32

      |       "iProduct" = 2

      |       "iSerialNumber" = 3

      |       "bNumConfigurations" = 1

      |       "UsbDeviceSignature" = <cf0f08100001313233000000ff0000>

      |       "USB Product Name" = "ANT USBStick2"

      |       "locationID" = 1048576

      |       "bDeviceSubClass" = 0

      |       "bcdUSB" = 512

      |       "kUSBSerialNumberString" = "123"

      |       "USB Address" = 1

      |       "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBHostFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}

      |       "kUSBCurrentConfiguration" = 1

      |       "bDeviceProtocol" = 0

      |       "USBPortType" = 0

      |       "IOServiceDEXTEntitlements" = (("com.apple.developer.driverkit.transport.usb"))

      |       "USB Vendor Name" = "Dynastream Innovations"

      |       "Device Speed" = 1

      |       "idVendor" = 4047

      |       "kUSBProductString" = "ANT USBStick2"

      |       "USB Serial Number" = "123"

      |       "IOGeneralInterest" = "IOCommand is not serializable"

      |       "kUSBAddress" = 1

      |       "kUSBVendorString" = "Dynastream Innovations"