summaryrefslogtreecommitdiffstats
path: root/src/device/protocol_device.c
Commit message (Collapse)AuthorAgeFilesLines
* device: fix shoddy file permissions.Gravatar Gediminas Jakutis 2019-05-211-0/+0
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* Protocol: moved udp code out of main.Gravatar Ramūnas Mažeikis 2019-05-211-2/+12
| | | | | | | | | | An effor was made to increase modularity of device code. It was a partial success. IP adress, communications port, and wifi login details had to be made static and visible in main. Time is scarce and I am not about to push this further. Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
* Protocol: common no longer has device-specific implementations.Gravatar Ramūnas Mažeikis 2019-05-211-0/+5
| | | | | | Forgot to remove device-specific code from common protocol code. Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
* Protocol: implementation of device-side protocol.Gravatar Ramūnas Mažeikis 2019-05-211-0/+86
Parts of protocol specific for device are implementepd to reflect the fact that the device is a client. This effectively means that device gets a single connection only and severe memory restrictions about which the daemon might get informed about in the future. Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>