emulation of panstamp device on lagarto

17 views
Skip to first unread message

Paolo Di Prodi

unread,
Apr 23, 2012, 7:34:56 AM4/23/12
to pans...@googlegroups.com
Hello there,
I have now a mixed network, one with the panstamps and one with simpliciti (yes different channels!).
The long term plan is to pass everything on SWAP but at the moment, what I would like to try is to
emulate a panstamp device from my current python code base.
What is the best approach to build a lagarto client to emulate all the registers read/write?


--
Dr. Paolo Di Prodi
Robomotic ltd
www.robomotic.com

Address:
CIDS Incubator, Room 203
University Avenue
Thomson Building
Glasgow, G12 8QQ
UK

This email and any attachments are confidential and should not be read, copied or disclosed to anyone other than the intended recipient without the permission of the sender. Robomotic Limited does not accept liability for any loss or damage which may result from this email or any attachment, or for errors or omissions arising after it was sent. The views expressed in this email are those of the author and do not necessarily reflect the views of Robomotic Limited. If you have received this message in error, please notify the sender immediately and delete the material from any computer.

Robomotic Ltd is a limited company registered in Scotland no. SC389778

Daniel Berenguer

unread,
Apr 23, 2012, 7:57:36 AM4/23/12
to pans...@googlegroups.com
I'm afraid that pyswap can not be used to simulate SWAP networks...
It provides a high level interface consisting on callbacks attached
to network events so if you really want to simulate networks you will
have to modify pyswap in some way.

On the other hand, if you really want to integrate SWAP and SimpliciTI
data, then creating a Lagarto server for your SimpliciTi network would
be the easiest solution IMO. Then you could bind SWAP to SimpliciTI
events and vice-versa from Lagarto-MAX.
Reply all
Reply to author
Forward
0 new messages