bitfocus / companion-module-fora-hvs

MIT License
1 stars 5 forks source link

Support for Event Recall on HVS-2000 #8

Open MichaelAllen opened 4 years ago

MichaelAllen commented 4 years ago

Originally posted by @Fader-Monkey in https://github.com/bitfocus/companion-module-fora-hvs/issues/1#issuecomment-654479406

ok here are network logs of event recalls. there are different types of events. global and local. the part after "event id"= is the recall scope. using the "GET.EVENT" will return the stored recall scope

here are the logs for global events. 10.30.0.42 events global.har.zip

here are logs for local events (specifically ME2) 10.30.0.42 events local me2.har.zip

example code looks like: send GET.ME2_EVENT_FLAG:4 (select event) receive. SET.ME2_EVENT_FLAG:4=0000 0FFF 0000 0000 0000 0000 0000 0000 0000 0C00 0000 0000 0000 0000 00F0 0000 0000

send SET.ME2_RECALL:4=0 0000 0FFF 0000 0000 0000 0000 0000 0000 0000 0C00 0000 0000 0000 0000 00F0 0000 0000 (recall event) Receive SET.ME2_EVENT_LASTRECALL_NO:4

or for global: send GET.EVENT_FLAG:5 receive SET.EVENT_FLAG:5=0FFF 0FFF 0000 0000 0000 0000 0000 0000 0000 0F00 0000 0000 0000 0000 00FF 0000 0000

send SET.RECALL:5=0 0FFF 0FFF 0000 0000 0000 0000 0000 0000 0000 0F00 0000 0000 0000 0000 00FF 0000 0000 receive SET.EVENT_LASTRECALL_NO:5