Search found 61 matches

by Wangcheng
Wed Jul 10, 2019 7:35 am
Forum: ESP32 IDF
Topic: ESP32 BLE Mesh Client Example - Node Address Problem
Replies: 7
Views: 961

Re: ESP32 BLE Mesh Client Example - Node Address Problem

Hi, I am using the ble_mesh_client_model example from branch ble_mesh_release/esp-ble-mesh-v0.6.1 . My intention is to connect a generic onoff server, running on a nrf52 board, and a generic onoff client, running on an ESP32 LyraT board. I modified the example to perform a esp_ble_mesh_generic_clie...
by Wangcheng
Wed Jul 10, 2019 7:21 am
Forum: ESP32 IDF
Topic: ESP BLE Mesh v0.6 Released, SIG Certified
Replies: 53
Views: 17627

Re: ESP BLE Mesh v0.6 Released, SIG Certified

Hi espressif, I tried the ESP32 fast provisioner client and server example, I have two questions for modifying the code to meet my system requirements. 1. How can I send customized data from client to server and server to client? Is there a model for this application? 2. After the provision is done...
by Wangcheng
Fri Jul 05, 2019 7:38 am
Forum: General Discussion
Topic: Provisioning with ADV using ble_mesh api
Replies: 8
Views: 906

Re: Provisioning with ADV using ble_mesh api

Hello, I'm currently working on a provisioner node using the esp-idf. For this I would like to use ADV provisioning messages instead of GATT, but using the example in esp-idf/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/ I'n unable to do so. I got quite lost in the api. I found that the cho...
by Wangcheng
Wed Jul 03, 2019 11:09 am
Forum: ESP32 IDF
Topic: ESP BLE Mesh v0.6 Released, SIG Certified
Replies: 53
Views: 17627

Re: ESP BLE Mesh v0.6 Released, SIG Certified

Hi espressif, I tried the ESP32 fast provisioner client and server example, I have two questions for modifying the code to meet my system requirements. 1. How can I send customized data from client to server and server to client? Is there a model for this application? 2. After the provision is done...
by Wangcheng
Fri Jun 21, 2019 3:39 am
Forum: ESP-IDF 中文讨论版
Topic: BLE_MESH的一些问题
Replies: 19
Views: 4531

Re: BLE_MESH的一些问题

谢谢支持 1.如果我需要node向指定node发送字符串消息,您觉得用现有的generic onoff model来修改合适么?还是得用vendor model?如果使用vendor model,另外一个接收的node不是贵司的IC,能否接收处理? 2.Vendor model的model ID和opcode是否也是自定义的?如果我想定义一个vendor model和其他厂家的SIG MESH芯片通讯,是否是靠model ID和Opcode来识别为同一个模型? 3.我对贵司提供的添加新的vendor model看得不是很理解,是参照哪个文件呢?我这里主要是需要model能够发送字符串消息。 ...
by Wangcheng
Mon Jun 17, 2019 6:04 am
Forum: ESP32 IDF
Topic: ESP BLE Mesh v0.6 Released, SIG Certified
Replies: 53
Views: 17627

Re: ESP BLE Mesh v0.6 Released, SIG Certified

Hi Espressif, I'm trying to use the fast_prov_server and fast_prov_client example on my two esp32 chips. After the server send fast_prov_status_send_comp_evt: opcode 0xc702e5 message I (66508) FAST_PROV_SERVER_DEMO: example_ble_mesh_custom_model_cb: Fast prov server receives msg, opcode 0xc602e5 I ...
by Wangcheng
Mon Jun 17, 2019 2:54 am
Forum: ESP-IDF 中文讨论版
Topic: BLE_MESH的一些问题
Replies: 19
Views: 4531

Re: BLE_MESH的一些问题

谢谢支持 1.开关灯、调灯发的是u8-u32类型的变量,如果我想单播发送字符串消息给指定节点,是否有对应的函数参考? 2.我的意思是,demo里。普通node的onoff server model 绑appkey。client node的onoff server model和onoff client model都要绑appkey,那么,为什么client node的onoff server model也需要绑appkey? 3.其他资料里提到,节点掉线后,GAP层会有连接断开的消息,应用层可以收到做相应处理。那么通常某个节点掉线了,其他节点是如何侦测到的呢? 4.在单播信息给其他节点时,会跑...
by Wangcheng
Mon May 27, 2019 11:10 am
Forum: ESP-IDF 中文讨论版
Topic: BLE_MESH的一些问题
Replies: 19
Views: 4531

Re: BLE_MESH的一些问题

问题2: 是的,地址包含单播地址,组地址,虚拟地址,未分配地址(Unassigned Address) 4种。 问题5: 可以这样理解,Vendor model 和 SIG model其实差不多,SIG model 采用官方定义的消息进行通讯,SIG model 采用自定义的消息进行通讯。 问题6: 只有网络资源是共享的,理论是可行的。 你可以将网络资源存到云端,也可以将网络资源存储到网络中的某个设备中。 问题7: 目前还没有标准的方法,不过也是可以实现这个功能的。 问题8:如果 provisioner 拥有多个 Netkey ,provisioner 在配置设备时,可以选择使用哪个NetK...
by Wangcheng
Tue May 21, 2019 12:03 pm
Forum: ESP-IDF 中文讨论版
Topic: BLE_MESH的一些问题
Replies: 19
Views: 4531

Re: BLE_MESH的一些问题

Hi chenluhui, 问题1: 方案可行,但是不建议这样操作,在手机app(provisioner)上实现? 补充: 一般开发网关有两种方式:方式1 APP作为网关(比如我们提供的EspBleMesh App),方式2 不要APP,直接用设备作为网关(比如我们提供的ble_mesh_provisioner demo),它们都具备将设备配置入网的能力。 设备配置入网后网络中就有Provisioner,Node1,Node2,Node3 .Provisioner 知道Node1,Node2,Node3的地址。Node1,Node2,Node3知道Provisioner 的地址。它们两者之间...
by Wangcheng
Tue May 21, 2019 11:09 am
Forum: ESP-IDF 中文讨论版
Topic: BLE_MESH的一些问题
Replies: 19
Views: 4531

Re: BLE_MESH的一些问题

谢谢支持 1.比如,我手机作为provisoner组网连接了Node1,Node2和Node3。三个node都有开启proxy,但是我在其中需要把Node1当做主节点来作为网关。让Node2,Node3都订阅Node1的消息,这样的设计可否?这种订阅的操作是在手机app上实现还是在板子的代码里实现? 2.我尝试了贵司的ble_mesh_client_model和ble_mesh_node,烧在两块板子上,组网后,client板子用串口输入node板子的remote_addr=2,可以正常控制单播地址是0002的node板子的灯开关,但是我这两块板子并没有设置发布-订阅的关系,为啥消息也能发送...

Go to advanced search