Maybe you can point out to us how to find service ID of device which is like this: "0000aaaa-0000-0000-abcd-ef0123456789" too, where the REMOTE_SERVICE_UUID gets only defined as 0x00FF (uint16_t I believe).
We could not find documentation on that one.
Thank your for the patience and best regards
Questions regarding a MDF-Scenario
-
- Posts: 132
- Joined: Thu Nov 15, 2018 2:06 am
Re: Questions regarding a MDF-Scenario
Ok, please try to use the IDF ble example in the MDF directory.
Re: Questions regarding a MDF-Scenario
Thank you, I will try that out. Stupid of me that I didn't think of trying to use the example in the submodule.
I have found that the esp idf ble address type contains a 128 bit field. In which order do we have to arrange the uuid128 array to search for following address: "0000aaaa-0000-0000-abcd-ef0123456789".
Thank you!!
I have found that the esp idf ble address type contains a 128 bit field. In which order do we have to arrange the uuid128 array to search for following address: "0000aaaa-0000-0000-abcd-ef0123456789".
Thank you!!
Re: Questions regarding a MDF-Scenario
Hi all,
I'm facing the same situation as saaymeen's, which is to scan beacons (BLE scan) from all nodes inside a mesh network. Is it possible to implement the code in gatt_client example inside esp-mdf example codes? Or else please suggest me a good way to implement this requirement.
Thank you! Kind regards
I'm facing the same situation as saaymeen's, which is to scan beacons (BLE scan) from all nodes inside a mesh network. Is it possible to implement the code in gatt_client example inside esp-mdf example codes? Or else please suggest me a good way to implement this requirement.
Thank you! Kind regards
-
- Posts: 132
- Joined: Thu Nov 15, 2018 2:06 am
Re: Questions regarding a MDF-Scenario
You can add code related to BLE scanning to your MDF project. For example: light example
Re: Questions regarding a MDF-Scenario
I was able to complete a BLE scan using MDF mlink API (mlink_ble). The similar functionalities in gatt_client are implemented there. To filter the beacon packets with UUID I used esp_ibeacon_api.c which has implented in IDF Bluetooth examples. Thank you very much @In逍遥子 for your guidance and saaymeen for this conversation.
Who is online
Users browsing this forum: No registered users and 16 guests