Posted inInformation Technology / Politics / Thank You Sir May I Have Another

What is a “Government Issued Phone?”

Yes, Hillary greased up and slipped through the fingers of justice again, just like her hubby is prone to do. Yes, Tim Cook of Apple decided the company could make more money protecting terrorists and pedophiles than it ever could helping to protect global citizens from them. All of this should leave the average citizen wondering why everyone isn’t trying to get out of America and questioning the sanity of those trying to get in. … What is a “Government Issued Phone?”Read more

Posted inRaspberry Pi

Raspberry Qt – Part 11

Notice the emit statement in the following code snippet. This is where I chose to force in the new line character for our communications protocol. void MainWindow::enterClicked() {     QByteArray msg( ui->lineEdit->text().toUtf8());     emit sendMessage( msg + “\n”);     LogikalLogger::Instance().logString( LogikalLogger::LL_INFO, “Sending message: ” + msg);     clearText(); } Now examine the readData() method. Notice how we append whatever came in to our internal QByteArray. Once that is done we search the buffer to see … Raspberry Qt – Part 11Read more

Posted inRaspberry Pi

Raspberry Qt – Part 10

You need a communications protocol But isn’t RS-232 our communications protocol? Well, it is the communications transport layer. If you read through the code you will see I set the baud rate to 9600 using a data/character protocol of 8 data bits No parity bits and 1 stop bits commonly labeled as 8-N-1. So isn’t our protocol 8-N-1? No. That is the data transmission protocol for the transport layer it is not a communications protocol. … Raspberry Qt – Part 10Read more

Posted inRaspberry Pi

Raspberry Qt – Part 9

Making the serial port actually work By default your Pi has a getty/mgetty process enabled. There are many out of date instructions about disabling it. Please pay attention to the date of the post when looking for advice. The Pi world is fast changing. While those instructions were good at one time they are invalid now just as these instructions may well be invalidated in the future. Open a terminal window and type sudo raspi-config … Raspberry Qt – Part 9Read more

Posted inRaspberry Pi

Raspberry Qt – Part 8

Installing Qt on the Raspberry Pi Once again I will rant about the piecemeal convoluted expert friendly process of installing Qt 5.x. That becomes painfully obvious when you attempt to install on a Pi. Rather than give you a bunch of convoluted instructions I’m simply going to show you the boxes I had checked in Synaptic package manager. If you haven’t already done so on your Pi, you need to install the Synaptic Package Manager. … Raspberry Qt – Part 8Read more