The information contained in this document is subject to change. This document contains proprietary information, which is protected by copyright 
laws. All rights are reserved. No part of this document may be photocopied, reproduced or translated to another language or program language 
without prior written consent of RFI Engineering B.V.         
RefGuide_U-routerNGW_v1.01.docx  Page: 52(57)  
 
14.11  Settings 
The ‘settings’ endpoints provide a list of settings on the U-router NGW. Such as the serial port 
speed and interface, USB power on/off and expansion port settings.  
 
ENDPOINTS 
 
  GET /api/settings 
  POST /api/settings 
 
 
You can use the GET /api/settings endpoint to retrieve a list settings on the system. 
 
For example: 
 
curl https://192.168.168.1/api/settings -u rfi:rfi123 
 
 
Returns: 
 
{ 
  "settings": { 
    "console_mode": "0", 
    "usb_power": "1", 
    "mno_profile": "100", 
    "expansion_port": "riot", 
    "term_interface": "/dev/ttyS2", 
    "term_speed": "9600" 
  }, 
  "status": "OK" 
} 
 
 
You can use the POST /api/settings to change the settings the system. The possible POST parameters 
are: 
 
 
Used to determine what type of cable is used on the RS232 
serial port to connect to the console port of the 
Enterprise Router. Possible values are: 
•  0 
•  1 
 
0 = Ethernet cable (default value) 
1 = Cisco cross cable 
Used to switch the USB (5V) power on or off at the external 
USB-B port. Possible values are: 
•  0 
•  1 
 
0 = USB power OFF 
1 = USB power ON 
The profile that is set for use with the SARA R4 module on 
the system. Possible values are: 
•  100 
•  17 
 
100 is used for Europe and is the default value 
17 is used for the Vodafone network 
The mode in which the expansion port is operated. Possible 
options are: 
•  rpsw 
•  riot 
•  modbus 
 
All other values will be ignored and result in the error: 
String value for '{expansion_port}' incorrect 
This is the serial interface that is connected to the 
terminal process monitoring the Console port of a connected 
enterprise router.