Search:

Type: Posts; User: TobiasKillerB

Search: Search took 0.01 seconds.

  1. Replies
    20
    Views
    7,249

    Well... Seems as if the engineering team decided...

    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...
  2. Replies
    20
    Views
    7,249

    The engineering team that built the nodes has...

    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
  3. Replies
    20
    Views
    7,249

    I found one called QuickTerm. I got it running,...

    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
  4. Replies
    20
    Views
    7,249

    I tried the picocom program Salem suggested, but...

    I tried the picocom program Salem suggested, but I couldn't seem to get it working. I will look into Hyper Terminal.

    Tim
  5. Replies
    20
    Views
    7,249

    Still nothing... Thanks though Tim

    Still nothing... Thanks though

    Tim
  6. Replies
    20
    Views
    7,249

    I added in some more options, and I'm still not...

    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,...
  7. Replies
    20
    Views
    7,249

    Well now it is reading in both bytes. But I'm...

    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){...
  8. Replies
    20
    Views
    7,249

    Thanks for getting back to me. Ya, this is...

    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...
  9. Replies
    20
    Views
    7,249

    // checks for upper byte flag if ((chout &...

    // 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...
  10. Replies
    20
    Views
    7,249

    Thanks for the quick reply! The problem is,...

    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...
  11. Replies
    20
    Views
    7,249

    RS232 Serial Communication Help

    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...
Results 1 to 11 of 11