From: | David Rysdam <drysdam(at)ll(dot)mit(dot)edu> |
---|---|
To: | Steve Spence <greentrust(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Arduino SQL Connector |
Date: | 2014-04-18 10:53:26 |
Message-ID: | 87wqem6h95.fsf@loud.ll.mit.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Steve Spence <greentrust(at)gmail(dot)com> writes:
> Need a Team lead on this, and I'll collaborate as much as I can on the
> Arduino / Networking side.
I don't understand why there is so much blowback to the idea that you
can just use the existing code. Why exactly wouldn't it work? It
compiles on that architecture already. The only possible issue is size.
Take the libpq source and cross-compile it for the Arduino. I did this
back in 2008 or so for a stepper motor driver that didn't work how I
wanted.
I wouldn't be surprised if the lame Arduino *IDE* won't do this, but
what does that matter? You can make the library by cross-compiling,
then include it in your Arduino sketch.
That said, I agree with the other poster who questioned why you'd put
the DB client on the device anyway. Seems needlessly difficult and
limiting. Just put a simple serial writer on that end and have a tiny
serial->DB translator on the same machine you were going to put the DB
on. Done in about an hour and you can switch DBMSs without having to
touch the device.
From | Date | Subject | |
---|---|---|---|
Next Message | Steve Spence | 2014-04-18 11:07:43 | Re: Arduino SQL Connector |
Previous Message | Tomas Vondra | 2014-04-18 10:43:21 | Re: Arduino SQL Connector |