Search found 6 matches

by cards2019
Tue Mar 30, 2021 6:13 am
Forum: ESP32 Arduino
Topic: Receiving negative numbers w/ BLE?
Replies: 2
Views: 2964

Re: Receiving negative numbers w/ BLE?

Thank you so much. That did the trick.
by cards2019
Mon Mar 29, 2021 4:47 am
Forum: ESP32 Arduino
Topic: Receiving negative numbers w/ BLE?
Replies: 2
Views: 2964

Receiving negative numbers w/ BLE?

Hello, I am using an Arduino to send an integer value between -90 and 90 to an esp32. I am able to read everything fine when I only send a value between 0 and 90 but now things are trickier. In the notifyCallback function, pData is of data type uint8_t, so that means between 0 and 255, right? Howeve...
by cards2019
Sun Mar 28, 2021 1:59 am
Forum: ESP32 Arduino
Topic: Receive Two Characteristics with BLE
Replies: 2
Views: 4719

Re: Receive Two Characteristics with BLE

Thank you for the reply. I was able to figure out another way to read multiple characteristics, but there's plenty of good stuff in that code that I might use as a guide for other things.
by cards2019
Sun Mar 21, 2021 7:19 am
Forum: ESP32 Arduino
Topic: Receive Two Characteristics with BLE
Replies: 2
Views: 4719

Receive Two Characteristics with BLE

Hello, I have am trying to receive two characteristics on an ESP32. I have an Arduino that is sending a random integer between 1 and 100 and the ESP32 is reading it. I am using the BLE_client example and everything works fine when reading one characteristic. I've been trying to edit the example to d...
by cards2019
Mon Mar 08, 2021 6:17 am
Forum: ESP32 Arduino
Topic: Receive BLE data on ESP32
Replies: 3
Views: 9000

Re: Receive BLE data on ESP32

Chegewara, Thank you very much! It is now working. I knew it would be something simple - I am still a beginner. Now that this is down, I can focus on how to receive the second characteristic.
by cards2019
Sat Mar 06, 2021 8:50 am
Forum: ESP32 Arduino
Topic: Receive BLE data on ESP32
Replies: 3
Views: 9000

Receive BLE data on ESP32

Hello, I am trying to receive data through BLE on my M5Stack Core 2, which uses an ESP32. I have an arduino that is sending a random integer between 1 and 100 and the ESP32 is reading it. I am using the BLE_client example but I cannot read the data properly. I've tried making adjustments and hacking...