I am wanting to try ALEOS development and have run into a roadblock when trying to use an RV50. I have followed the “Getting Started” tutorial found here:
source.sierrawireless.com/resou … g_started/
and have been able to get a simple program to run and export to a GX400. I run into problems when I try to run the same program on RV50. Here is the program I am running:
local sched = require 'sched'
local devicetree = require "devicetree"
local function main()
print("hello world")
devicetree.init()
sched.wait(1)
while 1==1 do
print("hello World")
print(devicetree.get("system.io.powerin"))
sched.wait(2)
end
end
sched.run(main)
sched.loop()
The GX400 works great. The RV50 prints “hello world” twice, then freezes. It never succeeds with the devicetree.get()
The GX400 is running ALEOS 4.4, and the RV50 is running 4.7.
Could it be that I need a different Execution Environment? I am using the one that comes with Developer Studio for ALEOS 2.0 (AAF-4.3.4)
Thanks in advance,
VG