RAKWireless / udp-packet-forwarder

UDP Packet Forwarder for Docker
MIT License
27 stars 22 forks source link

RAK2287 on RPI4 (hotspot v2) #17

Open ccall48 opened 1 day ago

ccall48 commented 1 day ago

Setting up a hotspot v2 using the udp-packet-forwarder it seems to select and use the right concentrator after a complete power cycle, but if i pull the container down or reboot the machine without a full power cycle on every restart it seems to pick the wrong concentrator and throws and error about being the wrong reset pin. It throws that same error when it initialises on the first try but the dynamic select seems to fix the problem.

I have put the logs here as to not flood github too much.

https://pastebin.com/FNU4KDNg

ccall48 commented 1 day ago

Here is an example of my compose in case you see anything wrong here.

services:
  udp-packet-forwarder:
    image: rakwireless/udp-packet-forwarder:latest
    container_name: udp-packet-forwarder
    privileged: true
    network_mode: host
    restart: unless-stopped
    environment:
      MODEL: 'RAK2287'
      GATEWAY_EUI: 'D83ADDFF........'
      BAND: 'au_915_928' # AU915_SB2
      DEVICE: '/dev/spidev0.0'
      RADIO_DEV: '/dev/ttyACM0'
      SERVER_HOST: '127.0.0.1'
      SERVER_PORT: 1800