Search found 47 matches

by 666hjk
Thu Apr 21, 2022 11:07 pm
Forum: ESP32 Arduino
Topic: modify BLE client & server code to include push button & LED
Replies: 1
Views: 2034

Re: modify BLE client & server code to include push button & LED

problem solved after checking all the connection to esp32c3.
by 666hjk
Wed Apr 20, 2022 9:57 am
Forum: ESP32 Arduino
Topic: modify BLE client & server code to include push button & LED
Replies: 1
Views: 2034

modify BLE client & server code to include push button & LED

Hi, using esp32(server-side) and esp32c3(client-side). 2 push buttons @ client-side to control 2 LED @ server-side for (left and right signal). Try doing 1 push button to 1 LED , it works. but now with added set of button and LED, it doesn't blink when pressed. both code compile ok. Can't figure out...
by 666hjk
Thu Apr 07, 2022 1:44 pm
Forum: Documentation
Topic: downloading esp-idf for esp32-c3
Replies: 2
Views: 4620

Re: downloading esp-idf for esp32-c3

Noted. Thanks
by 666hjk
Thu Apr 07, 2022 1:05 pm
Forum: ESP32 Arduino
Topic: BLE notify
Replies: 2
Views: 1974

BLE notify

Hi All, https://raw.githubusercontent.com/RuiSantosdotme/Random-Nerd-Tutorials/master/Projects/ESP32/BLE/ESP32_BLE_Client.ino //Activate notify const uint8_t notificationOn[] = {0x1, 0x0}; const uint8_t notificationOff[] = {0x0, 0x0}; 1) i went thru the BLE client code above , is the arrangement of ...
by 666hjk
Tue Apr 05, 2022 9:18 am
Forum: ESP32 Arduino
Topic: send data thru BLE between 2 esp32
Replies: 4
Views: 3522

Re: send data thru BLE between 2 esp32

Thanks for the link.

Not use nimBLE library before, would go thru your code to understand and learn something from it.

Saw the youtube too , should be useful for me :D
by 666hjk
Mon Apr 04, 2022 6:42 am
Forum: ESP32 Arduino
Topic: send data thru BLE between 2 esp32
Replies: 4
Views: 3522

Re: send data thru BLE between 2 esp32

Thanks.

I was thinking of using BLE, if i should be (button click)sending character from server side then client side to ON LED. or the other way.

I've use handphone app to ON the LED easily but would like to explore on how to use between 2 esp32 and learnt the basic.
by 666hjk
Sun Apr 03, 2022 7:36 am
Forum: ESP32 Arduino
Topic: send data thru BLE between 2 esp32
Replies: 4
Views: 3522

send data thru BLE between 2 esp32

Hi All, i'm trying to click a button(write) @ server-side, and ON an LED on client-side upon connected. server-side, if (deviceConnected) { if (Button == 0) { // button pressed pCharacteristic->setValue("ON"); pCharacteristic->notify(); } } how do i retrieve the sent value? is there any example sket...
by 666hjk
Sun Feb 20, 2022 8:14 pm
Forum: Hardware
Topic: esp32-c3 >> CONFIG_BLINK_LED_RMT_CHANNEL
Replies: 2
Views: 2073

Re: esp32-c3 >> CONFIG_BLINK_LED_RMT_CHANNEL

ok, thanks for the info.
by 666hjk
Sat Feb 19, 2022 11:56 pm
Forum: Hardware
Topic: esp32-c3 >> CONFIG_BLINK_LED_RMT_CHANNEL
Replies: 2
Views: 2073

esp32-c3 >> CONFIG_BLINK_LED_RMT_CHANNEL

search thru https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/peripherals/rmt.html?highlight=rmt for this macro CONFIG_BLINK_LED_RMT_CHANNEL (from esp-idf example, blink_example_main.c) From header file it points to RMT peripheral channel number. So what is the number and w...
by 666hjk
Wed Feb 09, 2022 8:34 pm
Forum: ESP32 Arduino
Topic: Qury on >> BLE multi Advertisement
Replies: 0
Views: 1382

Qury on >> BLE multi Advertisement

Hi, https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/bluedroid/ble_50/multi-adv/main/multi_adv_demo.c I was going thru the above code, it will not display the all advertisements except legacy type - handphone will not display all multi advertisement when connected - below is the s...