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

Loopback remote method not returning correct values

I am used loopback's framework to generate my APIs. Now, I am trying to write a custom "RemoteMethod" that will require a long number (timestamp in unix format such as 1466598625506) and return an array of Sync Objects (I am using retrofit to…
Georgi Koemdzhiev
  • 11,421
  • 18
  • 62
  • 126
0
votes
1 answer

Get local IP address of ethernet interface in C#

Is there a reliable way to get the IPv4 address of the first local Ethernet interface in C#? foreach (NetworkInterface nic in NetworkInterface.GetAllNetworkInterfaces()) { if (nic.NetworkInterfaceType == NetworkInterfaceType.Ethernet) …
Adrian S
  • 514
  • 7
  • 16
0
votes
1 answer

How to use promise with angular 2 and loopback?

Here shows the project done in angular2 framework with loopback. I want to use promise along with data retrieved using loopback. data.component.ts ngOnInit () { this.dataService.getAllData() .then(response =>…
Jeevika
  • 142
  • 2
  • 15
0
votes
1 answer

Twilio: test speaker/microphone

Using Twilio, how can I create a JS widget that can listen to the microphone and output its sound through the speakers, as a loopback?
Mike
  • 351
  • 1
  • 2
  • 7
0
votes
1 answer

Loopback - Calling getCurrentContext inside an operation hook gives incorrect accessToken

I am running into what looks like a bug in how loopback handles context, specifically when trying to get the context from within an operation hook. We have code which inside the before save operation hook gets the context via getCurrentContext() and…
nazbot
  • 1,527
  • 2
  • 15
  • 23
0
votes
3 answers

Loopback Api Explorer Create Error: Invalid Date

I´m using the API explorer of loopback to create a model with the following parameters: { "name": "string", "last_name": "string", "phone": 0, "is_invited": true, "realm": "string", "username": "string", "credentials": {}, …
Pablo Estrada
  • 3,182
  • 4
  • 30
  • 74
0
votes
2 answers

Dynamic Model Creation Loopback

I am trying to model the following using embedsOne relation: var modelName = 'Customer'; var results = {}; results[modelName] = { "name": modelName, options: { idInjection: false }, properties: { "custid": { "required": true, …
0
votes
0 answers

Adding an object to a hasManyTrough relation on loopback

I have this three models: { "name": "ExeboardUserBoard", "base": "PersistedModel", "idInjection": true, "options": { "validateUpsert": true }, "properties": {}, "validations": [], "relations": { "exeboardUser": { …
Pablo Estrada
  • 3,182
  • 4
  • 30
  • 74
0
votes
0 answers

strongloop Database discovery API for sql server giving same table name for primary and foreign Table name

discoverForeignKeys and discoverExportedForeignKeys both are giving same table name for both primary and foreign key table
0
votes
1 answer

How to add relations to fixtures on loopback?

I am trying to create some fixtures for my Loopback API using loopback-component-fixtures. https://www.npmjs.com/package/loopback-component-fixtures Although I am able to create fixtures for simple model entities, I am unable to create relations.…
smorhaim
  • 778
  • 1
  • 9
  • 24
0
votes
1 answer

LoopBack Query for Checking many date

How to check the sequence of date in loopback query. I tried in 2016-05-24,2016-05-25 and '2016-05-24','2016-05-25' it is not worked but while going for one date it works fine. Can any one help me to fix this issue. allDays = 2016-05-24,2016-05-25;…
VG__
  • 533
  • 2
  • 6
  • 16
0
votes
1 answer

How to query instance with "inq" and order by "inq" in StrongLoop Loopback?

I have code like this : // inq is array of id var inq = ["002216", "000018", "000197"]; var filterExt = { where: { id: { inq: inq } }; Radio.find(filterExt, function(err, results){ if(err) cb(err); else { // results's index is always…
0
votes
1 answer

Cocoon cinclude from another pipeline

I've got a Cocoon setup with a pipeline whose transformer contains something like this: Now, the URL included there is actually coming from Cocoon, and I have a TLS certificate that Java…
Christopher Schultz
  • 20,221
  • 9
  • 60
  • 77
0
votes
1 answer

Why browsersync does not reload page

The problem is in stream reloading page Just reload method work correctly But when I user browserSync.stream() (browserSync.reload({stream: true})) it's not working It's my browser sync init function function browserSyncInit(baseDir, browser) { …
0
votes
2 answers

Forcing Dropwizard/Jersey to make a method call between to endpoints instead of a network call

Say I have a Dropwizard/Jersey resource defined like so: // Pseudo-code @Path("/fizz") @Produces(MediaType.APPLICATION_JSON) class FizzResource { FizzDao fizzDao @GET List getFizzesByType(@PathParam("type") String type) { …
smeeb
  • 27,777
  • 57
  • 250
  • 447