[ESP-IDF][ble_hid_device_demo][6] spp 서비스 추가(TX) : nRF Connect 앱을 통해 서비스 추가 및 TX 테스트 진행함. ble_spp_server 프로젝트 참조 했습니다. ▶ esp_hidd_prf_api.c 수정사항 esp_err_t esp_hidd_register_callbacks(esp_hidd_event_cb_t callbacks) { ~~ 중략 ~~ +esp_ble_gatts_app_register(ESP_SPP_APP_ID); esp_ble_gatts_app_register(BATTRAY_APP_ID); ~~ 중략 ~~ } ▶ hid_device_le_prf.c 수정사항 더보기 #define SPP_DATA_MAX_LEN (512) #define SPP_CMD_MAX_LEN (20) #define SPP_STATUS_MAX_LEN (20).. ESP32 2024. 2. 21. 13:08
[esp-idf][ble_spp_server][1] 초기설정/빌드/플래시/모니터링 : ble_spp_server 프로젝트를 nrf connect 앱을 이용해 테스트 진행하기 ▶ 프로젝트 복사 : esp-idf\examples\bluetooth\bluedroid\ble\ 아래의 ble_spp_server 프로젝트를 로컬로 복사해 줍니다. ▶idf.py set-target 더보기 Adding "set-target"'s dependency "fullclean" to list of commands with default set of options. Executing action: fullclean Executing action: set-target Set Target to: esp32c6, new sdkconfig will be created. Running cmake in directory.. ESP32 2024. 2. 21. 11:09
[nRF52] ble_app_uart 프로젝트 : 이 프로젝트는 BLE 위에서 Serial 포트를 구현한 예제로 NUS (Nordic Uart Service) 어플리케이션이다. 목차 0> 개요 :이 프로젝트는 BLE 를 통해 들어온 데이타를 시리얼로 데이터 전송및 Serial 로 들어온 데이타를 BLE 로 보내는 예제입니다.advertise 시 이름은 "nRF UART" 이고 스마프폰에 nRF Connect 이나 nRF Toolbox 앱을 설치해서 제어가 가능합니다. 1> 프로젝트 위치 : \examples\ble_peripheral\ble_app_uart 2> 노르딕 다큐먼트 https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_nus_eval.html nRF5 SDK v17.0.. Nordic_nRF52 2023. 3. 16. 17:00