DEV Community

HarmonyOS
HarmonyOS

Posted on

App works on other watches, fails on Watch 5 RTS

Read the original article:App works on other watches, fails on Watch 5 RTS

Question

WearEngine and Watch 5 device compatibility problem: Sending a message to the Watch 5 device in a mobile application integrated with WearEngine fails. How can we solve this issue?

Short Answer

While the mobile application works on Watch 3, Watch 4, or Pro models, it fails on Watch 5 RTS devices with Error Code 206. The issue occurs because the peerFingerPrint in the mobile app is used incorrectly. Solution: Replace the peerFingerPrint with the appId of the Watch application in AppGallery Connect. This ensures proper communication with the Watch 5 device.

Applicable Scenarios

  • When integrating WearEngine with mobile apps targeting Watch 5 devices.
  • When sending messages between mobile and Lite Wearable apps fails with error 206.
  • When porting WearEngine applications from older Watch models to Watch 5.

Reference Link

https://developer.huawei.com/consumer/en/hms/huawei-wearengine/

Written by Emine Inan

Top comments (0)