Files
wlan-ucentral-schema/command/cmd_fingerprint.uc
John Crispin 8045e6c51d add full fingerprinting data model
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-31 12:07:01 +02:00

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,
});