I’m trying to make a minidrone night take off using python. I’m looking for the minimal set of BLE instructions to make that happen.
I got the node.js controller working and based on the keyboard example I’m trying to reverse engineer a simple take off sequence.
This is what I have so far
- Scan for the drone: OK
- Connect to the drone: OK
- Read out the drone name: OK (but I suppose this is optional)
- Send commands to take off: FAIL
I try to send the following commands to characteristic 9a66fa0b-0800-9191-11e4-012d1540cb8e
"Set Time Out" [0x04, 0x01, 0x00, 0x04, 0x01, 0x00, 0x32, 0x30, 0x31, 0x34, 0x2D, 0x31, 0x30, 0x2D, 0x32, 0x38, 0x00]
“Flat trim” [0x02, 0x02, 0x02, 0x00, 0x00, 0x00]
“Take Off” [0x02, 0x03, 0x02, 0x00, 0x01, 0x00]
I think I’m missing something
If anyone could provide the minimal set of commands to launch the drone in the air that would be great
Or maybe the short list of commands for take off in gatttool?
Thanks for your time!