You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i run
examples\bluetooth\bluedroid\ble\gatt_server\main\gatts_demo.c
examples\bluetooth\bluedroid\ble\gatt_client\main\gattc_demo.c
they are work well.
Now i wanna to connect with Nordic soc ,I wanna change the UUID to Nordic NUS.
I have nrf Connect APP in my android phone.
the right ble i wanna is like below(use nrf Connect APP )
when i change the code examples\bluetooth\bluedroid\ble\gatt_server
i find the function esp_ble_gatts_add_char only used once
so only have Rx the Tx cannot added
github-actionsbot
changed the title
How to use function esp_ble_gatts_add_char twince in examples\bluetooth\bluedroid\ble\gatt_server
How to use function esp_ble_gatts_add_char twince in examples\bluetooth\bluedroid\ble\gatt_server (IDFGH-6165)
Nov 5, 2021
hi
when i run
examples\bluetooth\bluedroid\ble\gatt_server\main\gatts_demo.c
examples\bluetooth\bluedroid\ble\gatt_client\main\gattc_demo.c
they are work well.
Now i wanna to connect with Nordic soc ,I wanna change the UUID to Nordic NUS.
I have nrf Connect APP in my android phone.
the right ble i wanna is like below(use nrf Connect APP )
when i change the code examples\bluetooth\bluedroid\ble\gatt_server
i find the function esp_ble_gatts_add_char only used once
so only have Rx the Tx cannot added
my code
`
static void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param) {
uint8_t custs1_svc1[16]= {0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x01, 0x00, 0x40, 0x6E};
uint8_t adv_char_uuid128[16]= {0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x02, 0x00, 0x40, 0x6E};
uint8_t adv_char_uuid1282[16]= {0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x03, 0x00, 0x40, 0x6E};
How can i add 2 char to a service ?
thanks
The text was updated successfully, but these errors were encountered: