nkaminski / csrmesh

Reverse engineered bridge implementation of the CSRMesh BTLE protocol
GNU Lesser General Public License v3.0
70 stars 20 forks source link

MOVE unit does not work with any commands other than Set Position #17

Open klimbot opened 7 years ago

klimbot commented 7 years ago

Readme says that other MOVE commands should work but I'm unable to get anything other than Set Position to work. I have tried other write command such as Set Speed and Move Clockwise with no output on the MOVE unit. Gattool gives the response "Characteristic value was written successfully" but I see no clockwise movement or speed change.

kajaba commented 4 years ago

Hello everybody? I got back to my move units and now I am able to controll them pretty well (sometimes the connection failes - may be the distance is the problem). What I used: python 3 (pluepy was not well compiled - must do make again) in gatt.py chage device = btle.Peripheral(mac, addrType=btle.ADDR_TYPE_PUBLIC) to device = btle.Peripheral(mac, addrType=btle.ADDR_TYPE_RANDOM) and my device works with command: ./csrmesh-cli move --pin 851985 --dest E6:FE:E4:34:82:7C --objid 0 --position 0 [+] Connecting to device: E6:FE:E4:34:82:7C [+] Writing 0xb9b83e0080c82296afda10cc7e7a93dcd41aff to BTLE handle 0x21 [+] BTLE disconnected [+] Communication complete [+] Operation succeeded

I am controlling just one right now - later will try controll more

klimbot commented 4 years ago

Hello everybody? I got back to my move units and now I am able to controll them pretty well (sometimes the connection failes - may be the distance is the problem). What I used: python 3 (pluepy was not well compiled - must do make again) in gatt.py chage device = btle.Peripheral(mac, addrType=btle.ADDR_TYPE_PUBLIC) to device = btle.Peripheral(mac, addrType=btle.ADDR_TYPE_RANDOM) and my device works with command: ./csrmesh-cli move --pin 851985 --dest E6:FE:E4:34:82:7C --objid 0 --position 0 [+] Connecting to device: E6:FE:E4:34:82:7C [+] Writing 0xb9b83e0080c82296afda10cc7e7a93dcd41aff to BTLE handle 0x21 [+] BTLE disconnected [+] Communication complete [+] Operation succeeded

I am controlling just one right now - later will try controll more

Awesome, I was thinking about coming back to these too, was wondering how progress was going.

It's this with the original firmware or the latest firmware??

kajaba commented 4 years ago

As soon as the latest (I think 2nd firmware update) was released I updated to to the latest firmware

rhannink commented 2 years ago

Hallo,

For the latest firmware for the Teptron move units, which version/branch of the crsmesh software do I need? The master or the experimental branch? I read somewhere that the experimental branch was working, but the master branch seems more recent.

Gr. Remco