
DBus
文章平均质量分 81
henry860916
水滴石穿
展开
-
DBus 实现IPC的 配置 及流程 及 代码实现
com.test.hello.service,安装到dbus系统目录下[D-BUS Service]Name=com.test.helloExec=/bin/falseSystemdService=hello.servicehello.service,安装到systemd下[Unit]Description=hello[Service]Type=dbusBusNam原创 2015-12-31 20:06:03 · 2207 阅读 · 1 评论 -
DBUS 实现c/s 全双工
前一篇文章主要介绍了dbus调用的流程,及简单的单工通信,这里记录下双工通信的流程,供后续参考。定义dbus名称,路径,接口,方法等。#define TEST_DBUS_A "methodA"#define TEST_DBUS_B "methodB"#define TEST_DBUS_INTERFACE "com.test.hello"#define TEST_DBUS_OBJPATH "/com/test/hello"#define TEST_DBUS_NAME "com.test.hell原创 2017-05-06 18:50:03 · 1674 阅读 · 0 评论