Search found 7 matches
- Wed Jan 25, 2023 4:22 am
- Forum: ESP-IDF
- Topic: How to advertise non-standard data in BLE
- Replies: 1
- Views: 1376
Re: How to advertise non-standard data in BLE
Thanks everyone! Solved the issue by checking another example.
- Tue Jan 24, 2023 5:17 am
- Forum: ESP-IDF
- Topic: How to advertise non-standard data in BLE
- Replies: 1
- Views: 1376
How to advertise non-standard data in BLE
I am writing a BLE application that will advertise the number 0x0A040102A601 on all channels with manufacturer ID 0x183. For the structure esp_ble_adv_data_t, how do I put 0x0A040102A601 in p_service_data and 0x183 in p_manufacturer_data? My current method below doesn't work:
I split the ...
I split the ...
- Tue Dec 15, 2020 12:38 am
- Forum: ESP-IDF
- Topic: What is this? BT_BTM: Advertising or scaning now, can't set privacy
- Replies: 3
- Views: 4644
Re: What is this? BT_BTM: Advertising or scaning now, can't set privacy
That function is called by esp_ble_gap_start_advertising() right? I only call that once in my current execution, which means the bluetooth interface was doing something during that?
Well, the thing is, I only call that method once, in my GAP event handler, when a ESP_GAP_BLE_SCAN_RSP_DATA_RAW_SET ...
Well, the thing is, I only call that method once, in my GAP event handler, when a ESP_GAP_BLE_SCAN_RSP_DATA_RAW_SET ...
- Mon Dec 14, 2020 12:14 am
- Forum: ESP-IDF
- Topic: What is this? BT_BTM: Advertising or scaning now, can't set privacy
- Replies: 3
- Views: 4644
What is this? BT_BTM: Advertising or scaning now, can't set privacy
I am seeing the following output when I run idf.py -p COM5 -b 115200 monitor:
E (1986) BT_BTM: Advertising or scaning now, can't set privacy
V (1996) app_main(): ble_gap_event_handler() called.
V (1996) BtController::BleGapEventHandler(): called.
V (1996) BtController::BleGapEventHandler(): ESP_GAP ...
E (1986) BT_BTM: Advertising or scaning now, can't set privacy
V (1996) app_main(): ble_gap_event_handler() called.
V (1996) BtController::BleGapEventHandler(): called.
V (1996) BtController::BleGapEventHandler(): ESP_GAP ...
- Sat Oct 10, 2020 4:35 am
- Forum: ESP-IDF
- Topic: [Answered]: JWT component for ESP-IDF (JSON Web Tokens)
- Replies: 10
- Views: 33457
Re: [Answered]: JWT component for ESP-IDF (JSON Web Tokens)
I am using an UWP app to talk to my ESP32 via SPP and bluetooth classic. I am able to open a socket to my ESP-32 and send a JSON message over bluetooth to it, and confirmed that I received it via the serial port monitoring:
V (361538) TARDIS: ::receiveMessage() - {"IdToken ...
V (361538) TARDIS: ::receiveMessage() - {"IdToken ...
- Wed Sep 09, 2020 12:22 am
- Forum: ESP-IDF
- Topic: Setting GATT characteristic UUID
- Replies: 0
- Views: 2328
Setting GATT characteristic UUID
I'm trying to set the UID for a GATT characteristic of my ESP32 BLE GATTs server application.
First I do this:
esp_bt_uuid_t AlgCharGuid = 0xbe;
I then pass that value into a method here:
esp_err_t add_char_ret = _alg.RegisterCharacteristicWithGatt(serviceHandle, AlgCharGuid);
The ...
First I do this:
esp_bt_uuid_t AlgCharGuid = 0xbe;
I then pass that value into a method here:
esp_err_t add_char_ret = _alg.RegisterCharacteristicWithGatt(serviceHandle, AlgCharGuid);
The ...
- Mon Apr 13, 2020 9:13 pm
- Forum: ESP-IDF
- Topic: arduino-esp32 IDF component build failure
- Replies: 9
- Views: 18657
Re: arduino-esp32 IDF component build failure
I had this problem before and made some modifications to the Arduino-esp32 IDF component to make it work. Mine works with the DFPlayer sample.
I posted my code changes here:
https://github.com/DerrickLau/esp32-arduino-port
Just grab a copy of the files and put into /esp-idf/component/Arduino ...
I posted my code changes here:
https://github.com/DerrickLau/esp32-arduino-port
Just grab a copy of the files and put into /esp-idf/component/Arduino ...