[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[mihini-dev] Mihini Table Related Variables
|
Hi
1.I have created table as per the following
local tab1 = asset:newTable("bedroom", {"temperature", "pressure", "timestamp"}, "file", "now",0)
and i mentioned purge = 0 and i am getting the following output in syslog.
EMP-DEBUG: [->RCV] [CMD] #1 TableNew {"path":"bedroom","storage":"file","purge":true,"policy":"now","asset":"house","columns":["temperature","pressure","timestamp"]}
Please guide me what is the purge variable and how to use it.
2. I am using the following line in my code as acknowledge
assert(airvantage.acknowledge(0, 0, "BANG BANG BANG", "now", 0))
Syslog Output:
EMP-DEBUG: [->RCV] [CMD] #1 PAcknowledge {"message":"BANG BANG BANG","ticket":0,"status":0,"policy":"now","persisted":0}
EMP-DEBUG: payload = table: 0x882f3a8, type = table, serialized = {"message":"BANG BANG BANG","ticket":0,"status":0,"policy":"now","persisted":0}
I am not getting how to verify the acknowledge result and what response i am
getting how to use acknowledge please guide me.