Search:

Type: Posts; User: GhostLoveScore

Search: Search took 0.01 seconds.

  1. No, I didn't know about it until now. Thanks for...

    No, I didn't know about it until now. Thanks for letting me know.
  2. Yes, now it works fine for a couple of hours. I'm...

    Yes, now it works fine for a couple of hours. I'm testing it again. Unfortunately, if it will crash, now it will crash after couple of hours.

    I thought so too. It runs out of something. I've now...
  3. nohup gave me something to work with. Now it...

    nohup gave me something to work with. Now it works longer than 15 minutes. This time it stopped after about 3 hours, and nohup's output log says "sigHandler: Unhandled signal 18, terminating".
    This...
  4. Seems to be working with nohup. I'll try a longer...

    Seems to be working with nohup. I'll try a longer test.
  5. This is your code, but I added endless while loop...

    This is your code, but I added endless while loop and print to file. It also stops working after about 15 minutes. gcc compiler.


    #include <stdio.h>
    #include <time.h>
    #include <unistd.h>
    ...
  6. Yep, that's what I'm saying. sleep(32) does the...

    Yep, that's what I'm saying. sleep(32) does the same thing. What I did here is second or third attempt to make things work.
    It's not always the same amount of time. It's roughly 15 minutes, but...
  7. I can't tell you exactly what happens because all...

    I can't tell you exactly what happens because all I have is a log with fprintf's in it. All I can see is that last thing in the log is fprintf from do-while loop at some random seconds.

    And by...
  8. Sleep stops working after 15 minutes without wifi

    Hello everyone, my first post here

    I have a strange problem. I have a c program on raspberry pi which sends temperature data every 32 seconds to LoRa device and I receive it on other raspberry pi....
Results 1 to 8 of 8