Git Product home page Git Product logo

Comments (13)

peterberbec avatar peterberbec commented on June 15, 2024 1

No problem! You give faster support than some of the companies I deal with.

from rdp-battmon.

transistor1 avatar transistor1 commented on June 15, 2024 1

Hi Peter,
Can you please try the attached version & see if it works for you?

BattMon v1.0.1.5 Client+Server.zip

from rdp-battmon.

transistor1 avatar transistor1 commented on June 15, 2024

@peterberbec, when you get a chance, please try this. On the server side, it should create a file in the same directory as the EXE called "EventLog.txt." Please let it run for a minute, then send me the output. It should show me if it's receiving any battery information at all.

No rush; I am going to sleep for the night & will try again tomorrow. Thanks for your debugging help!

Client (v1.0.1.4 Debug).zip
Server (v1.0.1.4 Debug).zip

from rdp-battmon.

peterberbec avatar peterberbec commented on June 15, 2024

Thank you for your coding! My debugging is the least I can do.

EventLog.txt

  <Properties>
    <Dictionary name="Value">
      <Items>
        <Item>
          <Simple value="BatteryInfo" />
          <Collection type="System.Collections.Generic.List`1[[FieldEffect.Interfaces.IBatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <Properties>
              <Simple name="Capacity" value="2" />
            </Properties>
            <Items>
              <Complex type="FieldEffect.BatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                <Properties>
                  <Simple name="ClientName" value="LAPPY2010" />
                  <Simple name="EstimatedChargeRemaining" value="100" />
                  <Simple name="EstimatedRunTime" value="828.12:06:28" />
                  <Simple name="BatteryStatus" value="2" />
                </Properties>
              </Complex>
              <Complex type="FieldEffect.BatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                <Properties>
                  <Simple name="ClientName" value="LAPPY2010" />
                  <Simple name="EstimatedChargeRemaining" value="94" />
                  <Simple name="EstimatedRunTime" value="828.12:06:28" />
                  <Simple name="BatteryStatus" value="2" />
                </Proper
2018-03-06 10:07:40,212 [1] DEBUG FieldEffect.Models.BatteryDataRetriever [(null)] - <Complex name="Root" type="FieldEffect.VCL.CommunicationProtocol.Response, RDP-BattMon Comm Protocol, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
  <Properties>
    <Dictionary name="Value">
      <Items>
        <Item>
          <Simple value="BatteryInfo" />
          <Collection type="System.Collections.Generic.List`1[[FieldEffect.Interfaces.IBatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <Properties>
              <Simple name="Capacity" value="2" />
            </Properties>
            <Items>
              <Complex type="FieldEffect.BatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                <Properties>
                  <Simple name="ClientName" value="LAPPY2010" />
                  <Simple name="EstimatedChargeRemaining" value="100" />
                  <Simple name="EstimatedRunTime" value="828.12:06:28" />
                  <Simple name="BatteryStatus" value="2" />
                </Properties>
              </Complex>
              <Complex type="FieldEffect.BatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                <Properties>
                  <Simple name="ClientName" value="LAPPY2010" />
                  <Simple name="EstimatedChargeRemaining" value="94" />
                  <Simple name="EstimatedRunTime" value="828.12:06:28" />
                  <Simple name="BatteryStatus" value="2" />
                </Proper
2018-03-06 10:08:00,334 [1] DEBUG FieldEffect.Models.BatteryDataRetriever [(null)] - <Complex name="Root" type="FieldEffect.VCL.CommunicationProtocol.Response, RDP-BattMon Comm Protocol, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
  <Properties>
    <Dictionary name="Value">
      <Items>
        <Item>
          <Simple value="BatteryInfo" />
          <Collection type="System.Collections.Generic.List`1[[FieldEffect.Interfaces.IBatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <Properties>
              <Simple name="Capacity" value="2" />
            </Properties>
            <Items>
              <Complex type="FieldEffect.BatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                <Properties>
                  <Simple name="ClientName" value="LAPPY2010" />
                  <Simple name="EstimatedChargeRemaining" value="100" />
                  <Simple name="EstimatedRunTime" value="828.12:06:28" />
                  <Simple name="BatteryStatus" value="2" />
                </Properties>
              </Complex>
              <Complex type="FieldEffect.BatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                <Properties>
                  <Simple name="ClientName" value="LAPPY2010" />
                  <Simple name="EstimatedChargeRemaining" value="94" />
                  <Simple name="EstimatedRunTime" value="828.12:06:28" />
                  <Simple name="BatteryStatus" value="2" />
                </Proper
2018-03-06 10:09:30,550 [1] DEBUG FieldEffect.Models.BatteryDataRetriever [(null)] - <Complex name="Root" type="FieldEffect.VCL.CommunicationProtocol.Response, RDP-BattMon Comm Protocol, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
  <Properties>
    <Dictionary name="Value">
      <Items>
        <Item>
          <Simple value="BatteryInfo" />
          <Collection type="System.Collections.Generic.List`1[[FieldEffect.Interfaces.IBatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <Properties>
              <Simple name="Capacity" value="2" />
            </Properties>
            <Items>
              <Complex type="FieldEffect.BatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                <Properties>
                  <Simple name="ClientName" value="LAPPY2010" />
                  <Simple name="EstimatedChargeRemaining" value="100" />
                  <Simple name="EstimatedRunTime" value="828.12:06:28" />
                  <Simple name="BatteryStatus" value="2" />
                </Properties>
              </Complex>
              <Complex type="FieldEffect.BatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                <Properties>
                  <Simple name="ClientName" value="LAPPY2010" />
                  <Simple name="EstimatedChargeRemaining" value="94" />
                  <Simple name="EstimatedRunTime" value="828.12:06:28" />
                  <Simple name="BatteryStatus" value="2" />
                </Proper
2018-03-06 10:09:50,275 [1] DEBUG FieldEffect.Models.BatteryDataRetriever [(null)] - <Complex name="Root" type="FieldEffect.VCL.CommunicationProtocol.Response, RDP-BattMon Comm Protocol, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
  <Properties>
    <Dictionary name="Value">
      <Items>
        <Item>
          <Simple value="BatteryInfo" />
          <Collection type="System.Collections.Generic.List`1[[FieldEffect.Interfaces.IBatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <Properties>
              <Simple name="Capacity" value="2" />
            </Properties>
            <Items>
              <Complex type="FieldEffect.BatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                <Properties>
                  <Simple name="ClientName" value="LAPPY2010" />
                  <Simple name="EstimatedChargeRemaining" value="100" />
                  <Simple name="EstimatedRunTime" value="828.12:06:28" />
                  <Simple name="BatteryStatus" value="2" />
                </Properties>
              </Complex>
              <Complex type="FieldEffect.BatteryInfo, BatteryInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                <Properties>
                  <Simple name="ClientName" value="LAPPY2010" />
                  <Simple name="EstimatedChargeRemaining" value="94" />
                  <Simple name="EstimatedRunTime" value="828.12:06:28" />
                  <Simple name="BatteryStatus" value="2" />
                </Proper

from rdp-battmon.

transistor1 avatar transistor1 commented on June 15, 2024

from rdp-battmon.

transistor1 avatar transistor1 commented on June 15, 2024

federalizing deserializing... Autocorrect

from rdp-battmon.

transistor1 avatar transistor1 commented on June 15, 2024

Haven't forgotten this issue... Still working on it, just been busy.

from rdp-battmon.

peterberbec avatar peterberbec commented on June 15, 2024

By Jove I think he's got it! This is amazing. Thank you so much for your effort and a truly wonderfully useful piece of code.

Client:
client-battery

Server:
server_battery

from rdp-battmon.

peterberbec avatar peterberbec commented on June 15, 2024

Push to prod?

image

from rdp-battmon.

transistor1 avatar transistor1 commented on June 15, 2024

Fantastic! Glad it’s working! Awesome meme πŸ˜„

from rdp-battmon.

transistor1 avatar transistor1 commented on June 15, 2024

Can I use your screenshot on the README page as a sample screenshot of the app? 2 batteries is more interesting to look at than the one I have.

Server:
server_battery

from rdp-battmon.

peterberbec avatar peterberbec commented on June 15, 2024

from rdp-battmon.

transistor1 avatar transistor1 commented on June 15, 2024

Thanks!

from rdp-battmon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.