local NET_STATE = ‘system.aleos.cellular.state’
local ok, msg = pcall(function()
local result = devicetree.init()
local ok1, msg1 = pcall(function()
local networkState = devicetree.get(NET_STATE)
–[[print “main started” to the console everytime main runs]]–
–[[ The above code issues the following console output]]–
attempt to yield across metamethod/C-call boundary
WHY AM I RECIEVING “attempt to yield across metamethod/C-call boundary” error?
I am running this code on Aleos application framework 4.5.2 on a raven rv50. The devicetree seems to initialize, what would possibly stop a get call to a valid devicetree address?