Hi,
> I am using nanopb to an embedded c project and now I have to receive and
> handle data on a web socket in LUA.
So you need a protocol buffers library for Lua.
In general nanopb is not really designed for calling from another
language. It would be better to have a lua-native library for that side
of communication. All protobuf libraries are compatible, so that part
shouldn't be a problem.
I assume this is the project you tried?
http://lua.siffiejoe.dtdns.net/pb4lua/
Maybe try contacting them with the problems you had? It seems like a
reasonably well maintained project so I think it should work.
--
Petteri