intiface / intiface-desktop

DEPRECATED - USE INTIFACE CENTRAL - Desktop GUI App for Intiface Service Usage
https://intiface.com/central
Other
56 stars 7 forks source link

Wrong protocol for Magic Motion Cell device #181

Closed TIMONz1535 closed 2 years ago

TIMONz1535 commented 2 years ago

I found that Magic Motion device (identifier Magic Cell) determined as "Satisfyer" device. That's why it doesn't work...

{"logType":"buttplug","location":"N","level":"info","message":"Scanning Status (Only shown on first scan)","timestamp":"2022-09-24T13:43:58.261Z"}
{"logType":"buttplug","location":"N","level":"info","message":"BtlePlugCommunicationManager: true","timestamp":"2022-09-24T13:43:58.261Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Device PeripheralId(18:45:16:AB:BF:81) has no user configuration entry.","timestamp":"2022-09-24T13:43:58.283Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Found protocol \"satisfyer\" for specifier BluetoothLE(BluetoothLESpecifier { names: {\"\"}, advertised_services: {0000180a-0000-1000-8000-00805f9b34fb}, services: {} }).","timestamp":"2022-09-24T13:43:58.284Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Device PeripheralId(18:45:16:AB:BF:81) currently trying to connect, ignoring new device event.","timestamp":"2022-09-24T13:43:58.285Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Found Buttplug Device ","timestamp":"2022-09-24T13:44:02.764Z"}
{"logType":"buttplug","location":"N","level":"error","message":"Device errored while trying to connect: Device does not have endpoint command","timestamp":"2022-09-24T13:44:02.937Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Satisfyer Device Identifier: [1, 2, 0, 16] 16908304","timestamp":"2022-09-24T13:44:02.937Z"}

I found lines with 0000180a-0000-1000-8000-00805f9b34fb in buttplug-device-config.json

изображение

if you delete these lines, then everything will start working

{"logType":"buttplug","location":"N","level":"info","message":"Scanning Status (Only shown on first scan)","timestamp":"2022-09-24T13:46:31.968Z"}
{"logType":"buttplug","location":"N","level":"info","message":"BtlePlugCommunicationManager: true","timestamp":"2022-09-24T13:46:31.969Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Device PeripheralId(18:45:16:AB:BF:81) has no user configuration entry.","timestamp":"2022-09-24T13:46:31.995Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Device PeripheralId(18:45:16:AB:BF:81) has no user configuration entry.","timestamp":"2022-09-24T13:46:31.996Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Found protocol \"magic-motion-1\" for specifier BluetoothLE(BluetoothLESpecifier { names: {\"Magic Cell\"}, advertised_services: {0000180a-0000-1000-8000-00805f9b34fb}, services: {} }).","timestamp":"2022-09-24T13:46:31.997Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Found Buttplug Device Magic Cell","timestamp":"2022-09-24T13:46:36.608Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Device map does not contain key 0.","timestamp":"2022-09-24T13:46:36.608Z"}
{"logType":"buttplug","location":"N","level":"info","message":"Assigning index 0 to MagicMotion Dante/Candy/Rise","timestamp":"2022-09-24T13:46:36.608Z"}
{"logType":"backend","location":"N","message":"Device Connected: MagicMotion Dante/Candy/Rise","level":"info","timestamp":"2022-09-24T13:46:36.608Z"}
{"logType":"process","location":"N","message":"Process Log: {\"timestamp\":\"2022-09-24T13:46:36.608329Z\",\"level\":\"INFO\",\"fields\":{\"message\":\"Device Added: 0 - MagicMotion Dante/Candy/Rise\",\"log.target\":\"intiface_cli\",\"log.module_path\":\"intiface_cli\",\"log.file\":\"src\\\\main.rs\",\"log.line\":162},\"target\":\"intiface_cli\"}\n","level":"info","timestamp":"2022-09-24T13:46:36.609Z"}
qdot commented 2 years ago

This is a bug in Buttplug, specifically this one. https://github.com/buttplugio/buttplug/issues/426

It's fixed in the newest version of the library, which just needs to be released for Intiface. This will be happening soon.