This is a basic question - but somehow the answer does not seem to be easily found in documentation.
How do we address nodes in ESP BLE Mesh? example_msg_common_info_t and esp_ble_mesh_msg_ctx_t expect that they are given uint16_t. But the addresses used in IDF have lengths of 6 == BLE_MESH_ADDR_LEN.
So is there some way that these two formats are converted?
How to address a node in ESP BLE Mesh
Re: How to address a node in ESP BLE Mesh
There is few types of ble address, most important and mandatory unicast address, which is 16 bit and has nothing to do with mac address.
Usually it is assigned by provisioner, although it can be assigned by manufacturer (hardcoded address), but it is not recommended.
Usually it is assigned by provisioner, although it can be assigned by manufacturer (hardcoded address), but it is not recommended.
Re: How to address a node in ESP BLE Mesh
Ah, ok so you are talking about the ones that have size unit16_t.
Thanks
Thanks
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot] and 349 guests