mirror of
https://github.com/Telecominfraproject/wlan-ucentral-schema.git
synced 2026-01-27 02:23:33 +00:00
17 lines
284 B
Ucode
17 lines
284 B
Ucode
let msg = {
|
|
raw: !!args.raw
|
|
};
|
|
if (args.mac_address)
|
|
msg.macaddr = args.mac_address;
|
|
|
|
system(`logger ${msg}\n`);
|
|
|
|
let fingerprint = ctx.call("fingerprint", "fingerprint", msg) || {};
|
|
|
|
result_json({
|
|
"error": 0,
|
|
"text": "Success",
|
|
"resultCode": 0,
|
|
"resultData": fingerprint,
|
|
});
|