ESP32 Ble Mesh internet gateway

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 Ble Mesh internet gateway

Postby chegewara » Wed Mar 06, 2024 9:44 am

I dont see the reason it could not.
It is normal functionality of client models in ble mesh specification.


Code: Select all

I (32711) BLE_MESH: Client message 0x00008201 with timeout 4000ms <--- send ESP_BLE_MESH_MODEL_OP_GEN_ONOFF_GET
I (32711) BLE_MESH: send, app_idx 0x0000 src 0x0001 dst 0x0005
I (32713) BLE_MESH: send, len 2: 8201
I (32718) BLE_MESH: Unseg, send_tag 0x00, send_szmic 0, aszmic 0
I (32725) BLE_MESH: Use security credentials 0x00, proxy 0
I (32731) BLE_MESH: Network PDU, count 2, interval 20
I (32783) BLE_MESH: recv, app_idx 0x0000 src 0x0005 dst 0x0001
I (32783) BLE_MESH: recv, len 3: 820400                          <---- response ESP_BLE_MESH_MODEL_OP_GEN_ONOFF_STATUS
I (32783) DATA: OPCODE: 0x8204
W (32789) mesh-cb: Generic client, event 0, error code 0, opcode is 0x8201
I (32796) mesh-cb: ESP_BLE_MESH_GENERIC_CLIENT_GET_STATE_EVT
I (32803) mesh-cb: ESP_BLE_MESH_MODEL_OP_GEN_ONOFF_GET, onoff 0             <----- data in callback
and here is log from ONOFF server node

Code: Select all

I (315001) BLE_MESH: recv, app_idx 0x0000 src 0x0001 dst 0x0005
I (315002) BLE_MESH: recv, len 2: 8201
I (315002) BLE_MESH: send, app_idx 0x0000 src 0x0005 dst 0x0001
I (315008) BLE_MESH: send, len 3: 820400
I (315013) BLE_MESH: Unseg, send_tag 0x02, send_szmic 0, aszmic 0
I (315021) BLE_MESH: Use security credentials 0x00, proxy 0
I (315027) BLE_MESH: Network PDU, count 2, interval 20

PS
Is Gateway a Must for Nodes Communication?
https://docs.espressif.com/projects/esp ... munication

https://docs.espressif.com/projects/esp ... l-of-nodes

Who is online

Users browsing this forum: No registered users and 95 guests