Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mihini-dev] mihini data file reading

hi guys

        Following is my code

     assert(airvantage.init())
     asset = airvantage.newasset("house")
     assert(asset:start())
    local tab1 = asset:newTable("bedroom", {"temperature", "pressure", "timestamp"}, 'file', 'now')
    tab1 :pushRow{ temperature=29.2, pressure=109.34, timestamp=os.time() }       

        I am observing that it is writing data into a file and sending data to m3da server
and i am getting following output in syslog
2014-12-03 18:41:13 DATAMGR-DETAIL: sending table house.bedroom-pressure-temperature-timestamp.tbl (1 rows of 3 columns) to server

Please explain me how it is reading data from file and sending to server. and what is the final buffer
which hold sending data.

Back to the top