Android upper layer client and STM32 bottom layer communication method

A low-level communication and client-side technology, applied in the field of communication, can solve problems such as the inability of Android upper-level clients to communicate, and achieve the effect of inability to communicate directly and reliable transmission

Active Publication Date: 2016-12-21
DALIAN UNIV OF TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the invention is: to solve the technical problem that the Android upper layer client cannot directly communicate with the underlying STM32 through the serial port

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Android upper layer client and STM32 bottom layer communication method
  • Android upper layer client and STM32 bottom layer communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.

[0015] In this embodiment, the communication method between the Android upper layer client and the STM32 bottom layer is used for sensor data transmission. Firstly, various sensors connected to the STM32F103 main control board collect data, and after data processing by the main control board, the data is sent to the PC through the wireless serial port module.

[0016] The PC runs ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an Android upper layer client and STM32 bottom layer communication method. Through FTDI USB to R232, miniature USB data information of a tablet computer can be converted into general serial port information of RS232. An Android upper layer client converts a data information format into an RS232 data information format through the FTDI USB to RS232. RS232 serial port information is finally converted into TTL information through an RS232 level conversion TTL level module and then is received by a bottom layer STM32. On the contrary, a process that the STM32 transmits information to the Android upper layer is an opposite conversion process. By using the method of the invention, a technical problem that the Android upper layer client can not communicate with the bottom layer STM32 directly through a serial port is solved.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a communication method between an Android upper layer client and an STM32 bottom layer. Background technique [0002] Information conversion is the key to the control communication between the Android upper-layer client and the STM32 bottom layer. The Android upper-layer client cannot directly communicate with the bottom STM32 through the serial port. And in serial port communication, it is easy to lose data. And it is a non-handshaking protocol, that is, the sending end does not know whether the receiving end has received the sent information. Contents of the invention [0003] The purpose of the invention is to solve the technical problem that the Android upper layer client cannot directly communicate with the bottom STM32 through the serial port. [0004] The present invention provides a communication method between an Android upper-layer client and an STM32 bottom ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L29/06G08C17/02
CPCH04L67/12H04L69/162G08C17/02H04L67/565
Inventor 邱铁陈宁肖威威李军陈宝超段田田
Owner DALIAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products