Thinger client on OpenWRT


#1

Hi all, I got two OpenWRT based Smart Switches that can be possibly connected to the Thinger cloud; I wonder whether any body knows whether Thinger client library can be compiled for OpenWRT OS.

Link to OpenWRT cross compiler: https://wiki.openwrt.org/doc/howto/buildroot.exigence


#2

Hi! It should work without problems.

You can try to use the Thinger.io Client for Linux Devices, like the one used for Raspberry Pi. Did you tried to compile the client in OpenWRT?

http://docs.thinger.io/linux/


#3

Thanks for your input. I doubt its that straight forward. OpenWRT is embedded system many of the libraries you use are probably not supported. See this link: https://www.gargoyle-router.com/old-openwrt-coding.html


#4

I’m still chasing solution for this issue. Any guidance is appreciated :).

Is there a guideline on how to compile onUbuntu OS for OpenWRT (Archi: AR71xx)
Link for the OS:
https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/

Does the Thinger client depend on other libraries?


#5

Hi, the linux client library only depends on Open SSL, but it is optional. So you can compile the libraries in any stock linux. Did you tried to compile the main.cpp with the compiler available on OpenWRT, i.,e, gcc?


#6

Found the guide below. I will have to install OpenWRT in a VM environment.