RE: [BPQ32] LINBPQ NODE - writing an 'application'
- Hannes,At the moment LinBPQ doesn't have an API for use by applications (unlike the WIndows version) - mainly because I haven't worked out a safe way to do it - if I just run a script, if that fails it is likely to crash the node. The node does have a way (undocumented at the moment) to connect to a telnet server on the local host. This is intend to give access to a shell to enable basic changes to be made to config files.This could easily be generalised to connect to other ports, so if you wrote the application as a tcp server, it could do what you are looking for.73, John
From: BPQ32@yahoogroups.com [mailto:BPQ32@yahoogroups.com] On Behalf Of zl1lw
Sent: 15 March 2013 19:08
Subject: [BPQ32] LINBPQ NODE - writing an 'application'
my apologies for all the questions. As you can see I have a lot to learn :)
Is there a way with linbpq that if I say configure let say APPLICATION 2,TEST in bpq32.cfg and that it will then call an external linux script (living in the linbpq folder), lets say I called the script 'TEST.sh' as an example and display it to the connected user?
What I would like to do is create a script in linux that the BPQ node connect to and ask the user a couple of questions, then after they filled out the questions it returns to the linbpq node.
If this does not exist then I would also like to add it to my wishlist :)
How can this be done in the linbpq node?