Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues debugging IP based driver
#1
I'm having issues trying to write an IP based driver. When I start the driver for debugging the IP address passed into InitializeSocket is always null. I wrote an IP driver a few years ago and don't remember having this issue. Am I missing something obvious?

Thank you
Reply
#2
You have the manifest correctly set up for an IP address and the driver wizard is letting you enter one when you start the new session in the driver IDE? You are running in the separate standalone CML driver IDE, right? You can't debug drivers in the Admin Interface.
Dean Roddey
Explorans limites defectum
Reply
#3
(09-20-2018, 02:06 PM)Dean Roddey Wrote: You have the manifest correctly set up for an IP address and the driver wizard is letting you enter one when you start the new session in the driver IDE? You are running in the separate standalone CML driver IDE, right? You can't debug drivers in the Admin Interface.

Dean,

Yep the manifest appears to be good and I am in the CML IDE and specifically in the InitializeSocket function. The value passed in that should be the ip addr is empty. The thing that is most curious to me is I have the same issue if I open and debug one of the IP Socket drivers in the system folder. I've also installed CQC on another workstation and I have the same issue. That why I'm thinking something I'm doing isn't right.
Reply
#4
What CQC version are you on? Can you use the Tools menu and create a driver pack and e-mail it to support at our domain. I can import it and try it and see what I get.
Dean Roddey
Explorans limites defectum
Reply
#5
(09-21-2018, 08:13 AM)Dean Roddey Wrote: What CQC version are you on? Can you use the Tools menu and create a driver pack and e-mail it to support at our domain. I can import it and try it and see what I get.

I am using 5.3.2. I have packaged up the driver and sent it to support. I've also got some screen shots of me loading the driver in the CML IDE that I will send as well. While I was capturing the screen shots, it did occur to me that i could try passing the ip in an additional CfgTPrompt field and assign that to m_IPConnect, since the CfgPrompts cvalues are getting into InitializeSocket(). If that works and I can get connected to this device I can at least keep moving forward.  
Reply
#6
So the issue is that the Object Value column is only used for basic values (strings, numbers, or sometimes to show some basic information for more complex classes. But for classes in general it may or may not used. Click the ... column to see more details and it should be there.

Sorry about that. The CML IDE docs got sort of left behind in the massive reworking of the docs to HTML format, so some of these details can be a bit tricky. I hope to get that taken care of soon.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  RainMachine Sprinkler Irrigation Controller Driver kblagron 50 2,358 06-01-2020, 01:18 PM
Last Post: Dean Roddey
  Russound MCA-66 on TCP driver lapointe.sc@gmail.com 5 96 05-24-2020, 06:23 AM
Last Post: gReatAutomation
  Samsung SmartTV Driver George M 0 39 05-20-2020, 09:04 AM
Last Post: George M
  OpenWeatherMap Weather Driver Using OneCall API kblagron 11 205 05-18-2020, 04:09 AM
Last Post: dlmorgan999
  Tesla Driver Driver kfly 10 739 05-08-2020, 08:49 AM
Last Post: gReatAutomation
  JVC D-ILA Driver jokermac 34 3,914 04-13-2020, 01:28 AM
Last Post: Mark Stega
  LIFX Driver bobskie708 15 5,863 01-05-2020, 11:00 AM
Last Post: simplextech
  Universal Devices ISY Insteon Driver wuench 369 174,107 12-28-2019, 05:15 PM
Last Post: simplextech
  RunTimer2 driver rbroders 18 7,599 10-17-2019, 04:38 PM
Last Post: rbroders
  Writing Driver - Varying commands based on checksum gReatAutomation 3 761 07-22-2019, 01:08 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)