Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JVC D-ILA Driver
#21
It looks like maybe the driver is trying to connect in the poll callback or something? Or that might be a typo and the messages is really from the GetCommResource()? If so, then perhaps FreeCommResource isn't closing the socket?
Dean Roddey
Explorans limites defectum
Reply
#22
It's a matter of conflicting documentation. One document says that you have to reconnect after every command if more than 5 seconds have elapsed, the other does not. I'll et a new drop out on Saturday or Sunday to test the 'connect once' version.
Mark Stega
Reply
#23
So here is version 2.23

I've set it up to start with forced file verbosity so no need to touch that field.

This one does the single IP connection and then proceeds.

Import this driver pack and then reconfigure.

After a few moments try to set power to on then stop the driver and post the opening trace from the log file.
Mark Stega
Reply
#24
(12-15-2019, 08:51 AM)Mark Stega Wrote: So here is version 2.23

I've set it up to start with forced file verbosity so no need to touch that field.

This one does the single IP connection and then proceeds.

Import this driver pack and then reconfigure.

After a few moments try to set power to on then stop the driver and post the opening trace from the log file.

Did you forget to attach the file?  Don't see it.
Reply
#25
Arghh, I browsed to the file and then forgot to hit 'Save'... Here it is.


Attached Files
.cqcdrvpack   JVC-RSn-V2-IP-Dev-223.CQCDrvPack (Size: 28.41 KB / Downloads: 1)
Mark Stega
Reply
#26
(12-16-2019, 04:50 AM)Mark Stega Wrote: Arghh, I browsed to the file and then forgot to hit 'Save'... Here it is.

Below was the result. 


2019-12-16 13:09:47.771 [F] JVC.DLA-RSn-IP-Dev.JVC-NX7.V2.23 Initialization
2019-12-16 13:09:47.771 [L] m_Power is False, PowerState=''
2019-12-16 13:09:47.776 [M] Sending: Get PowerState
2019-12-16 13:09:47.776 [L] Sending:?<89><01>PW<LF>
2019-12-16 13:09:52.796 [L] m_Power is False, PowerState=''
2019-12-16 13:09:52.796 [M] Sending: Get PowerState
2019-12-16 13:09:52.801 [L] Sending:?<89><01>PW<LF>
Reply
#27
Here is a capture (I reformatted for readability) of what I did via 3rd party terminal software. May be useful to you, or maybe not. With these commands I could control all the items I want to use and they worked as expected.

Click connect @ IP TCP port 20554
Sends:
NVT: FF FA 2C 32 00 FF F0
NVT: FF FA 2C 32 30 FF F0

Returns: PJ_OKPJNAKPJNAK 'Waiting for authentication
Send: PJREQ 'Authenticate connection
Returns: PJACK 'Connection is good and acknowledged by projector
Send: ?‰PW 'request power state
Returns: ‰PW
@‰PW1 'Responds with power is on
Send: !‰RC73D9 'Change to lens memory to mode 2
Returns: ‰RC 'Confirmed received command (change implemented)
Send: !‰RC73D8 'Change to lens memory mode 1
Returns: ‰RC 'Confirmed received command (change implemented)
Send: !‰PW0 'Shutdown projector
Returns: ‰PW 'Command received and implemented
Send: ?‰PW 'Request power state
Returns: ‰PW
@‰PW2 'In cool down mode
Send: ?‰PW 'Request power state
Returns: ‰PW
@‰PW0 'Now in Stand-by

Connection closed by projector after roughly 40 seconds.
Reply
#28
It would help if I actually called the IP initialization code.
One more try please, same instructions as above.

[Edit] I didn't see the connection closed comment, I haven't yet implemented something to handle that. I many not have to given the polling. Do two tests please:
(1) Start up the new driver by doing a reconfigure and then do a power to on and let it sit and poll for a minute
(2) Presuming that the polling is working, power off the projector and see what happens after another minute
(3) Post logs


Attached Files
.cqcdrvpack   JVC-RSn-V2-IP-Dev-224.CQCDrvPack (Size: 28.48 KB / Downloads: 1)
Mark Stega
Reply
#29
Appears to be working now.  File attached.

I think the polling holds the connection open.


Attached Files
.txt   JVC.DLA-RSn-IP-Dev.JVC-NX7.V2.24.txt (Size: 134.09 KB / Downloads: 1)
Reply
#30
(12-17-2019, 06:33 AM)jokermac Wrote: Appears to be working now.  File attached.

I think the polling holds the connection open.
Have you tried all of the commands that you need?

When you have, I'll do a build that doesn't start in 'force' file verbosity.
Mark Stega
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  LIFX Driver bobskie708 15 5,087 01-05-2020, 11:00 AM
Last Post: simplextech
  Universal Devices ISY Insteon Driver wuench 369 169,228 12-28-2019, 05:15 PM
Last Post: simplextech
  RunTimer2 driver rbroders 18 6,915 10-17-2019, 04:38 PM
Last Post: rbroders
  Writing Driver - Varying commands based on checksum gReatAutomation 3 570 07-22-2019, 01:08 PM
Last Post: Dean Roddey
  Samsung HLxxA750 DLP Beta Driver jrunde 37 20,398 07-19-2019, 01:24 PM
Last Post: gReatAutomation
  Amazon Echo Hue Simulator Driver wuench 123 54,909 07-08-2019, 09:53 AM
Last Post: Dean Roddey
  New Driver - How hard would this be? kblagron 4 1,155 05-20-2019, 11:28 AM
Last Post: zaccari
  Cytech Comfort Driver znelbok 6 1,063 04-10-2019, 05:39 PM
Last Post: znelbok
  OpenHAB Driver whozeawhat 6 2,984 01-16-2019, 06:45 AM
Last Post: greymatter
  XBMC Driver wuench 428 192,394 12-28-2018, 11:07 AM
Last Post: dogman

Forum Jump:


Users browsing this thread: 1 Guest(s)