Commit Graph

50 Commits (ae25ed327aa4247093253c9ee989369f27e23921)

Author SHA1 Message Date
Glenn Maynard baf9b47fe9 Add an internal API to assign serial numbers. 5 years ago
Glenn Maynard 672541015f Add SMX_SetOnlySendLightsOnChange for smx-panel-test. 5 years ago
Glenn Maynard 69b2239922 Refactor SMXManager::SendLightUpdates to queue multiple lights commands if possible. 5 years ago
Glenn Maynard c53c3d45c6 Make sure we don't send lights commands before we have a config packet, and adjust the V3 command timing. 5 years ago
Glenn Maynard b1f675c56c Add config packet backwards-compatibility. 6 years ago
Glenn Maynard 6cc979b1dc Implement the V5 config packet. 6 years ago
Glenn Maynard c4eb3a548c Log when we don't see data from a panel. 6 years ago
Glenn Maynard f858e25434 Reenable bbadSensorInput (unintentionally disabled while testing). 6 years ago
Glenn Maynard 1b01f53796 Add an option to enable or disable lighting on panels with no sensors. 6 years ago
Glenn Maynard 5556d4fd65 Fix bad Color::operator== causing GIF frames to be merged incorrectly. 6 years ago
Glenn Maynard af82a1e423 Remove the reset command on startup (just causes flicker). 6 years ago
Glenn Maynard ec061d4223 Refactor uploading animations to allow uploading automatically instead of having a separate upload button, and iron out some inconsistencies. 6 years ago
Glenn Maynard d38307d3bc Fix GIF loop frames. 6 years ago
Glenn Maynard ce261c1ecb Add internal support for panel test modes, and rename "test mode" to "sensor test mode" to make the distinction clearer. 6 years ago
Glenn Maynard 63e76f29cc Use opaque white instead of just opaque for the marker pixel, so transparent GIFs aren't needed when markers aren't being used. 6 years ago
Glenn Maynard 501b297c8f Rename iBadSensorDIP -> iBadJumper. 6 years ago
Glenn Maynard bf9b8b185c Coalesce identical GIF frames on load. 6 years ago
Glenn Maynard 6d370ee092 Show a warning if an incorrect sensor DIP switch is detected. 6 years ago
Glenn Maynard 681c7adfef Fix up calculating animation frame counts. 6 years ago
Glenn Maynard a202063287 Truncate the config packet for firmware that doesn't need all of it. 6 years ago
Glenn Maynard cc07e07649 Fix auto-lighting not reactivating quickly. 6 years ago
Glenn Maynard 9167c9e0ed Use GetOverlappedResult instead of GetOverlappedResultEx for Windows 7. 6 years ago
Glenn Maynard 88052ee318 Updates to graphic upload handling. 6 years ago
Glenn Maynard 849fd7a975 Simplify overlapped I/O handling, and add a command timeout. 6 years ago
Glenn Maynard 48c75ba224 Pass the packet response to completion callbacks. 6 years ago
Glenn Maynard 879df7152c Fix m_bSendingConfig not being reset on close. 6 years ago
Glenn Maynard aba274603c Set LIGHTS_PER_PANEL to 25. 6 years ago
Glenn Maynard 3d5be3017b Add support for 25 light panels (SDK side). 6 years ago
Glenn Maynard 55443cccb8 Add SMX_SetLights2 to specify the buffer size explicitly. 6 years ago
Glenn Maynard 5e1068d565 Fix config updates when updating quickly. 6 years ago
Glenn Maynard f4e60ef2e0 Clarify comment. 6 years ago
Glenn Maynard cb7feb626e Separate out scaleLight. 6 years ago
Glenn Maynard cf02b97fe6 Rename m_aPendingCommands -> m_aPendingLightsCommands. 6 years ago
Glenn Maynard 39cfc8cee0 Add support for uploading animations to the panel, if it supports it. 6 years ago
Glenn Maynard 0b3202ccff Handle 25-light panel animations in SMXPanelAnimation. 6 years ago
Glenn Maynard 880774f9e4 Make sure we call the callback from SendCommandLocked if the device isn't connected and we're not queueing the command. 6 years ago
Glenn Maynard 4691ce5ecf If commands are buffered and not sent when the device is disconnected, call any completion callbacks. 6 years ago
Glenn Maynard 135e3c5401 Add a UI to set panel animations. 6 years ago
Glenn Maynard 2628c078fa Add SMXPanelAnimation. 6 years ago
Glenn Maynard 303283624a Add SMX_SetLights2. 6 years ago
Glenn Maynard d576545266 Split out low-level thread handling into SMXThread, and use it in SMXHelperThread. 6 years ago
Glenn Maynard a7cb6ad51d Replace SMXHelperThread::GetThreadId() with SMXHelperThread::IsCurrentThread(). 6 years ago
Glenn Maynard 2c07942478 Move the SMXManager from SMX to SMXManager. 6 years ago
Glenn Maynard 65f4a7102c Check for out of sequence PACKET_FLAG_START_OF_COMMAND. 6 years ago
Glenn Maynard e57fa5d28e Add a version display based on the git tag. 7 years ago
Glenn Maynard 8ea8070d51 Some disabled logs for testing (disabled because they're noisy). 7 years ago
Glenn Maynard 78d6be9341 Fix up ssprintf. 7 years ago
Glenn Maynard 9b6eb07e0b Add more logs for device connections. 7 years ago
Glenn Maynard eb84ffe29d Fix SMX_GetConfig not returning a result. 7 years ago
Glenn Maynard 57379383c0 Import for release. 7 years ago