These docs are for v7.0.0. Click to read the latest docs for v7.4.0.

RaspberryPi

ESF for RaspberryPi 2 and 3 is an evaluation-only version of ESF, not tailored for production.

Ethernet Configuration

The default configuration of the Ethernet interfaces for the RaspberryPi is the following:

Interface NameGateway LabelStatus
eth0N/AEnabled for WAN - DHCP Client

Wireless Configuration

The wireless interface of the RaspberryPi is the wlan0.
By default, the interface is disabled.

Firewall Configuration

The default ESF firewall configuration for the the RaspberryPi is as follows:

PortProtocolPermitted NetworkPermitted Interface Name
67udp0.0.0.0/0eth0
67udp0.0.0.0/0wlan0
53udp0.0.0.0/0eth0
53udp0.0.0.0/0wlan0
443tcp10.234.0.0/16tun0
443tcp0.0.0.0/0eth0
4443tcp10.234.0.0/16tun0
4443tcp0.0.0.0/0eth0
22tcp10.234.0.0/16tun0
22tcp0.0.0.0/0eth0
5353udp0.0.0.0/0eth0

Clock Service

NTS is supported via chrony-advance option only with chrony version greater then 4.x installed.

GPIO

🚧

The GPIO configuration provided by ESF is relative to Raspberry PI version 3 or more. If you have an older device use the below jdk.dio.properties file to update your configuration, then reboot ESF.

#
# Copyright (c) 2011, 2014 Eurotech and/or its affiliates
#
#  All rights reserved. This program and the accompanying materials
#  are made available under the terms of the Eclipse Public License v1.0
#  which accompanies this distribution, and is available at
#  http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#   Eurotech
#

5 = deviceType: gpio.GPIOPin, pinNumber:5, name:GPIO05
6 = deviceType: gpio.GPIOPin, pinNumber:6, name:GPIO06
12 = deviceType: gpio.GPIOPin, pinNumber:12, name:GPIO12
13 = deviceType: gpio.GPIOPin, pinNumber:13, name:GPIO13
16 = deviceType: gpio.GPIOPin, pinNumber:16, name:GPIO16
17 = deviceType: gpio.GPIOPin, pinNumber:17, name:GPIO_GEN0
18 = deviceType: gpio.GPIOPin, pinNumber:18, name:GPIO_GEN1
19 = deviceType: gpio.GPIOPin, pinNumber:19, name:GPIO19
20 = deviceType: gpio.GPIOPin, pinNumber:20, name:GPIO20
21 = deviceType: gpio.GPIOPin, pinNumber:21, name:GPIO21
22 = deviceType: gpio.GPIOPin, pinNumber:22, name:GPIO_GEN3
23 = deviceType: gpio.GPIOPin, pinNumber:23, name:GPIO_GEN4
24 = deviceType: gpio.GPIOPin, pinNumber:24, name:GPIO_GEN5
25 = deviceType: gpio.GPIOPin, pinNumber:25, name:GPIO_GEN6
26 = deviceType: gpio.GPIOPin, pinNumber:26, name:GPIO26
27 = deviceType: gpio.GPIOPin, pinNumber:27, name:GPIO_GEN2

gpio.GPIOPin = initValue:0, deviceNumber:0, direction:3, mode:-1, trigger:3
uart.UART = baudRate:19200, parity:0, dataBits:8, stopBits:1, flowControl:0