BLE gatts server example
Posted: Mon Jan 09, 2017 11:45 am
Hi,
I am using the eps32 module WiPy2.0 (https://www.pycom.io/solutions/py-boards/wipy2/) with the gatts server example. the serial output is printing the following outputs:
...
RF Init OK with coex
E (5090) BT: app_main init bluetooth
E (5090) BT: Startup BTU
E (5110) BT: bta_dm_co_ble_load_local_keys: func not ported
E (5110) BT: status=0
E (5120) BT: REGISTER_APP_EVT, status 0, gatt_if 4, app_id 255
E (5120) BT: btc_to_bta_adv_data - In 16-UUID_data
E (5120) BT: btc_to_bta_adv_data - In 32-UUID_data
E (5120) BT: Partial data write into ADV
E (5130) BT: GAP_EVT, event 0
E (5130) BT: CREATE_SERVICE_EVT, status 0, gatt_if 4, service_handle 40
E (5140) BT: BTA_DmSetBleAdvParamsAll: 32, 64
E (5150) BT: adv_type = 0, addr_type_own = 0, chnl_map = 7, adv_fil_pol = 0
E (5150) BT: SERVICE_START_EVT, status 0, gatt_if 4, service_handle 40
E (5160) BT: ADD_CHAR_EVT, status 0, gatt_if 4, attr_handle 42, service_handle 40
E (5170) BT: ADD_DESCR_EVT, status 0, gatt_if 4, attr_handle 43, service_handle 40
Can anyone tell me what the problem is? Why there are all those errors?
I can (sometimes) see the BLE device, but I am not able to connect to it and set some notifications...
I am using the eps32 module WiPy2.0 (https://www.pycom.io/solutions/py-boards/wipy2/) with the gatts server example. the serial output is printing the following outputs:
...
RF Init OK with coex
E (5090) BT: app_main init bluetooth
E (5090) BT: Startup BTU
E (5110) BT: bta_dm_co_ble_load_local_keys: func not ported
E (5110) BT: status=0
E (5120) BT: REGISTER_APP_EVT, status 0, gatt_if 4, app_id 255
E (5120) BT: btc_to_bta_adv_data - In 16-UUID_data
E (5120) BT: btc_to_bta_adv_data - In 32-UUID_data
E (5120) BT: Partial data write into ADV
E (5130) BT: GAP_EVT, event 0
E (5130) BT: CREATE_SERVICE_EVT, status 0, gatt_if 4, service_handle 40
E (5140) BT: BTA_DmSetBleAdvParamsAll: 32, 64
E (5150) BT: adv_type = 0, addr_type_own = 0, chnl_map = 7, adv_fil_pol = 0
E (5150) BT: SERVICE_START_EVT, status 0, gatt_if 4, service_handle 40
E (5160) BT: ADD_CHAR_EVT, status 0, gatt_if 4, attr_handle 42, service_handle 40
E (5170) BT: ADD_DESCR_EVT, status 0, gatt_if 4, attr_handle 43, service_handle 40
Can anyone tell me what the problem is? Why there are all those errors?
I can (sometimes) see the BLE device, but I am not able to connect to it and set some notifications...