gatt client to read from NONIN3230
Posted: Wed Jun 07, 2017 3:55 pm
Hi Everybody,
I am working on Gatt client example to read data NONIN3230 pulseoximeter. I am able to connection with a esp32 server and read the data from the device But could not make connection with NONIN3230 pulse oximeter device. ie.. while performing the scanning, the client is not able to discover the advertisement of the device. but it can discover the advertisement of other ble servers like MI band and nrf module.
I have tried changing the search criteria ie..
static esp_ble_scan_params_t ble_scan_params = {
.scan_type = BLE_SCAN_TYPE_ACTIVE, //default
//.scan_type = BLE_SCAN_TYPE_PASSIVE,
.own_addr_type = BLE_ADDR_TYPE_PUBLIC, //default
//.own_addr_type = BLE_ADDR_TYPE_RANDOM,
//.own_addr_type = BLE_ADDR_TYPE_RPA_PUBLIC,
//.own_addr_type = BLE_ADDR_TYPE_RPA_RANDOM,
.scan_filter_policy = BLE_SCAN_FILTER_ALLOW_ALL, //default
//.scan_filter_policy = BLE_SCAN_FILTER_ALLOW_ONLY_WLST,
//.scan_filter_policy = BLE_SCAN_FILTER_ALLOW_UND_RPA_DIR,
//.scan_filter_policy =BLE_SCAN_FILTER_ALLOW_WLIST_PRA_DIR,
.scan_interval = 0x50,
.scan_window = 0x30
};
The NONIN device uses 128 bit uuid and some encryption, does it have any different procedure for scanning or i am missing something ?
Thanks in advance for your time.
I am working on Gatt client example to read data NONIN3230 pulseoximeter. I am able to connection with a esp32 server and read the data from the device But could not make connection with NONIN3230 pulse oximeter device. ie.. while performing the scanning, the client is not able to discover the advertisement of the device. but it can discover the advertisement of other ble servers like MI band and nrf module.
I have tried changing the search criteria ie..
static esp_ble_scan_params_t ble_scan_params = {
.scan_type = BLE_SCAN_TYPE_ACTIVE, //default
//.scan_type = BLE_SCAN_TYPE_PASSIVE,
.own_addr_type = BLE_ADDR_TYPE_PUBLIC, //default
//.own_addr_type = BLE_ADDR_TYPE_RANDOM,
//.own_addr_type = BLE_ADDR_TYPE_RPA_PUBLIC,
//.own_addr_type = BLE_ADDR_TYPE_RPA_RANDOM,
.scan_filter_policy = BLE_SCAN_FILTER_ALLOW_ALL, //default
//.scan_filter_policy = BLE_SCAN_FILTER_ALLOW_ONLY_WLST,
//.scan_filter_policy = BLE_SCAN_FILTER_ALLOW_UND_RPA_DIR,
//.scan_filter_policy =BLE_SCAN_FILTER_ALLOW_WLIST_PRA_DIR,
.scan_interval = 0x50,
.scan_window = 0x30
};
The NONIN device uses 128 bit uuid and some encryption, does it have any different procedure for scanning or i am missing something ?
Thanks in advance for your time.