Building PanStamp SWAP modules into NodeMCU
Posted: Mon Mar 28, 2016 4:28 am
Hey all,
I am currently working on an IoT project and I want to implement a low power RF protocol using TI CC1101 RF transceivers. My nodes will be battery powered devices and my gateway will be a NodeMCU.
I have managed to communicate with a node via CC1101 (using the NodeMCU's SPI module), however simple transactions are not enough and I think it will take less time to implement an existing protocol rather than creating my own protocol.
PanStamp has a great little protocol called SWAP and it has its Arduino libraries (in C++). I was wondering if it is possible to create my own Lua module by adding some code to this C++ library and then build it using Docker. Is there a documentation about creating new Lua modules? Has anybody done something like this and recommend a place to get started?
Regards,
Bora
I am currently working on an IoT project and I want to implement a low power RF protocol using TI CC1101 RF transceivers. My nodes will be battery powered devices and my gateway will be a NodeMCU.
I have managed to communicate with a node via CC1101 (using the NodeMCU's SPI module), however simple transactions are not enough and I think it will take less time to implement an existing protocol rather than creating my own protocol.
PanStamp has a great little protocol called SWAP and it has its Arduino libraries (in C++). I was wondering if it is possible to create my own Lua module by adding some code to this C++ library and then build it using Docker. Is there a documentation about creating new Lua modules? Has anybody done something like this and recommend a place to get started?
Regards,
Bora