Wechat (WECHAT)

Definitions and prototypes for the WeChat interface. More...

Modules

 Defines
 
 Enumerations
 
 Structures
 
 Typedefs
 
 Functions
 

Detailed Description

Definitions and prototypes for the WeChat interface.

The WeChat Service contains two modules: WeChat Airsync Protocol and WeChat Pedometer Protocol.

WeChat Airsync Protocol opens the data link between the device and the vendor server, which supports sending data from the device to the vendor's server, as well as the vendor's data to the device. The protocol also opens the data link between the device and the WeChat server. The data format between the device and the WeChat server is stipulated by WeChat, such as login, new message notification, etc.

WeChat Pedometer Protocol is based on GATT protocol, which requires less hardware capability of the device, and the manufacturer does not need a back-end server (that is, only need to develop the device) to dock with WeChat. It allows pedometers to connect to WeChat and transmit steps, kilometers, calories, moving targets, etc.