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
-1
votes
1 answer

how i update inbuilt model (user) in strongLoop using mongodb?

enter image description here i upload image here you can see whole folder structure.. In StrongLoop Framework there not visible User model in common/model folder so it's difficult to how i add property in user model?
-1
votes
1 answer

Calling a function in a loopback model.js file from a regular JS file

I am trying to call a function in loopback model.js file called models/customerProfile.js from a JS file server/script/myScripts.js but I am getting this error: Unhandled error for request GET /api/CustomerProfiles/verifyCustomer?id=38733:…
-1
votes
1 answer

Alsa: how to redirect input to output in .asoundrc?

I have two usb sound cards. The first one is for the playback and the second one is for audio stream capture. I was able to redirect the streams with ecasound: ecasound -B:rtlowlatency -b:256 -f:s32_le,2,48000 -i:alsahw,1,0 -o:alsahw,0,0 But it…
Dmitry Misharov
  • 101
  • 2
  • 10
-1
votes
1 answer

Loopbackjs Querying related model via rest api

is there any way to query related model's related model like from post \Get: {"order": "created_at DESC","include":[{"relation": "user"}] But, in my user model there is a relation hasone with settings model. I want to get that also, while querying…
Asif
  • 716
  • 2
  • 15
  • 37
-1
votes
1 answer

Loopback time based operations

I'm working with loopback , but now i want to perform some operation on my data after a certain time automaticaly Precioulsly I have a model called Canal and my model has a field beginDate and endDate of type Date, beginDateis set to today date ,…
-1
votes
2 answers

Loopback: PersistedModel.findById() gives not final instance. Methods like save() not existing

In an "afterRemote"-Hook i want to find a specific model and change an attribute: Team.afterRemote('prototype.__create__messages', function(ctx, message, next) { var Message = Team.app.models.message; // Promises.all not required, just for…
itinance
  • 11,711
  • 7
  • 58
  • 98
-1
votes
1 answer

How to update loopback models with angularjs?

I updated the lbservice by the command line lb-ng server/server.js client/js/services/lb-services.js and it deleted me some functions in lb-service.js file, like logout. what can i do?
oded
  • 179
  • 1
  • 2
  • 11
-1
votes
4 answers

How do I access the nested properties of an array in Loopback?

here, res = Array of results retrieved res = [ Object, Object, Object... Object ] Each Object looks like this: Object{ "userId": "ab1ce", "groupId": "a1de2" } Now, the results has an array of objects like this, how do i access the userId…
-1
votes
1 answer

Return query rethinkdbdash on loopback remote method

1.- I'm working with loopback-connector-rethinkdbdash 2.- On a remote method I need to retrieve some random records from my DB, this is the code so far. (function(){ 'use strict'; module.exports = (Heatmap) => { var r =…
-1
votes
1 answer

Query 3 Deep Relationship Loopback

I'm trying to do a nested query as per the instructions and examples here: https://docs.strongloop.com/display/public/LB/Include+filter https://github.com/strongloop/loopback/issues/735 but it is not working like I expected it to. I have an Account,…
tetter36
  • 1
  • 4
-1
votes
1 answer

LoopBack API - Built-in Models and Persistence

I want to build an API, using Google auth (via the loopback-component-passport) and ACL for access control. I also need to extend the standard User model, as I have some additional data fields. By default the User, AccessToken, ACL, RoleMapping and…
go4cas
  • 1,171
  • 5
  • 14
  • 27
-1
votes
1 answer

Attaching data from callback function inside a for loop Loopback

I´m trying to create a hook where I loop on each result from the response, find a user based on the current object and attach it as another attribute to the final response. However, the async calls are not letting me send the right response: …
Pablo Estrada
  • 3,182
  • 4
  • 30
  • 74
-1
votes
1 answer

Is there data transfer on wire while pinging a local ip?

Assuming my local ip is 1.1.1.2, when I run ping 1.1.1.2 The kernel drives the network device to transmit/receive data on wire The kernel fakes the replies since it knows I am pinging self What does kernel do, 1 or 2? If the answer is 2, how can I…
Pan Ruochen
  • 1,990
  • 6
  • 23
  • 34
-1
votes
1 answer

Running DNS Server to circumvent NAT-Loopback issue

First I want to say that I probably read everything that there is on the internet regarding the problem. And the problem is that I can not access my owncloud over doc.selfhost.eu if I am in the same network. But I can access it from inside the…
doc
  • 127
  • 1
  • 11
-1
votes
1 answer

Use of Loopback interface in iBGP

As I understand that the loopback interface(127.0.0.1) is used to route packets back to the source. How is it then used to talk to iBGP neighbors? I understand that the goal is to ensure that the interface doesn't go down, so using an…
zonked.zonda
  • 347
  • 1
  • 5
  • 19
1 2 3
84
85