communication

What's the most effective workflow between people who develop algorithms and developers?

。_饼干妹妹 提交于 2019-12-05 21:42:22
We are developing software with pattern recognition in video. We have 7 mathematicians who are creating algorithms. Plus we have 2 developers that maintain / develop the application with these algorithms. The problem is that mathematicians are using different development tools to create algorithm like Matlab, C, C++. Also because they are not developers the don't give much concerns for memory management or multi-threading. This one of the reason why the app. has a lot of bugs. If in your company you have similar situation, how do you deal with it? What's the best tools you can recommend to

Arduino Android Bluetooth Communication

允我心安 提交于 2019-12-05 20:07:21
I've made an app which connects to Arduino Mega 2560 by means of HC-05 Bluetooth module. I succeed in giving commands to Arduino via bluetooth, but the opposite communication doesn't apparently work. I don't know if the problem is in Arduino or Android side. Arduino sends messages with this simple instructions: #include ... SoftwareSerial bluetooth(12, 11); void setup(){ Serial.begin(9600); bluetooth.begin(9600); ... } void loop(){ ... bluetooth.listen(); while (bluetooth.available() > 0) { char inByte = bluetooth.read(); if(inByte == '0') { bluetooth.print('a'); delay(500); } } ... } Instead

XBee two-way communication (sender and receiver) at the same time

泄露秘密 提交于 2019-12-05 18:48:32
Let's say I am trying to make a chat program like in the YouTube video XBee Basics - Lesson 2 - Simple Chat Program Between Two XBees in AT Mode . In this video, he explained that one XBee is a sender which sends "Hello world" to the another XBee using Arduino. However, is the XBee able to send and receive data at the same time? Are the routers able to communicate to the coordinator and the other way around? Additionally, I want to write my own software to receive and send data and not using Arduino software. Are there any libraries and APIs? Articles or videos would be nice. Yes, it is

SMS Communication Through The Internet

醉酒当歌 提交于 2019-12-05 18:42:45
If I am to send a message to a mobile device from a website and viceversa, how can that be done? What I know: A couple of years ago I developed a simple enrollment system on J2ME platform(just for trying J2ME out). I had a mysql database that I setup in a pc/server, and for the communication I used the static IP of that server. I had a bridge, a mobile phone which was connected to the internet, where clients would send a formatted message. That bridge then would send the message to the server, after verification and validation, the server would respond back to the bridge, and finally the

Sending bytes to serial port from UNIX command line?

感情迁移 提交于 2019-12-05 18:04:01
i would like to send a stream of bytes to a serial port using the command line. is this possible? my serial port is at /dev/cu.usbserial-A700dYoR on my Mac. for example, if i wanted to send the integer 50 or the string "data" to that serial port, how can i do that? my knowledge of UNIX is very limited. #!/bin/bash # Port setting stty -F /dev/cu.usbserial-A700dYoR raw speed 9600 echo 'Hello' > /dev/cu.usbserial-A700dYoR or something like that if I remember correctly... Been a few years. You will probably have to be sudo for it to work... This is sending text... not binary.. to send the number

Communication between two WPF applications

爷,独闯天下 提交于 2019-12-05 16:09:28
I have two WPF applications, I need these two applications to be able to communicate with each other. I just need these applications to send some notifications to each other and nothing more. I have found two techniques yet, one is using WCF, and another is using DDE. But to me these seems too much complicated for my requirement. Please suggest what is the simplest way to go about this? What other options I have? If they are both on the same network(otherwise you need to port foward the port that you use), you could make a TCP connection between them, both need a TCPlistener and a TCP client.

What communication protocol does MySQL use?

二次信任 提交于 2019-12-05 08:44:13
问题 For example, when a web-browser connects to a web-server, it uses HTTP for a protocol at the application layer. But when a web-server connects to MySQL server, another database, what application layer protocol is used for the request and response? Or have I misunderstood something? Thank you! 回答1: It's simply called "MySQL protocol". Refer to https://dev.mysql.com/doc/dev/mysql-server/latest/PAGE_PROTOCOL.html 来源: https://stackoverflow.com/questions/22860875/what-communication-protocol-does

Is there a Java API that can binary communicate with a Microsoft WCF service?

亡梦爱人 提交于 2019-12-05 06:38:30
I would like to be able to do binary communication between a WCF server and Java client. Is this possible? Are there any API's that can communicate with this Microsoft protocol? Is WCF on the server a requirement? If no, then our MsgConnect product is similar (but simpler and easier to use) to WCF and it's cross-platofrm, from smartphones to desktops to servers, with Java and .NET implementations available. And source code is available as well. I suppose you are looking for WSIT - Java's bridge to Microsoft WCF (previously known as Project Tango): All of Metro (including WSIT) is tested for

Troubles with zmq_bind() in ZeroMQ binding for MQL4 language

拜拜、爱过 提交于 2019-12-05 06:14:57
问题 I am working on MT4 and used wrapper mql4zmq.dll as given in link https://github.com/AustenConrad/mql4zmq As I have followed all instruction and successfully loaded DLL as well as lib file at specific locations from pre-compiled. But it can not bind or connect with socket through zmq_connect(,) or zmq_bind(,) . Please some one help me to solve this problem. I am posting my code here // Include the libzmq.dll abstraction wrapper. #include <mql4zmq.mqh> //+--------------------------------------

Are sockets reliable?

杀马特。学长 韩版系。学妹 提交于 2019-12-05 05:31:05
Is it a good idea to use sockets to send data between two servers, or should I use something like MQ for moving data. My questions: are sockets reliable, if I need once only/assured delivery of the data? Are there any other solutions? Thanks. Sockets are an application level API for performing network communication. The reliability of sockets depends on the network protocol that you select when you create the socket. If you select TCP/IP, you will get "reliable" transfer ... up to a limit. If you select UDP/IP you will get "unreliable" transfer. As stated in other answers, TCP ensures that you