Parent: 34553c1f74a0c4a467eff19ce12818c4c4d07fd4
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Szymon Janc <szymon.janc@codecoup.pl>
Date: 2017-12-14 11:08:32
Tree: 41801e3a3fdb97a1bd9a0c81486ec5a6c3ce703c
shared/btp: Add initial code for library This allows to connect to BTP socket, process message one-by-one (next message is processed only after reply to previous was sent), reply and send notifications. Currently it is very simple and push most of error checking to user. Could be extended in future if needed.
Diffstat
| A | src/shared/btp.c | | | 383 | ++++++++++++++++++++++++++++++++++++++++ |
| A | src/shared/btp.h | | | 95 | ++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 478 insertions(+), 0 deletions(-)