Hi, I know that using the command '-l', the ADC readings can be stored in the PostgreSQL database. But is there any settings need to be made in the PostgreSQL to enable this? I tried this command before, but I got this:
INSERT into testing (result_time,nodeid,parent,voltage,temp,adc2,adc3,adc4,adc5, adc6,adc7) values (now(),1,0,200,607,4,354,270,331,326,328) error: Connection to database 'task' failed. could not connect to server: Connection refused Is the server running on host localhost and accepting TCP/IP connections on port 5432? MDA500 [sensor data converted to engineering units]: health: node id=1 battery: volts=3072 mv temperature=17.16 C adc chan 2: voltage=12 mv adc chan 3: voltage=1063 mv adc chan 4: voltage=810 mv adc chan 5: voltage=993 mv adc chan 6: voltage=978 mv adc chan 7: voltage=984 mv Can somebody help me? I havent't used PostgreSQL before, so I'm not familiar with it actually. -Nurin -------------------------------------------- Multimedia University Webmail System. http://webmail.mmu.edu.my/ _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help