BLE SPP connect to PC

User avatar
YaelGuerrero
Posts: 1
Joined: Mon Jul 15, 2019 4:01 pm

BLE SPP connect to PC

Postby YaelGuerrero » Mon Jul 15, 2019 9:25 pm

Hello

I'm using an SPP server based on the example ble_spp_server:
https://github.com/espressif/esp-idf/tr ... spp_server

in which I added the next security:

* esp_ble_auth_req_t auth_req = ESP_LE_AUTH_REQ_SC_BOND;

* esp_ble_io_cap_t iocap = ESP_IO_CAP_NONE;

* uint8_t key_size = 16;

* uint8_t init_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK | ESP_BLE_CSR_KEY_MASK;

* uint8_t rsp_key = ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK |ESP_BLE_CSR_KEY_MASK;

* uint8_t auth_option = ESP_BLE_ONLY_ACCEPT_SPECIFIED_AUTH_ENABLE;

* uint8_t oob_support = ESP_BLE_OOB_DISABLE;

I'm sending data and I'm hoping to see it in a windows serial terminal. I've achieved monitoring it in an android app (Serial Bluetooth). I managed to pair my device with the PC but the COM port doesn't appear as an option in Bluetooth settings. Is it possible to have BLE SPP connected to a windows PC?

Any help would be greatly appreciated.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 272 guests