-
Bluetooth GPS receiver using satellite positioning data packets, and stored in t...
用蓝牙接收GPS卫星定位数据包,并存入数据库.-Bluetooth GPS receiver using satellite positioning data packets, and stored in the database.
- 2023-08-13 22:35:03下载
- 积分:1
-
从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的...
从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的CPU周期(GetTickCount),再一次性读取缓冲区里的数据。这样做,一般情况下不会有问题,但是,如果数据很多,过了“一定数据量的CPU周期”,还没收完数据怎么办?就会少读数据了。 我用三个线程序来完成串口数据的接收,其实就是第一种方法的变种: 一个侦听EV_RXCHAR,一个对EV_RXCHAR进行分析,其实就是超时判断。如果接收到一个消息后,一段时间没收到下一个EV_RXCHAR,就认为是一个数据包的结束。这个线程就会通知数据接收线程,进行数据接收。一般同一包数据,两个字符之间的时间间隔,应该很小了吧,而两个数据包之间的间隔,应该不会太小吧!(这个地方我不清楚,猜的:( :) )最后一个线程,是接收数据的。-read data from the serial port, there are two methods, one, each receiving a EV_RXCHAR, on the ReadFile read, I think this vote. 2, received a EV_RXCHAR after a certain volume of data, such as CPU cycles (GetTickCount), and the one-time reader, the data buffer. To do so, under normal circumstances there is no problem, but if many of the data, and after a "certain amount of data the CPU cycles," also confiscated End Data how do? Few will read the data. I used three lines to complete serial data reception, the first method is a variant : an interception EV_RXCHAR, one pair of EV_RXCHAR analys
- 2023-03-23 09:55:03下载
- 积分:1
-
GSM通讯串口类,通过RS232串口与GSM MODEM连接,发送短信.
GSM通讯串口类,通过RS232串口与GSM MODEM连接,发送短信.-GSM serial communications category, RS232 serial port and GSM modem connections, sending text messages.
- 2022-11-25 10:25:03下载
- 积分:1
-
楼宇自控系统 顾名思意。 (注意:需要专用硬件支持。)
楼宇自控系统 顾名思意。 (注意:需要专用硬件支持。)-Building Automation System Advisory Board were thinking Italy. (Note : the need for dedicated hardware support.)
- 2022-02-26 12:02:41下载
- 积分:1
-
一个基于API的串口通信程序,多线程有bug,大家修改修改后使用
一个基于API的串口通信程序,多线程有bug,大家修改修改后使用-an API based on the serial communication procedures, multithreading bug, we change the use of the revised
- 2022-09-02 12:55:02下载
- 积分:1
-
UCOS very popular on the network version, I realized UCOS through his applicatio...
网络上很流行的UCOS版本,本人通过他实现了UCOS的应用,还是蛮稳定的东西,ucos果然方便-UCOS very popular on the network version, I realized UCOS through his application, or something pretty stable, ucos indeed facilitate the
- 2022-02-04 12:54:28下载
- 积分:1
-
MODEN串口通讯的例子挺经典的。是一个学习的好例子。
MODEN串口通讯的例子挺经典的。是一个学习的好例子。-modem serial communication very classic example. The study is a good example.
- 2023-05-08 08:00:03下载
- 积分:1
-
Selection of serial data standards, I see the RS
串行数据标准选用之我见 RS-232、RS-422与RS-485标准及应用 转换器的构成 -Selection of serial data standards, I see the RS-232, RS-422 and RS-485 standards and the application of the composition of converter
- 2022-05-13 04:36:57下载
- 积分:1
-
rs232.cpp和RS232串行端口通信。H
RS232.cpp and RS232.h for Serial COM Port Communication
- 2022-04-12 15:24:43下载
- 积分:1
-
用visual c++ 6 编写的串口通信程序,适合初学者学习
用visual c++ 6 编写的串口通信程序,适合初学者学习-Using visual c++ 6 prepared by the serial communication program, suitable for beginners to learn
- 2022-04-18 07:03:00下载
- 积分:1