Re: Arduino SQL Connector

Поиск
Список
Период
Сортировка
От David Rysdam
Тема Re: Arduino SQL Connector
Дата
Msg-id 87wqem6h95.fsf@loud.ll.mit.edu
обсуждение исходный текст
Ответ на Re: Arduino SQL Connector  (Steve Spence <greentrust@gmail.com>)
Ответы Re: Arduino SQL Connector  (Steve Spence <greentrust@gmail.com>)
Список pgsql-general
Steve Spence <greentrust@gmail.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.


В списке pgsql-general по дате отправления:

Предыдущее
От: "Tomas Vondra"
Дата:
Сообщение: Re: Arduino SQL Connector
Следующее
От: Steve Spence
Дата:
Сообщение: Re: Arduino SQL Connector