Electron React Developer

Job ID: 36715117

Budget: $30 – $250 USD

I'm using stdio connection between electron and hogptestcli (a simulation tool, exe file and it's inside tools folder) and I'm sending commands from electron to hogptestcli to do simulation of the bluetooth remote that I have (I've made a bluetooth connection between bluetooth usb dongle and bluetooth remote I've made this bluetooth connection by sending command to hogptestcli as well) you can find all the commands and the basic outline of the project in tools folder, named HogpTestCli UI Protocol En.pdf. ths pdf file contains most of the commands and the format of it (JSON format)

So the main problem is when i do voice testing. when I press and hold onto the voice button, hogptestcli will know that voice button has been clicked, and it starts to record the audio. when I release the voice button, voice testing stops and the audio file is saved in the Voice folder. However, as soon as I release the voice button, the App.js component reloads and the state values are gone. I've considered saving the state values in local storage but I want to know what's really causing the rerender and stop it.

Another problem is calling the battery percentage of the remote. If you look inside the pdf file, it has a command that I can send to hogptestcli and hogptestcli will give me the battery result. I do get the battery percentage, but I'm keep getting 0 percent. I've tested in another program that is completely built and it shows 100 so I think I'm not getting the battery information correctly. I feel like there's some stuff going on in the stdio connection or my config settings. If you have any more questions about the work please ask me more

Thank you in advance.
Related categories: JavaScript React.js Electron JS