# Hardware registration
Need to be completed firstBinding Mobile Apps and Mini ProgramsandRegistration Equipment Information。
# 1. Get Registered Device Interface Permissions
log inWeChat terminal cooperation platform, click on the leftApplication for Registration of Equipment, check whether the right side has been shown beforeMobile Apps Created ID 。
If it does not appear, clickAdd to, and check theWeChat Mini Program Hardware Framework, and in theAPP IDFill in the mobile application below ID 。
# 2. Register your device on WeChat
Through WeChat backstage addDevice Interface, for all who wish to access the WMPF Equipment deviceId For registration.
deviceId Generated by the developer itself, generally used IMEI Or is it equipment SN code, or a unique device identifier generated from them.
# 3. Device signature
Using the information obtained in the previous steps ProductId, deviceId, private key file, generate signatures for each device Signature。
The signature can be generated using the signature we provide[Auxiliary tools](./utils.md#_3 - Generate hardware signatures)Done.
# Note:
- Product ID Represent a product, such as WeChat Photo Frame. Each WeChat Photo Frame has its own deviceId and Signature That is to say, each of the factory WeChat Photo Frames Product ID Can be the same, but these WeChat Photo Frames deviceId and Signature A single machine is required. If there is a common use of multiple machines, WMPF Will not start.
- deviceID and Signature It doesn't have to be hard code In the code, depending on the machine Sn Code dynamic generation, can also be dynamically issued to ensure uniqueness.
productId
、keyVersion
、deviceId
、signature
These parameters will be used to activate the device.