summaryrefslogtreecommitdiffstats
path: root/src/device/protocol_device.ino
Commit message (Collapse)AuthorAgeFilesLines
* Protocol: changes to interface and some re-implementation.Gravatar Ramūnas Mažeikis 2019-05-211-0/+38
Most functions exposed in protocol.h take a connection descriptor (cd_t) as first argument. This allows for multiple connections. Device gets only one connection which means that cd_t is effectively 0 all the time. Additionaly, any function that actually does anything with a connection descriptor instead of just passing it to another function must be implemented separately in device and daemon. Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>