Category Archives: Technology

Tips and test on technological product and components. Operating system, networks, hardware, security…
Astuces et tests autour de produits et composants technologiques, systèmes, réseaux, hardware, sécurité …

Transfer UDP over SSH

When you want to transfer some UDP protocol from a remote server not directly accessible from your local host you can use a combination of SSH and socat to make this communication possible.

The application case is, as an exemple, a SNMP communication with a server in a DMZ to get metrics in a local area dashboard. Like in this exemple.

You have an intermediate host where SSH is accessible you can use as a gateway.

1- on the local host (on the left side), create a SSH tunnel with a TCP port forwarding (here 10000).

ssh -L 10000:localhost:10000 **gateway_host_ip**

2- on the gateway host, route the traffic received from the port we have previously associated to the UDP target host:port

socat tcp4-listen:10000,reuseaddr,fork UDP:**target_host_ip**:**udp_port**

3 – on the local host, route the traffic received from the given UDP port to the previously associated TCP port for tunnelling

socat -T15 udp4-recvfrom:**udp_port**,reuseaddr,fork tcp:localhost:10000

That’s it.

Posted in Systems | Tagged , , | Leave a comment

Code optimization with Stm32 Cube IDE

I’m using STM32 Cube IDE suite for STM32 development. This suite is based on Eclipse and GCC and it works quite well. In a recent project I was looking for some optimization I could apply on top of the basic existing settings to reduce the FLASH and RAM size.

In this post I want to share what I found and how it helped me.

Continue reading
Posted in Programming | Tagged , | 5 Comments

LORIX One LoRaWan gateway review

Yes, I’ve got one of these LoRaWan light saber I was looking for, since a while! For this I really thank you Wifx who helped me to get one. I know this is really unusual for them to work with blogger, so thank you for your trust. So honestly, even if I’ve been sponsored to get the device, I’m really happy to make that gateway test. As I said this gateway is one of my favorite since a while. The reason are a really compact outdoor design. It makes the difference 😉

I did not made a test previously because this have a cost, about 500€, (549CHF) this not much expensive but a bit high regrading my non-profit activity on TheThingsNetwork local deployment.

Now, I’m done telling you my life, we can see what this gateway is proposing !

Continue reading
Posted in LoRa | Tagged , , , | Leave a comment

Contact less connected thermometer

I’ve recently made a post on how to make a pandemic alarming system based on low cost connected thermometers. This post was more about the organization model and business model than the technological solution and implementation. So I also wanted to continue to investigate the connected thermometer solution, mainly for the fun. As I’ve been sponsored by digitspace.com for some free hardware, it has been the opportunity for testing contact-less thermometers module.

The design I’m going to propose in this post will not apply to the low-cost connected thermometers as the technology I’m going to use is far more expensive to the one I proposed in my previous post.

That said, this design can be useful for companies, public site or free access thermometer booth anyone would like to design at low cost.

Continue reading
Posted in Hardware | Tagged , | 1 Comment

Monitor a gateway connected to The Things Network

I’ve published a post in January 2019 on a solution to alarm you TTN gateway. It was based on noc API but these API have been deprecated. It means this solution is not working anymore.

So I’m investigating some new solution: the more relevant is the use of TTN cli solution.

Let’s seen what can we do with this.

Continue reading
Posted in LoRa | Tagged , , , , | 4 Comments

Low-cost outdoor solar powered LoRaWan Gateway

I really love Reece Innovation Solar powered pod product developed by my friend Jose Marcelino. They’ve made a agricultural / industrial autonomous solar powered LoRaWan gateway for a really competitive price. With much more money to extend TheThingsNetwork in my city I would have used a such solution. But as this is just a hobby for me, I’m looking for really low cost solution, something under 500€ per gateway.

My main issue to extend the network is not really to find roof but to find some where I can pass an Ethernet cable and provide the power from it. I have some place where I could deploy new gateway in conduction to be cable-less. The network is not the main issue as most of the time a WiFi network is accessible. Powering is a larger problem to solve. Advantages of outdoor gateway: you have sun available. So, as Reece Innovation did, I decided to make my solar gateway, the main differences are: my will have no LTE communication capability (only WiFi) and it have to cost as less as possible.

Let see what I’ve done

Continue reading
Posted in LoRa | Tagged , , , , | 8 Comments

MikroTik LoRa8 Gateway

I’ve been talking about this ultra low cost LoRaWan gateway in last October and ordered one. The time to get it has been long as it has been arrived in February this year. This sounds due to an early ordering as the product is now available, even on Amazon for a price under 180€.

This price is not so low if you compare to a Laird Sentrius but we are not talking the same product ! Here we have an outdoor gateway with PoE powering. That’s really interesting. The only missing thing is a LTE communication.

This gateway exists in two different version LoRa8 for 868Mhz zones and LoRa9 for 902 MHz zone.

Let’s see it in detail and find how to configure it for joining TTN.

Continue reading
Posted in LoRa | Tagged , , | 3 Comments

HTMicron iMPC the STM32-S2LP Sigfox SIP

HTMicron is a Brazilian company making System In Package (SIP) solution. During Sigfox Connect, they shown a STM32-SLP product and gave me an eval board for reviewing.

This type of solution is interesting as it is really compact and easy to add in your design: you get a powerful ARM chip from ST + all the electronic needed for a Sigfox global communication system. There is no need for an extra component around the chip, more than an antenna and a power supply.

The price for the SIP is going to be around $5.

Let see how to use that chip.

Continue reading
Posted in Sigfox | Tagged , | Leave a comment