Setups
General information
Wirnet™ iBTS information
Wirnet™ iFemtoCell information
Wirnet™ iFemtoCell-evolution information
Wirnet™ iStation information
System management
Network management
LoRa Features
KerOS customization
Support and resources
Setups
General information
Wirnet™ iBTS information
Wirnet™ iFemtoCell information
Wirnet™ iFemtoCell-evolution information
Wirnet™ iStation information
System management
Network management
LoRa Features
KerOS customization
Support and resources
This is an old revision of the document!
GPS signal is handled by the kgpsd daemon. By default, this daemon sends the received nmea frames to both virtual ports /dev/nmea1 and /dev/nmea2. Once a program reads a line from a virtual port, this line is deleted. Thus, only one program should read a virtual port at a time.
Some Wirnet™ Productline gateways don't have a GPS device. For these gateways, kgpsd will not be launched and /dev/nmeaX files will not be created.
By default, the packet forwarder reads the /dev/nmea1 virtual port.
The number of virtual ports can be increased using the /etc/kgpsd.conf configuration file.
To determine whether GPS signal is properly received, NMEA sentences can be monitored using the following command:
cat /dev/nmea2 # ctrl-c to exit
The GGA sentences contain 2 fields that indicate the quality of the GPS signal.
0 is always written. A maximum of 12 satellites can be received at the same time.Example of correct GGA sentence:
$GNGGA,194640.00,4530.70229,N,00914.26728,E,1,12,4.31,184.9,M,47.1,M,,*41
In this example, the fix quality is OK (1) and 12 satellites are received.
Examples of bad GGA sentence:
$GNGGA,152451.00,,,,,0,00,99.99,,,,,,*7E
$GNGGA,163411.00,,,,,0,04,24.77,,,,,,*7A
In case the number of received satellites is small, the value of the field fixed_altitude in the /etc/kgpsd.conf configuration file can be set to yes.
# 2D/3D Altitude management fixed_altitude=yes
It will result in losing the altitude, however, only 3 satellites will be necessary to receive correct frames.
KGPSd configuration file is /etc/kgpsd.conf.
Configurations concerning leap second features are:
Example of kgpsd configuration file for this feature:
# Leap second management ## no: no leap second information is given, yes: information given leap_second_feature=no ## where leap second information is written (this is not directly usable by NTPd) leap_second_file=/tmp/kgpsd_leap_file.list ## Leap second information is looked for at first GPS fix after daemon start and then after given period leap_second_period=2592000
All Wirnet™ Gateways have a temperature sensor in their CPU. To read the sensor output:
cat /sys/class/hwmon/hwmon0/temp1_input
It is necessary to divide the result by 1000 to get the temperature in degrees Celsius (°C).
Wirnet™ iBTS has another temperature sensor in CPU module. To read this sensor temperature:
cat /sys/class/hwmon/hwmon1/temp1_input
It is necessary to divide the result by 1000 to get the temperature in degrees Celsius (°C).
A light sensor can be used to know if the Wirnet iBTS casing door is opened or closed.
To use the light sensor use the following command:
# echo "0.1000" > /sys/bus/iio/devices/iio\:device2/in_illuminance_integration_time # cat /sys/bus/iio/devices/iio\:device2/in_illuminance_input 47.240000 => opened casing # cat /sys/bus/iio/devices/iio\:device2/in_illuminance_input 0.880000 => closed casing
To read humidity level inside Wirnet iStation:
cat /sys/bus/i2c/drivers/hdc100x/1-0040/iio\:device2/in_humidityrelative_raw cat /sys/bus/i2c/drivers/hdc100x/1-0040/iio\:device2/in_humidityrelative_scale
Humidity level is:
To temperature:
cat /sys/bus/i2c/drivers/hdc100x/1-0040/iio\:device2/in_temp_scale cat /sys/bus/i2c/drivers/hdc100x/1-0040/iio\:device2/in_temp_offset cat /sys/bus/i2c/drivers/hdc100x/1-0040/iio\:device2/in_temp_raw
Temperature in degrees Celsius is:
All Wirnet gateways have:
Green power LED is on from power on to power off.
Status LED behavior:
| Gateway state | Status LED behavior |
|---|---|
| Boot part 1 | Fix On |
| Boot part 2 | Heartbeat |
| Boot part 3 | Blink every second |
| Run time | Off |
| Power down sequence | Heartbeat |
| Update | Blink fast (400 ms) |
| Restore backup | Blink / 2 seconds |
| Restore Stock | Blink / 4 seconds |
On Wirnet iBTS:
On Wirnet iFemtoCell, the 3 LEDs are bicolor LEDs.
On Wirnet iStation:
The three RJ45 connectors (PoE, LOCAL and debug) integrate 2 LEDs, one Green and one Orange.
The behavior of the LEDs is detailed hereafter:
| Connector | LED | Description |
|---|---|---|
| LOCAL | Green | Ethernet data activity |
| LOCAL | Orange | Ethernet data link |
| PoE/LAN | Green | Ethernet data activity |
| PoE/LAN | Orange | Ethernet data link |
| DEBUG | Green | Power LED |
| DEBUG | Orange | Status LED |
There are 3 LEDs on the Wirnet iFemtoCell:
| Status | Backhaul LED |
|---|---|
| Boot | Red |
| WMC - Not connected (2) | Red |
| WMC - During connection (2) | Green blinking |
| WMC - Connected (2) | Green |
| Status | LoRa traffic |
|---|---|
| Boot | Red |
| Packet forwarder - Rx (1) | Green blinking |
| Packet forwarder - Tx (1) | Red blinking |
(1): This LEDs behavior is only available in the packet forwarder provided on this wiki. (2): This LEDs behavior is only available when Wanesy Management Center is used.