CN103112415B - Communication method of 24LE1 wireless module and wince - Google Patents

Communication method of 24LE1 wireless module and wince Download PDF

Info

Publication number
CN103112415B
CN103112415B CN201310029033.4A CN201310029033A CN103112415B CN 103112415 B CN103112415 B CN 103112415B CN 201310029033 A CN201310029033 A CN 201310029033A CN 103112415 B CN103112415 B CN 103112415B
Authority
CN
China
Prior art keywords
module
wince
protocol conversion
data
conversion module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310029033.4A
Other languages
Chinese (zh)
Other versions
CN103112415A (en
Inventor
殷建红
周川
张小龙
李玉杰
陈竹明
曾瑞月
林义明
洪杰
王�忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Ecar Telematics Service Co Ltd
Original Assignee
Guangdong Ecar Telematics Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Ecar Telematics Service Co Ltd filed Critical Guangdong Ecar Telematics Service Co Ltd
Priority to CN201310029033.4A priority Critical patent/CN103112415B/en
Publication of CN103112415A publication Critical patent/CN103112415A/en
Application granted granted Critical
Publication of CN103112415B publication Critical patent/CN103112415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a communication method of a 24LE1 wireless module and a wince. The communication method is characterized in that a standard deviation (SD) protocol conversion chip is arranged for connecting the 24LE1 wireless module and the wince. When the 24LE1 wireless module transmits data to a center control module wince, the communication method includes the steps: (1) the 24LE1 wireless module transmits the data to an SD protocol conversion module through a serial port; (2) the SD protocol conversion module sets a self state to be in a data storage state after receiving the data; and (3) a center control program wince reads the state of the SD protocol conversion module every a time period, and then reads the data of the SD protocol conversion module when the center control program wince fetches the state of data storage in the SD protocol conversion module. The communication method solves the problems of communication between external arrangement and the wince well, and also effectively solves the problem of compatibility between different navigation plates and map software.

Description

A kind of method that 24LE1 wireless module communicates with wince
Technical field
The present invention relates to vehicle electric field, the method that the 24LE1 wireless module in particular in a kind of auto-navigation system communicates with embedded system wince.
Background technology
Along with the continuous expansion of domestic navigation product marketing users scale, user also presents the trend development of diversification to the demand of navigation product.There is very large problem in the data interaction between present navigational aid and map software, such as: the CPU input/output port of navigational aid company is different from the input and output agreement of map software company, and both sides are also different to the read-write protocol of SD card.The problem of this poor compatibility hinders the car networking development of company in beacon service (namely above-mentioned map software is navigation software) greatly.
Current 24LE1 wireless module (i.e. 2.4G wireless module) and the signalling methods of wince adopt traditional serial mode to communicate, and this signalling methods just can carry out actv. development and Design under must knowing the serial ports situation of embedded system, so bring very large difficulty and challenge for the serial ports exploitation of unknown embedded system.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The object of the present invention is to provide the method that the 2.4G wireless module in a kind of auto-navigation system communicates with embedded system wince, be intended to solve under mode that existing 2.4G wireless module communicates with embedded system wince must know the serial ports situation of embedded system and just can carry out actv. development and Design, for the problem that the serial ports development difficulty of unknown embedded system is large.
Technical scheme of the present invention is as follows:
The method that 2.4G wireless module communicates with wince, wherein, arranges a SD protocol conversion chip and connects 2.4G wireless module and wince, when 2.4G wireless module transmission data give middle control module wince, the steps include:
Data are passed to SD protocol conversion module by serial ports by step S1:2.4G wireless module;
The state of oneself after receiving the data, can be set to state data memory by step S2:SD protocol conversion module;
Step S3: the middle control program wince state reading SD protocol conversion module within a time period, when central control program wince grabs in SD protocol conversion module and has storing data state, then enters to read the data of SD protocol conversion mould.
The method that described 2.4G wireless module communicates with wince, wherein, when central control program wince transmits data to 2.4G wireless module, the steps include:
Step X1: data can be passed to SD protocol conversion module by middle control program wince;
The state of oneself after receiving the data, can be set to state data memory by step X2:SD protocol conversion module;
Step X3:2.4G wireless module reads the state of SD protocol conversion module within a time period, when getting in SD protocol conversion module the data having middle control program wince to give, then the digital independent be temporarily stored in SD protocol conversion module is just walked by 2.4G wireless module.
The method that described 2.4G wireless module communicates with wince, wherein, the function of described middle control program wince is that it is mutual to realize with mapping module, comprising startup map; Obtain current location and dial backstage phone.
The method that described 2.4G wireless module communicates with wince, wherein, the function of described middle control program wince is mutual with SD protocol conversion module, comprising the current SD protocol conversion module state of reading, then selects interface to be received in-vehicle navigation apparatus or 2.4G wireless module.
The method that described 2.4G wireless module communicates with wince, wherein, the method that SD protocol conversion chip realizes conversion is: protocol conversion is carried out in the read-write of SD protocol conversion chip to specific two sectors of memory device, a sector is data sector, is all transformed in corresponding I/O device to the data of data sector read-write; Another sector, for controlling sector, configures baud rate and the data format of I/O device by controlling sector.
Beneficial effect of the present invention: the present invention by carrying out the communication of 2.4G wireless module and wince under SDIO interface protocol, the design concept of the design is that can to carry out the communication data of 2.4G wireless module and wince for a unknown ARM serial ports mutual, and accurately required data can be passed to wince, wince also can transfer data to 2.4G wireless module accurately simultaneously.This design can be good at solving the communication between peripheral hardware and wince, and actv. solves the compatibility issue of different navigation plate and map software simultaneously.
Accompanying drawing explanation
Fig. 1 is communication means diagram of circuit provided by the invention.
Detailed description of the invention
For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.
Auto-navigation system of the present invention comprises in-vehicle navigation apparatus, SD protocol conversion chip, mapping module, 2.4G wireless chip and middle control module, control program wince in running in described middle control module, but and in being limited to wince system, as long as the operating system that band SD card drives can be used.
See Fig. 1, the invention provides the method idiographic flow that the 2.4G wireless module in a kind of auto-navigation system communicates with embedded system wince as follows:
When 2.4G wireless module transmission data give middle control module wince, the steps include:
Data are passed to SD protocol conversion module by serial ports by step S1:2.4G wireless module;
The state of oneself after receiving the data, can be set to state data memory by step S2:SD protocol conversion module;
Step S3: the middle control program wince state reading SD protocol conversion module within a time period, when central control program wince grabs in SD protocol conversion module and has storing data state, then enters to read the data of SD protocol conversion mould.
When central control program wince transmits data to 2.4G wireless module, the steps include:
Step X1: data can be passed to SD protocol conversion module by middle control program wince;
The state of oneself after receiving the data, can be set to state data memory by step X2:SD protocol conversion module;
Step X3:2.4G wireless module reads the state of SD protocol conversion module within a time period, when getting in SD protocol conversion module the data having middle control program wince to give, then the digital independent be temporarily stored in SD protocol conversion module is just walked by 2.4G wireless module.
Wherein, SD protocol conversion module realizes standard SD specification 2.0 agreement; Serve as the effect of converting interface.Under conventional sense, retentively module and in-vehicle navigation apparatus is mutual; When 2.4G wireless module has data to need to send to mapping module, the state of mapping module and in-vehicle navigation apparatus can be hung up by SD protocol conversion module, and is that mapping module and 2.4G wireless module carry out alternately by interface conversion; When mapping module has data will pass to 2.4G wireless module, the state of mapping module and in-vehicle navigation apparatus can be hung up by SD protocol conversion module, and is that mapping module and 2.4G wireless module carry out alternately by interface conversion; Mapping module will with in-vehicle navigation apparatus mutual time, the interface of current state can maintain by SD protocol conversion module, and interface is given to in-vehicle navigation apparatus, realizes the mutual of in-vehicle navigation apparatus and mapping module.
The function of described middle control program wince is: first, realize and mapping module mutual.As: start map; Obtain current location; Dial backstage phone; Next is mutual with SD protocol conversion module.As: read current SD protocol conversion module state and process next interface is given to in-vehicle navigation apparatus or 2.4G wireless module.
The use of described SD protocol conversion module is just as card reader.SD card common in the past can only be inserted into main frame when a storage equipment use.And the SD card being provided with SD protocol conversion chip both can work as a storage equipment use after inserting main frame, a serial equipment can be worked as again and used.This SD protocol conversion module is the addressing space of size specific in the leading portion of TF card internal memory to I/O device use, and addressing space below continues to use to storage card.Be equivalent to sacrifice a little memory headroom.
The method that SD protocol conversion chip realizes conversion is: SD protocol conversion chip needs to carry out protocol conversion to the read-write of specific two sectors, the present invention be directed to TF card memory area.A sector is data sector.The data that this data sector is read and write all are transformed in corresponding I/O device.Another sector is for controlling sector.Sector can be controlled by this and configure I/O device, the baud rate of such as equipment, data format.
There is this protocol conversion, only needed application layer to initiate just can have access to corresponding peripheral hardware to the direct access of these two sectors on an operating system.Because respective drive has mutual exclusion function, do not affect file system and access external storage equipment simultaneously, so just can reach the arbitrary object simultaneously using I/O device and storage equipment.
The present invention by carrying out the communication of 2.4G wireless module and wince under SDIO interface protocol (i.e. standard SD specification 2.0 agreement), the design concept of the design is that can to carry out the communication data of 2.4G wireless module and wince for a unknown ARM serial ports mutual, and accurately required data can be passed to wince, wince also can transfer data to 2.4G wireless module accurately simultaneously.This design can be good at solving the communication between peripheral hardware and wince, and actv. solves the compatibility issue of different navigation plate and map software simultaneously.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.

Claims (4)

1. the method that communicates with middle control module wince of a 24LE1 wireless module, it is characterized in that, a SD protocol conversion module is set and connects 24LE1 wireless module and middle control module wince, when 24LE1 wireless module transmission data give middle control module wince, the steps include:
Data are passed to SD protocol conversion module by serial ports by step S1:24LE1 wireless module;
The state of oneself after receiving the data, can be set to state data memory by step S2:SD protocol conversion module;
Step S3: the middle control module wince state reading SD protocol conversion module within a time period, when central control program wince grabs in SD protocol conversion module and has storing data state, then enters to read the data of SD protocol conversion module;
Wherein, the method that SD protocol conversion module realizes conversion is: protocol conversion is carried out in the read-write of SD protocol conversion module to specific two sectors of memory device, and a sector is data sector, is all transformed in corresponding I/O device to the data of data sector read-write; Another sector, for controlling sector, configures baud rate and the data format of I/O device by controlling sector.
2. the method that communicates with middle control module wince of 24LE1 wireless module according to claim 1, is characterized in that, when central control module wince transmits data to 24LE1 wireless module, the steps include:
Step X1: data can be passed to SD protocol conversion module by middle control module wince;
The state of oneself after receiving the data, can be set to state data memory by step X2:SD protocol conversion module;
Step X3:24LE1 wireless module reads the state of SD protocol conversion module within a time period, when getting in SD protocol conversion module the data having middle control module wince to give, then the digital independent be temporarily stored in SD protocol conversion module is just walked by 24LE1 wireless module.
3. the method that communicates with middle control module wince of 24LE1 wireless module according to claim 1 and 2, is characterized in that, the function of described middle control module wince is that it is mutual to realize with mapping module, comprising startup map; Obtain current location and dial backstage phone.
4. the method that communicates with middle control module wince of 24LE1 wireless module according to claim 1 and 2, it is characterized in that, the function of described middle control module wince is mutual with SD protocol conversion module, comprising the current SD protocol conversion module state of reading, then select interface to be received in-vehicle navigation apparatus or 24LE1 wireless module.
CN201310029033.4A 2013-01-25 2013-01-25 Communication method of 24LE1 wireless module and wince Active CN103112415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310029033.4A CN103112415B (en) 2013-01-25 2013-01-25 Communication method of 24LE1 wireless module and wince

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310029033.4A CN103112415B (en) 2013-01-25 2013-01-25 Communication method of 24LE1 wireless module and wince

Publications (2)

Publication Number Publication Date
CN103112415A CN103112415A (en) 2013-05-22
CN103112415B true CN103112415B (en) 2015-07-15

Family

ID=48410823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310029033.4A Active CN103112415B (en) 2013-01-25 2013-01-25 Communication method of 24LE1 wireless module and wince

Country Status (1)

Country Link
CN (1) CN103112415B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690946A (en) * 2004-04-22 2005-11-02 钟巨航 External memory interface switching device
CN101340253A (en) * 2008-08-07 2009-01-07 北京创毅视讯科技有限公司 Mobile multimedia broadcast receiving apparatus, receiving card and receiving terminal
EP2081093A2 (en) * 2008-01-18 2009-07-22 Hitachi Ltd. Vehicle control apparatus
CN102647529A (en) * 2012-03-30 2012-08-22 广东翼卡车联网服务有限公司 Method for setting navigation destination by utilizing SD (secure digital) card
CN202547654U (en) * 2012-03-30 2012-11-21 广东翼卡车联网服务有限公司 System for setting navigation destination by SD (Secure Digital) memory card with built-in wireless transmitting module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690946A (en) * 2004-04-22 2005-11-02 钟巨航 External memory interface switching device
EP2081093A2 (en) * 2008-01-18 2009-07-22 Hitachi Ltd. Vehicle control apparatus
CN101340253A (en) * 2008-08-07 2009-01-07 北京创毅视讯科技有限公司 Mobile multimedia broadcast receiving apparatus, receiving card and receiving terminal
CN102647529A (en) * 2012-03-30 2012-08-22 广东翼卡车联网服务有限公司 Method for setting navigation destination by utilizing SD (secure digital) card
CN202547654U (en) * 2012-03-30 2012-11-21 广东翼卡车联网服务有限公司 System for setting navigation destination by SD (Secure Digital) memory card with built-in wireless transmitting module

Also Published As

Publication number Publication date
CN103112415A (en) 2013-05-22

Similar Documents

Publication Publication Date Title
CN101883446B (en) Secure digital (SD) control chip and data communication method
CN104318301B (en) TF card having communication function
EP2566286B1 (en) Wireless Internet Access Module, Communication Method for Host and Wireless Internet Access Module, and Data Card
CN104954969B (en) A kind of communication system and its communication means of vehicle electronic device
CN107247604A (en) A kind of charger baby software firmware update system and its update method
CN104090857A (en) System and method for expanding peripheral interfaces of intelligent terminal
CN209201095U (en) A kind of accessing wirelessly access device
CN203298780U (en) Navigation system based on Wifi (Wireless Fidelity) communication of SD (Secure Digital) compound device
CN101950369A (en) Second generation resident identification card Bluetooth identifying device
US9350831B2 (en) System and method for enabling a dual-wire protocol
CN111756858A (en) Remote development processing system, method and device of embedded equipment
CN103108038B (en) Based on the data transmission method of SD equipment complex and system in car networking
CN101854314B (en) Home gateway and method for adapting universal serial bus wireless data card
CN103112415B (en) Communication method of 24LE1 wireless module and wince
CN104951417A (en) Method for achieving USB combined device suitable for high-capacity USIM
CN112449340A (en) Remote SIM card writing method and device
CN109413613A (en) A kind of car networking wireless multi-mode gateway system
CN101251831A (en) Mobile memory supporting master-salve equipment interchange and method of master-salve equipment interchange
CN105611668B (en) Intelligent light control system and the method for obtaining networking data
CN203352583U (en) Navigation system based on bluetooth SD compound device
CN101848559A (en) Realization system for information transmission and smart card
CN101908028A (en) Method and system for realizing input/output (IO) expansion through standard secure digital (SD) memory interface
CN201348780Y (en) Interface expanding device and mobile terminal
CN103577976A (en) SWP implantation device of security chip
CN103136556B (en) A kind of SD equipment complex and reading/writing method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 528133, No. 2, inner ring road, 1 North East Sea Road, Sanshui East Road, Sanshui District, Guangdong, Shenzhen 303, 204

Applicant after: Guangdong Ecar Telematics Service Co.,Ltd.

Address before: 528133 C zone, southwest industry zone, Sanshui District, Guangdong, Shenzhen

Applicant before: Guangdong Ecar Telematics Service Co.,Ltd.

C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 528133, No. 2, inner ring road, 1 North East Sea Road, Sanshui East Road, Sanshui District, Guangdong, Foshan 303, 204

Applicant after: Guangdong Ecar Telematics Service Co.,Ltd.

Address before: 528133, No. 2, inner ring road, 1 North East Sea Road, Sanshui East Road, Sanshui District, Guangdong, Shenzhen 303, 204

Applicant before: Guangdong Ecar Telematics Service Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 528133 F3 (F3), C District, southwest garden of Sanshui center science and Technology Industrial Park, Foshan, Guangdong

Patentee after: Guangdong Ecar Telematics Service Co.,Ltd.

Address before: 528133, No. 2, inner ring road, 1 North East Sea Road, Sanshui East Road, Sanshui District, Guangdong, Foshan 303, 204

Patentee before: Guangdong Ecar Telematics Service Co.,Ltd.