cloud app does not work on LM3 with 3*RS485 and 1*RS232. devices does not appear in list
my firmware is 20170620
please update example for PUSH to send notifications to Android to
my firmware is 20170620
please update example for PUSH to send notifications to Android to
Code:
pusher=dofile("/home/apps/store/data/cloud/lua/pusher.lua")
--example of sending PUSH to add added devices
local ids= {}
--log(pusher)
for _, d in ipairs(pusher.get_ios_devices()) do
table.insert(ids, d.id)
end
for _, d in ipairs(pusher.get_android_devices()) do
table.insert(ids, d.id)
end
--log(ids)
local status,errors=pusher.push_notification(ids, 'харумамбуру')
--log(status,errors)