Well... Seems as if the engineering team decided to leave out an important detail. The nodes won't transmit usage data if the wattage is below a certain level! I have been using a couple of dinky...
Type: Posts; User: TobiasKillerB
Well... Seems as if the engineering team decided to leave out an important detail. The nodes won't transmit usage data if the wattage is below a certain level! I have been using a couple of dinky...
The engineering team that built the nodes has demoed them with their program, and they work fine. Their program was written in C# on Windows. If that makes any difference...
Tim
I found one called QuickTerm. I got it running, and it's giving me the same data as my program does. I'm going to dive into the settings a little and see if I can get it working that way.
Tim
I tried the picocom program Salem suggested, but I couldn't seem to get it working. I will look into Hyper Terminal.
Tim
Still nothing... Thanks though
Tim
I added in some more options, and I'm still not getting data. Here is the section of code where I set the flags.
mainfd = open_port(); // Get file descriptor for port
fcntl(mainfd, F_SETFL,...
Well now it is reading in both bytes. But I'm still not getting any information for the power usage.
Here is my updated code.
while (1){
if (read(mainfd, &chout, sizeof(chout)) == 1){...
Thanks for getting back to me.
Ya, this is bad... It means that I am only getting 1 byte each time the node sends me a signal, and it should be 2.
At the end of each while loop, I...
// checks for upper byte flag
if ((chout & 0x20) == 0x20) {
nodeBuff[0] = chout;
// Point1
printf("%02x %02x\n", nodeBuff[0], nodeBuff[1] );
}
// else it is the lower...
Thanks for the quick reply!
The problem is, I don't have the nodes... The engineering team has those, and I only have access to them every so often. The next time I will be able to test the...
I am designing a program in Xcode on my Mac using C, the program needs to receive power usage data from a wireless node and then insert the data into my database. The connection is using RS232...