blink1-tool/blink1control-tool
Tod Kurt 8e9adb21b8 reduce down libcurl deps 2022-04-13 10:02:55 -07:00
..
Makefile reduce down libcurl deps 2022-04-13 10:02:55 -07:00
README.md blink1control-tool & blink1control: getting ready for v1.92 2014-08-29 15:48:07 -07:00
blink1control-tool.c reduce down libcurl deps 2022-04-13 10:02:55 -07:00
curl-7.78.0.tar.gz blink1control-tool: update curl version, multi-arch build for MacOS 2021-08-01 20:15:01 -07:00
json-parser.zip oops, forgot to add json-parser.zip 2017-07-18 14:26:20 -07:00

README.md

blink1control-tool

blink1-tool-like program for use with Blink1Control

Use

Usage is just like blink1-tool.

Except that currently only the setting of colors is supported.

The url it uses defaults to http://localhost:8934/. If you are controlling a Blink1Control on another system or urn the Blink1Server on another port, change it with --baseurl <url>.

Prerequisites:

  • libcurl

Compiling:

On Mac OS X:

% wget http://curl.haxx.se/download/curl-7.37.1.tar.gz
% tar xvzf curl-7.37.1.tar.gz
% cd curl-7.37.1
% ./configure --prefix `pwd`/../curl-mac --disable-shared --disable-ldap --without-zlib --without-libssh2 --without-ssl --disable-crypto-auth
% make && make install
% cd ..
% make

On Windows:

% wget http://curl.haxx.se/download/curl-7.37.1.tar.gz 
% tar xvzf curl-7.37.1.tar.gz
% cd curl-7.37.1
# In the file libcurl.pc.in add -DCURL_STATICLIB to Cflags. 
% ./configure --prefix `pwd`/../curl-win --disable-shared --disable-ldap --without-zlib --without-libssh2 
% make && make install
% cd ..
% gcc -static -o curl-simple curl-simple.c `curl-win2/bin/curl-config --cflags` `curl-win2/bin/curl-config --static-libs`