-[submodule "conf.d/templates"]
- path = conf.d/app-templates
- url = https://gerrit.automotivelinux.org/gerrit/p/apps/app-templates.git
[submodule "ucs2-lib/unicens"]
path = ucs2-lib/unicens
url = https://github.com/MicrochipTech/unicens.git
-[submodule "afb-helpers"]
- path = afb-helpers
- url = https://gerrit.automotivelinux.org/gerrit/apps/app-afb-helpers-submodule
+++ /dev/null
-Subproject commit f0ce5b665dd33b285d723720c16ac0542cde4e6e
set(PROJECT_VERSION "0.1")
set(PROJECT_PRETTY_NAME "UNICENS Service")
set(PROJECT_DESCRIPTION "UNICENS V2 - Infotainment network setup and access")
-set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/p/apps/agl-service-unicens.git")
+set(PROJECT_URL "https://git.automotivelinux.org/apps/agl-service-unicens/")
set(PROJECT_ICON "icon.png")
set(PROJECT_AUTHOR "Thorsten Kummermehr")
set(PROJECT_AUTHOR_MAIL "thorsten.kummermehr@microchip.com")
json-c
libsystemd>=222
afb-daemon
+ afb-helpers
libxml-2.0
)
# Print a helper message when every thing is finished
# ----------------------------------------------------
-set(CLOSING_MESSAGE "Test with: afb-daemon --ldpaths=./package --port=1234 --workdir=. --roothttp=../htdocs --tracereq=common --token= --verbose")
+set(CLOSING_MESSAGE "Test with: afb-daemon --ldpaths=./package --port=1234 --workdir=. --roothttp=./package/htdocs --tracereq=common --token= --verbose")
set(PACKAGE_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt")
# Optional schema validator about now only XML, LUA and JSON
# Library dependencies (include updates automatically)
TARGET_LINK_LIBRARIES(${TARGET_NAME}
ucs2-inter
- afb-helpers
${link_libraries}
)
{ .type = afb_auth_Permission, .text = "urn:AGL:permission:UNICENS:public:controller" }
};
- void ucs2_listconfig(afb_req req);
- void ucs2_initialise(afb_req req);
- void ucs2_subscribe(afb_req req);
- void ucs2_subscriberx(afb_req req);
- void ucs2_writei2c(afb_req req);
- void ucs2_sendmessage(afb_req req);
+void ucs2_listconfig(afb_req_t req);
+void ucs2_initialise(afb_req_t req);
+void ucs2_subscribe(afb_req_t req);
+void ucs2_subscriberx(afb_req_t req);
+void ucs2_writei2c(afb_req_t req);
+void ucs2_sendmessage(afb_req_t req);
static const struct afb_verb_v2 _afb_verbs_UNICENS[] = {
{
}
};
+int ucs2_initbinding();
+
const struct afb_binding_v2 afbBindingV2 = {
.api = "UNICENS",
.specification = _afb_description_UNICENS,
#include "ucs_binding.h"
#include "ucs_interface.h"
-#include "wrap-json.h"
+#include <wrap-json.h>
#define MAX_FILENAME_LEN (100)
#define RX_BUFFER (64)