A serial port data processing method of unity3d platform
A serial port data and processing method technology, which is applied in the direction of electrical digital data processing, data conversion, and response error generation, etc., can solve problems such as affecting data usage, reading data errors, and program frame loss.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] The present invention will be further described and defined below in conjunction with the accompanying drawings and specific embodiments.
[0024] A method for processing serial port data on a Unity3D platform. The specific steps of the method are: 1. calibrate the frame header byte and frame tail byte of the data; 2. convert all the frame byte data into a string; 3. check Whether the first byte of a frame of data received in the current frame is a frame header character, and whether the frame tail is a frame tail character; 4. If the comparison between the frame header and frame tail characters is correct, temporarily put this frame data into a pre-defined In the complete data set; 5. If the comparison is wrong, first traverse the string to check whether there is a string connected at the end of the frame and the head of the frame in this frame data. separated. At this time, if the first frame reads data, create two new strings str01 and str02, destroy the previous da...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com