hmcfgusb
7 years agofree memory in case of errors
Michael Gernoth [Sat, 8 Jun 2013 21:22:06 +0000 (23:22 +0200)]
free memory in case of errors

7 years agoadd option to bind socket to specified interface (e.g. localhost) only
Michael Gernoth [Sat, 8 Jun 2013 21:15:31 +0000 (23:15 +0200)]
add option to bind socket to specified interface (e.g. localhost) only

7 years agosigaction-failure is fatal
Michael Gernoth [Wed, 5 Jun 2013 12:13:30 +0000 (14:13 +0200)]
sigaction-failure is fatal

7 years agogracefully handle errors on socket-write
Michael Gernoth [Wed, 5 Jun 2013 12:09:52 +0000 (14:09 +0200)]
gracefully handle errors on socket-write

7 years agoand again, libusb_free_transfer frees the buffer
Michael Gernoth [Sun, 2 Jun 2013 12:24:34 +0000 (14:24 +0200)]
and again, libusb_free_transfer frees the buffer

7 years agodata buffer is freed by libusb_free_transfer
Michael Gernoth [Sun, 2 Jun 2013 11:54:53 +0000 (13:54 +0200)]
data buffer is freed by libusb_free_transfer

7 years agohotplug-dir needs to be created before copying stuff into it...
Michael Gernoth [Sat, 1 Jun 2013 10:04:41 +0000 (12:04 +0200)]
hotplug-dir needs to be created before copying stuff into it...

7 years agoOpenWRT hotplug-script (starts hmland when device is plugged in)
Michael Gernoth [Sat, 1 Jun 2013 10:01:00 +0000 (12:01 +0200)]
OpenWRT hotplug-script (starts hmland when device is plugged in)

7 years agoadd Makefile for OpenWRT
Michael Gernoth [Sat, 1 Jun 2013 09:25:10 +0000 (11:25 +0200)]
add Makefile for OpenWRT

7 years agodon't abort when the device reboots, only set hmId when needed
Michael Gernoth [Fri, 31 May 2013 12:25:46 +0000 (14:25 +0200)]
don't abort when the device reboots, only set hmId when needed

7 years agoadd timestamp
Michael Gernoth [Thu, 30 May 2013 22:31:51 +0000 (00:31 +0200)]
add timestamp

7 years agofix cfg-flag
Michael Gernoth [Thu, 30 May 2013 21:57:21 +0000 (23:57 +0200)]
fix cfg-flag

7 years agobeginning of hmsniff, a small HomeMatic sniffer/dissector
Michael Gernoth [Thu, 30 May 2013 21:53:43 +0000 (23:53 +0200)]
beginning of hmsniff, a small HomeMatic sniffer/dissector

7 years agotypo
Michael Gernoth [Thu, 30 May 2013 21:08:45 +0000 (23:08 +0200)]
typo

7 years agoget rid of strtoul/printf for ascii-hex/bin conversion
Michael Gernoth [Thu, 30 May 2013 10:27:00 +0000 (12:27 +0200)]
get rid of strtoul/printf for ascii-hex/bin conversion

7 years agogroup debug output better
Michael Gernoth [Wed, 29 May 2013 22:16:06 +0000 (00:16 +0200)]
group debug output better

7 years agomake sure quit is reset to 0 after a device-init
Michael Gernoth [Wed, 29 May 2013 22:11:37 +0000 (00:11 +0200)]
make sure quit is reset to 0 after a device-init

7 years agomake sure errno is always correct when returning from hmcfgusb_poll
Michael Gernoth [Wed, 29 May 2013 22:05:35 +0000 (00:05 +0200)]
make sure errno is always correct when returning from hmcfgusb_poll

7 years agoadd delays to stop device from resetting
Michael Gernoth [Wed, 29 May 2013 21:22:33 +0000 (23:22 +0200)]
add delays to stop device from resetting

7 years agoalways transmit the full packet size to the device
Michael Gernoth [Wed, 29 May 2013 21:08:12 +0000 (23:08 +0200)]
always transmit the full packet size to the device

7 years agocommand line parsing
Michael Gernoth [Wed, 29 May 2013 20:27:28 +0000 (22:27 +0200)]
command line parsing

7 years agobetter input parsing/output formatting
Michael Gernoth [Wed, 29 May 2013 19:36:24 +0000 (21:36 +0200)]
better input parsing/output formatting

7 years agosimple tcp-server, barely able to communicate with fhem
Michael Gernoth [Wed, 29 May 2013 15:49:34 +0000 (17:49 +0200)]
simple tcp-server, barely able to communicate with fhem

7 years agocleanup on error/exit
Michael Gernoth [Wed, 29 May 2013 14:21:55 +0000 (16:21 +0200)]
cleanup on error/exit

7 years agoremove duplicate code
Michael Gernoth [Wed, 29 May 2013 14:10:18 +0000 (16:10 +0200)]
remove duplicate code

7 years agolibusb-based driver for HM-CFG-USB and an initial HM-CFG-LAN emulation
Michael Gernoth [Wed, 29 May 2013 14:03:32 +0000 (16:03 +0200)]
libusb-based driver for HM-CFG-USB and an initial HM-CFG-LAN emulation

Impressum, Datenschutz