Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QUdpSocket application

$
0
0
Hi, I want to make a datacollector that gets data from my device and put it in a mySql database. I know the protocol (udp based with seq.no and CRC16) for the device, and I know the Sql stuff. I could go with the QUdpsocket and ReadyData signal, but my device expect an acknowledge in return. I also have to accept a request for data from the Sql database from my device. The 2 protocol senarios: Device:            DataCollector: -------            -------------- WriteData    -->   Store in SQL Acknowledge  <--   Stored succesfull   or   Device:            DataCollector: -------            -------------- ReadData     -->   Retrieve from SQL Data + ACK   <--   Data + retreived succesfull So my question is: Is the sinal/slot approach the way to go or how would you solve this task ? Regards prosaicon

Viewing all articles
Browse latest Browse all 18427

Trending Articles