devices: - identifier: name: "YXlinksSPP" expected_name: "Fredorch Device" device_init: # Initialization - !Commands device_index: 0 commands: - !Subscribe endpoint: rx - !Events device_index: 0 events: - !Notifications - endpoint: rx data: [0x00, 0x01, 0x00, 0x01, 0x01] - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0x01, 0x06, 0x00, 0x64, 0x00, 0x01, 0x09, 0xd5] write_with_response: false - !Events device_index: 0 events: - !Notifications - endpoint: rx data: [0x01, 0x06, 0x00, 0x64, 0x00, 0x01, 0x09, 0xd5] - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0x01, 0x06, 0x00, 0x69, 0x00, 0x00, 0x59, 0xd6] write_with_response: false - !Events device_index: 0 events: - !Notifications - endpoint: rx data: [0x01, 0x06, 0x00, 0x69, 0x00, 0x00, 0x59, 0xd6] - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0x01, 0x10, 0x00, 0x6b, 0x00, 0x05, 0x0a, 0x00, 0x05, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xc0, 0xc3] write_with_response: false - !Events device_index: 0 events: - !Notifications - endpoint: rx data: [0x01, 0x10, 0x00, 0x6b, 0x00, 0x05, 0x0a, 0x00, 0x05, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xc0, 0xc3] - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0x01, 0x06, 0x00, 0x69, 0x00, 0x01, 0x98, 0x16] write_with_response: false - !Events device_index: 0 events: - !Notifications - endpoint: rx data: [0x01, 0x06, 0x00, 0x69, 0x00, 0x01, 0x98, 0x16] - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0x01, 0x06, 0x00, 0x6a, 0x00, 0x01, 0x68, 0x16] write_with_response: false - !Events device_index: 0 events: - !Notifications - endpoint: rx data: [0x01, 0x06, 0x00, 0x6a, 0x00, 0x01, 0x68, 0x16] device_commands: # Commands # # TODO How do we send FleshlightLaunchFW12Cmd?! - !Messages device_index: 0 messages: - !Linear - Index: 0 Position: 0.51 Duration: 200 - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0x01, 0x10, 0x00, 0x6b, 0x00, 0x05, 0x0a, 0x00, 0x07, 0x00, 0x07, 0x00, 0x4b, 0x00, 0x4b, 0x00, 0x01, 0x2e, 0x7b] write_with_response: false - !Messages device_index: 0 messages: - !Linear - Index: 0 Position: 1.0 Duration: 50 - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0x01, 0x10, 0x00, 0x6b, 0x00, 0x05, 0x0a, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0x96, 0x00, 0x96, 0x00, 0x01, 0xbc, 0x52] write_with_response: false