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

Is the format of a Windows audio loopback capture fixed? Or is it sound card dependent?

I am using windows audio core api to do loopback-capture and then processing the data. On my machine I get 48000 sampling rate with 32 bit floats for the format. Is that what Windows is using internally? I'm wondering if I'm tapping the output…
0
votes
1 answer

Strongloop/loopback remoteMethod save to database

So, I'm learning the strongloop API, and extending my API: https://docs.strongloop.com/display/public/LB/Extend+your+API I modified the getName example: Node.setData = function(response, cb) { console.log(response) // cb(null,…
TrySpace
  • 2,233
  • 8
  • 35
  • 62
0
votes
1 answer

Loopback, how to only allow a user to create one instance of another model that has to belong to the User

I have a Loopback API with a user that is a model with a base class of User. I also have another model called participant. This represents a user that has signed up to participate in an event. I want this Participant to require a a reference to a…
Alex
  • 731
  • 1
  • 11
  • 24
0
votes
1 answer

loopback: how to load model instances based on a relation's property

I have a model Book. Book can have multiple tags, so there is a hasMany relationship to Tag through BookTags Now, how do I load all Book instances with tag "history" (for example)? It should be trivial, but I couldn't find out. In the documentation,…
transient_loop
  • 5,984
  • 15
  • 58
  • 117
0
votes
0 answers

What are these TCP ports opened by Apache Tomcat?

When I start Tomcat I see the following using netstat (filtered by tomcat PID): TCP 0.0.0.0:5007 xxxx34793KZ:0 LISTENING TCP 0.0.0.0:8081 xxxx34793KZ:0 LISTENING TCP 0.0.0.0:8543 xxxx34793KZ:0…
ScottD
  • 64
  • 1
  • 11
0
votes
1 answer

"slc loopback" doesn't create "common" directory

I can't find user, acl and such json files because the tool isn't creating "common" directory where these belong. This is what I get with slc --version: ├── strong-arc@1.8.4 (b7b568d) ├── strong-build@2.0.6 (d008a3e) ├── strong-deploy@3.1.2…
otrejni
  • 1,022
  • 7
  • 12
0
votes
1 answer

Loopback - Changing object attribute after asynchronous upload

I'm working with Loopback and I want to create an uploading interface which logs the number of uploads. I'm using an own model together with the storage component. I am using the storage component's upload-function and I want to update the object…
Milgo
  • 2,617
  • 4
  • 22
  • 37
0
votes
1 answer

Error in URL Request "The operation couldn’t be completed. No such file or directory"

Ever since the change in Swift syntax for URL requests after the update to 9.1, I've been getting an error making requests to my API. For example, this POST request which simply tries to login. I can log in just fine directly in the API (Strongloop…
Nathan McKaskle
  • 2,926
  • 12
  • 55
  • 93
0
votes
1 answer

Fail to ping other ports in the loopback connection

[physical layout] 192.168.0.100(eth0)---RJ45----192.168.0.101(eth1) [Execution] # show destination host unreachable. $ ping -I eth0 192.168.0.101 # no mac address $ arp -an [Question] I run tcpdump -i eth1 and see arp package sent to eth1.! Is…
QQQ
  • 1
0
votes
2 answers

Loopback 401 error when trying to update

I have been trying to update certain changes in a loopback user model but everytime i do it I am getting a 401 unauthorized error even though my user role is set to admin. Here is what my user.model looks like { "name": "user", "plural":…
Bazinga777
  • 5,140
  • 13
  • 53
  • 92
0
votes
1 answer

Creating through model relation not creating relation

I'm trying to create a relation between models using Loopback, but for some reason it seems like it is not saving my relations at all. But it could also be that I'm doing something wrong. The relation looks like this: So a User can be in 0 or more…
Vivendi
  • 20,047
  • 25
  • 121
  • 196
0
votes
1 answer

Taking data from a single form and saving in multiple models in loopback

I am trying to take data from a single form that has the user credentials along with user details and store them in seperate models in loopback. I have created the required models and relations but I am confused on how to do this. Does this happen…
Bazinga777
  • 5,140
  • 13
  • 53
  • 92
0
votes
1 answer

Built in models with postgres

I've migrated the builtin models (IE. User, Role, AccessToken) to a postgres database. However, I get the following error when trying to request the API: error: invalid byte sequence for encoding "UTF8": 0x00 I use the following code for the…
DrDumbom
  • 97
  • 6
0
votes
1 answer

loopback modelling for user details

I am trying to create a loopback model which stores the details of a user, the model is supposed to store the details of the user like his address, email and phone number and so on. My doubt is whether I create a separate model which stores these…
Bazinga777
  • 5,140
  • 13
  • 53
  • 92
0
votes
0 answers

loopback crashing nodejs when querying via REST api

I have two loop back models like this: { "name": "se_unvrs_fields_cat", "base": "PersistedModel", "options": { "validateUpsert": true }, "mysql": { "schema": "segtool", "table": "se_unvrs_fields_cat" }, "properties": { …
lightweight
  • 3,227
  • 14
  • 79
  • 142