Qt Type Convertor

// int to QString
QString::number(int)

// 

Qt Timer

Other way is using of built-in method start timer & event TimerEvent. Header:
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    int timerId;

protected:
    void timerEvent(QTimerEvent *event);
};

#endif // MAINWINDOW_H
Source:
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDebug>

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    timerId = startTimer(1000);
}

MainWindow::~MainWindow()
{
    killTimer(timerId);
    delete ui;
}

void MainWindow::timerEvent(QTimerEvent *event)
{
    //qDebug() << "Update...";
    ui->label->setText(QString::number(m_count++)); 
}

Telnet server in IMX6 Linux OS

* mkdir /dev/pts
* mount -t  devpts devpts /dev/pts
*telnetd -l /bin/login

TFTP Server in Ubuntu

  1. Install following packages.
    sudo apt-get install xinetd tftpd tftp
    
  2. Create /etc/xinetd.d/tftp and put this entry
    service tftp
    {
    protocol        = udp
    port            = 69
    socket_type     = dgram
    wait            = yes
    user            = nobody
    server          = /usr/sbin/in.tftpd
    server_args     = /tftpboot
    disable         = no
    }
    
  3. Create a folder /tftpboot this should match whatever you gave in server_args. mostly it will be tftpboot
    sudo mkdir /tftpboot
    sudo chmod -R 777 /tftpboot
    sudo chown -R nobody /tftpboot
    
  4. Restart the xinetd service.
    sudo /etc/init.d/xinetd restart
    
    Now our tftp server is up and running.

    ## TFTP from Target
    GET: tftp -l [local file name] -r [remote file name] -g [server Ip]
    PUT: tftp -l [local file name] -r [remote file name] -p [server Ip]

Linux Commands

// Share Windows and VMWare
.. Enable and Create Share folder in VM -> Settings -> Share Folder >.......
.. linux command :  mkdir /mnt ...if mnt doesn't exit
                             sudo mount -t vmhgfs .host /mnt

Set up Qt 5.2 Environment

 Install curl program if system don't support
# apt-get install curl

To get repo script
#curl http://commondatastorage.googleapis.com/git-repo-downloads/repo
> repo

Change permission of repo
#chmod a+x repo

Create BSP folder and go in
#mkdir fsl-community-bsp
#cd  fsl-community-bsp

Download BSP
#../repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dora
#../repo sync

Install SDK

Prepare the environment:
$MACHINE=imx6qsabresd . ./setup-environment build

Compile the SDK:
$sudo apt-get install texinfo
$sudo apt-get install gawk
$sudo apt-get install chrpath
$bitbake fsl-image-test -c populate_sdk   //Take long time to install



//Fail




RFID IC Model and Manufacturer List


EPC RFID MDID List:  http://www.gs1.org/epcglobal/standards/mdid

 Monza 5 Datasheet: https://support.impinj.com/hc/en-us/article_attachments/200775538/Monza_5_Tag_Chip_Datasheet_3-24-14.pdf

NXP RFID IC datasheet : http://www.nxp.com/documents/data_sheet/SL3S1203_1213.pdf