Questions tagged [loopback]

In telecommunications, loopback, or a loop, is a hardware or software method which feeds a received signal or data back to the sender.

In telecommunications, loopback, or a loop, is a hardware or software method which feeds a received signal or data back to the sender. It is used as an aid in debugging physical connection problems. As a test, many data communication devices can be configured to send specific patterns (such as all ones) on an interface and can detect the reception of this signal on the same port. This is called a loopback test and can be performed within a modem or transceiver by connecting its output to its own input. A circuit between two points in different locations may be tested by applying a test signal on the circuit in one location, and having the network device at the other location send a signal back through the circuit. If this device receives its own signal back, this proves that the circuit is functioning.

1273 questions
4
votes
0 answers

Loopback - redirect all traffic to index.html

I'm building a react single page application using for backend, loopback. How can I set, in the middleware, all the traffic (except API calls to the server and asset files like css, js,...) to go to index.html? Here is what I have for the moment…
denislexic
  • 10,786
  • 23
  • 84
  • 128
4
votes
1 answer

Loopback: How to update multiple objects over REST?

On my current project I'm using a loopback backend as the REST API. My question is actually quite simple, but I wasn't able to figure it out on my own. On my client I have a bulk of message objects which are updated by the user - these can add up to…
Ben Lime
  • 493
  • 6
  • 17
4
votes
0 answers

Navigate through relationships in JSON response

I have edited my JSON response using this after remote hook. module.exports = function (server) { // Install a `/` route that returns server status var router = server.loopback.Router(); router.get('/',…
isuruAb
  • 2,202
  • 5
  • 26
  • 39
4
votes
1 answer

Strongloop Loopback REST Query and/or combined with between

I have a simple model object with startDate and endDate properties. I can not seem to query with both 'and/or' and 'between' using the REST api. I would like to query 'between' a startDate range 'or' an endDate range. I would have thought that the…
Andy Hale
  • 41
  • 3
4
votes
1 answer

res.redirect creating another request on the same route

This is my first time here, so I hope I post this correctly. I am working with Loopback here, and I am having a problem when I try to redirect to another route. Basically I have two middlewares. The first, checks with Firebase if the user if…
4
votes
2 answers

Loopback tcp connection acceleration

I am trying to send some bytes to a third party application ( running on same server ) using tcp loopback connection using following code. struct sockaddr_in serv_addr; struct hostent *server; int sockfd = socket(PF_INET, SOCK_STREAM, 0); server =…
4
votes
1 answer

Software serial port loopback on linux

Currently I need to develop some program that will communicate with cisco devices over serial line. I want to build testing environment on my development linux machine. So, I found dynamips cisco emulator. This emulator can provide interface via…
reddot
  • 764
  • 7
  • 15
4
votes
2 answers

is there a loopback interface in iOS (iPad, iPhone)?

is there a loopback interface in iOS (iPad, iPhone)? And if yes, can it be used to securely communicate between two applications/threads within iOS? Will any other application run iOS can snoop and it data traffic over loopback interface between…
user2548414
  • 269
  • 1
  • 4
  • 6
4
votes
1 answer

loopback network kernel module not working

I am new to kernel module development. I am trying to development a pseudo network driver operates in loopback mode without any actual device. My goal is to use the following setup: iperf -s -u.........iperf -c 192.168.1.1 -p 5001…
fadedreamz
  • 1,156
  • 1
  • 10
  • 19
3
votes
1 answer

Coding for Ethernet PHY Loopback Test

I have to write a Ethernet PHY loopback test in Linux. I've never done it before and had no clue where to start. After some researching, I came up with the plan for the test, and I wonder if anyone can help me to verify it and give me some pointers…
user903151
  • 55
  • 1
  • 1
  • 6
3
votes
1 answer

Loopback CLI lb-clean command not found - linux

I have created a loopback 4 application using 'lb4 application_name' command. After running 'npm start', it shows 'lb-clean' command not found error. My node version is 16.13.2 and loopback version is 4.0.0.
3
votes
0 answers

Should an OAuth2 native desktop client use HTTPs loopback redirect URIs, and if so how?

IETF RFCs seem to contradict each other when it comes to OAuth2 native app redirect URIs. From the IETF RFC: The OAuth 2.0 Authorization Framework, Section 3.1.2.1: The redirection endpoint SHOULD require the use of TLS as described in Section 1.6…
Rowan
  • 51
  • 4
3
votes
1 answer

Loopback 3 updateAll filter is not working

I have the following model in Loopback 3: { "name": "rehearsalTest", "base": "PersistedModel", "idInjection": true, "options": { "validateUpsert": true }, "properties": { "creationDate": { …
Leo Lozes
  • 1,358
  • 1
  • 15
  • 33
3
votes
2 answers

Loopback in Android Bluetooth

Is it possible to make a loopback Bluetooth connection in an Android phone so that one service can connect to another within the same phone (or even to itself)? The idea is to use it so I can test a multi-player game that uses Bluetooth to…
theblitz
  • 6,683
  • 16
  • 60
  • 114
3
votes
1 answer

How to do method injection in loopback 4

I want to create a method checkAddressEnterContestBefore to check some requirement. this function requires to connect to database (mysql) but I cannot inject repository. What could I do in this situation? import { Contest } from '../models'; import…