Topic

FAQ
Login Register
Telink BLE Mesh Gateway over UART interface
Apr 05, 2018 22:11

/

A

/A
Hi,

We are working on a project to integrate TeLink BLE device TLSR8267 (As Telink mesh gateway) in our product that can support Telink mesh. The host MCU will be communicating with the BLE mesh gateway over UART interface for various TeLink mesh operations (such as login to a mesh node, on/off control etc.)

We have following questions for which we need Telink’s help:

1. To communicate with BLE mesh gateway over UART interface, we need set of serial commands that can be sent from Host MCU to the BLE mesh gateway. Please let us know where can we get the Command and Response format for this requirement.
>>> For example, we need command documentation for “Start/Stop scan”, “Login to mesh”, “Send On/Off commands” over UART from Host MCU.

2. Documentation for the method to Encrypt the commands before sending it over UART interface.

3. Documentation for the method to Decrypt the responses received over UART interface.

4. Does SDK support firmware upgrade of the connected BLE mesh gateway over UART from Host MCU? Please provide the document for the same.
3 replies
TL_yuzhong Apr 10, 2018 09:51
0
/A
Hi:
1, The communication protocol is the same as APP, so you can reference the "AN_BLE-15120202-E3_Communication Protocol for Telink BLE Mesh Light APP.pdf" in the forum.
2,3 We can not support encrypt commands in the UART mode, so you need to send the plain text.
4,We can support firmware upgrade from gateway over UART, the document will be released in the forum in next two weeks.
ashish.patel [Author] Apr 10, 2018 17:07
0
/A
* In our requirement, the Host MCU is connected with Telink BLE module (in ble master mode) over UART and it should control the existing Telink Mesh devices (e.g. On/off) that already has Encryption Enabled.

* If encryption is not supported in UART mode then how a BLE Master can communicate with Telink Light Bulbs that supports the encryption?

* Is there any sample application in the SDK (ble_mesh_release_20180131_V1.G) that can support this requirement?
cosmicnode Apr 10, 2018 22:52
0
/A
Hi Ashish,

Looking at your requirement, I would suggest to add your gateway as a mesh node. By doing that your host MCU can send the plain commands(your own binary protocol) to the gateway. As the gateway already has the security keys, so it can send the mesh commands.

Hope that helps.

Regards,