Help with callback in scripts

I've written a script to mirror a xap rf command on my livebox to a port on my raspi.

 

Member for

13 years 11 months

AndrewJ

10 years 8 months ago

Hi allanayr

Does the it actually run or error out? whats the debug output?

could be that you that source is incorrect i.e dbzoo.livebox for me i changed my sources to dbzoo.beaglebone and so on...

in terms of running processes i would imagine xap-plugboard (identified as "lua") and xap-hub - have a look at the running process - ps -e

Andrew

Member for

15 years 1 month

allanayr

10 years 8 months ago

It doesn't error it just never reacts to the function callback. It reads the port ok and when on the Livebox it works ok. I'll have a fiddle and try to get the xap-hub or xap-Livebox functions running on the pi as well as the box. (Or maybe I'll just run it on the and not worry about it)

Member for

13 years 11 months

AndrewJ

10 years 8 months ago

if various modules are not running you can try running the start script manually

cd \etc\init.d

sudo sh ./xap start or service xap start

then ps -e

 

have you checked theres no case sensitive issues? i found i had to change a load of uppers to lower due to differences between my livebox and bbb port

 

Andrew