ONE icon indicating copy to clipboard operation
ONE copied to clipboard

[Draft][npud] Introduce D-Bus IPC system

Open jyoungyun opened this issue 3 years ago • 1 comments

/cc @chunseoklee @hseok-oh

jyoungyun avatar Sep 22 '22 09:09 jyoungyun

@nnfw-bot test all

hseok-oh avatar Oct 12 '22 04:10 hseok-oh

How to test

Run npud

$ NPUD_LOG_ENABLE=1 DEVICE_MODULE_PATH=${PWD}/Product/x86_64-linux.debug/out/lib ./Product/x86_64-linux.debug/out/bin/npud

Send dbus message

$ dbus-send \
  --system \
  --print-reply \
  --dest=org.tizen.npud \
  /org/tizen/npud \
  org.tizen.npud.core.device_get_available_list

Method lists: https://github.com/Samsung/ONE/blob/57a041278b91833f132a8a7f7d26f5fb7f1d1b51/runtime/service/npud/org.tizen.npud.xml

jyoungyun avatar Oct 25 '22 04:10 jyoungyun

The DBUS IPC implementation merged. This commit has many changes related to the DBus method. However, this is a big difference from the main code, so I will upload it to the new draft code. #9989

jyoungyun avatar Nov 07 '22 07:11 jyoungyun