Skip to main content
SKimu
Associate II
March 5, 2019
Question

Client of Generic On/Off, Sensor Model

  • March 5, 2019
  • 2 replies
  • 588 views

I found that I can make vendor model client with BluenrgMesh_SetRemoteData(), BluenrgMesh_ReadRemoteData() functions using BlueNRG embedded SDK.

However, these functions looks only for vendor models. Are there any APIs to make standard models client like Generic On/Off, Sensor models?

I mean for example I'd like to prepare Generic On/Off "Physical" Switch to control lighting which has Generic On/Off server model (Not iOS/Android APP).

This topic has been closed for replies.

2 replies

alok
Visitor II
March 11, 2019

KIndly look in this function BluenrgMesh_ModelsCommand()

You can see implementation of Generic_Publish()

Please use latest SDK V1.07 from the web. Thanks

Let us know if it helps

SKimu
SKimuAuthor
Associate II
March 13, 2019

Hello, alok.

Thanks for your reply. I find new SDK V1.07 is released and I have checked the Generic_Publish(). That's what I need.

I noticed BluenrgMesh_SetRemoteData() is finally called in Generic_Publish(). I didn't know it can be used for all models. I also find Generic Level Client implementation in Appli_IntensityControlPublishing(). They're helpful.