@@ -218,14 +218,17 @@ static uint8_t vive_magic_power_off[] = {
218
218
static uint8_t vive_magic_raw_mode_1 [] = {VIVE_REPORT_CHANGE_MODE , 0x01 , 0x00 , 0x00 , 0x00 };
219
219
static uint8_t vive_request_version_info [] = {VIVE_REPORT_VERSION };
220
220
221
- static uint8_t vive_magic_rf_raw_mode_0 [] = {
221
+ // Windows needs 64 size for the wireless dongle
222
+ static uint8_t vive_magic_rf_raw_mode_0 [64 ] = {
222
223
VIVE_REPORT_COMMAND , VIVE_COMMAND_CHANGE_PROTOCOL , 0x6 , 0x01 , 0x00 , 0x00 , 0x02 , 0x00 , 0x00 };
223
224
static uint8_t vive_magic_rf_raw_mode_1 [] = {
224
225
VIVE_REPORT_COMMAND , VIVE_COMMAND_CHANGE_PROTOCOL , 0x6 , 0x01 , 0x01 , 0x00 , 0x02 , 0x00 , 0x00 };
225
- static uint8_t vive_magic_protocol_switch [] = {
226
+ // Windows needs 64 size for the wireless dongle
227
+ static uint8_t vive_magic_protocol_switch [64 ] = {
226
228
VIVE_REPORT_COMMAND , VIVE_COMMAND_CHANGE_PROTOCOL , 0x3 , 0x00 , 0x01 , 0x00 };
227
229
static uint8_t vive_request_pairing [] = {VIVE_REPORT_COMMAND , VIVE_COMMAND_PAIR , 0x03 , 0x01 , 0x10 , 0x27 };
228
- static uint8_t vive_magic_protocol_super_magic [] = {VIVE_REPORT_COMMAND ,
230
+ // Windows needs 64 size for the wireless dongle
231
+ static uint8_t vive_magic_protocol_super_magic [64 ] = {VIVE_REPORT_COMMAND ,
229
232
VIVE_COMMAND_CONFIGURE_RADIO ,
230
233
0x10 ,
231
234
0xbe ,
0 commit comments