Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I want to build a GPS application depends on using cell phones trackers and a server used to receive the results and informs it. as i want to use a standard protocol in dealing with the connection between the server and the GPS tracker exists in the cell phone.
After a lot of search i found three available protocols:
1- NMEA 0183.
2- SiRF.
3- MTK.
I want to know the best one of these protocols in order to use, or if there is any other important protocols that i didn't discover.
1- NMEA 0183:
not suitable: bad specified, sucht that there is much room for interpretation, differnet GPS chip manufacturers behave differently, further: needs to many bytes, because not a binary protcoll, it was designed to be human readable, too
2- SIRF:
SIRF binary: better, but like NMEA desigend for CHIP to App communication not for app to server. (Redundant fields like "time" when using multiple messages)
MTK i dont know.
There is also ubx binary (U-blox) chips. similar to SIRF, but still desogned for chipp to app communication.
I personally would design my own format for binary GPS packets, picking the atributes that I need.
and send that packets via std protocol like http.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I am developing one android application in java and i am using neo4j as a database for this app.
Lets, consider i will store the static cypher query in a string. Then after the user clicks on the button, i want to send this query(string) to neo4j server and then execute it on neo4j server and return the result.
My question is that, Is it possible? If yes, how can i do this ? Is there any easy/proper way to do?
Any help will be highly appreciated.
If you want to talk directly to Neo4j, you can use either:
The HTTP API
The Binary Bolt Protocol
If you would rather use middleware, there are many many different options:
Java
.NET
JavaScript
Python
Go
Ruby
PHP
...
When building mobile apps my personal preference is to build a standard API in a middleware server then use HTTPS calls from the app (neo4j-graphql-js has also been awesome for a couple projects), but there are enough stacks that you have the freedom to do it your way.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
Basically, i used react.js for the front end and node.js/express.js as backend to be able to store and access data from my database(mySQL). I also used JAVA springboot to create my own api to fetch data from external sources such as JIRA with basic authentication. I was wondering if this is a good ‘structure’ in order to fetch data from jira, display it in a table and store it in my database. Now my other queston is, i run 3 local host servers to make this function, if i want to deploy and put all this in a web server would it make me need 3 servers running ? I’ve never deployed anything so my main concern is that. Thank you
I think you can put things simple and easy for you by choosing one language/framework for all your back-end process. Between NodeJs/Express and Java/Spring you can choose what you really like and are more comfortable with. Because definitely what you can do with one you can almost do it with the other. It is just a question of choice if there is no requirement.
About the second question, do you mean 3 physical servers ? It is possible to run all your three apps on the same physical server. You just have to set a specific port for each one.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have long been studying the topics of how to create an WI-FI sniffer for android.
I work on the network routing algorithm, and my first goal is to listen to all network traffic. The second task - is to send broadcast messages. This is possible with on android phones? Yes, I got root access. Where can I read about what I want to do? This is done through sockets?
I do not want to adhere some protocols (eg WI-FI direct) and work with the existing ip-address system. I need the lowest level of interaction of OSI.
I think that it is impossible to establish a connection without sockets. One of the devices have to be a server, and another client
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to make the simplest and most reliable on/off device controlled from a compuer software (Java).
I was thinking about sinus sound singnal + RC filter with relay for specific frequency, but unfortunatelly I can't use sound card - it is already occupied for different purposes.
How can I achieve this without much compatibility/reliability issues. It should work both on Unix and Windows
I mean an output device, so I want to turn on/off relay from Java software.
USB MIDI adapter and then midi to relay .
Maybe use a Raspberry Pi (includes GPIO controller). Put a web service to control the GPIO. The web service is accesable from any HTTP client.
http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have list of active deviceses in lan network... by its ip address how can I know that, Is snmp agent available on that device???
please help me find the list of snmp agent enable devices's list....
I want to do it using java (snmp4j)......
The only way to test if an agent on the device is to either know it (because the documentation says it has an agent) or to try and access it. But to try and access it you need to know how to access it.
If you're using SNMPv1 and SNMPv2c then you'll need to know the community name that can be used to get to the data. Some devices default to the community string with "public" but more and more devices, fortunately, no longer do this (and they shoudn't... from a security perspective no one should have ever done this).
For SNMPv3, you'd need to know even more parameters. But SNMPv3 with USM does have a probing method where you can send an initial packet with limited information in order to discover it's engineID. Because of this, SNMPv3 actually allows discovery unless the discovery mechanisms has been disabled.
Most commercial management suites have special code for doing discovery and network mapping, but all of them require at least configuration for trying various community names or default SNMPv3 settings.
In the end, you still need to know the devices you deployed and what they're capable of.