This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

freeRTOS ble connect : error ( read/write )

Hi,

I'm testing the aws-FreeRTOS code.

In detail, It's a BLE test

The problem is, BLE can connetc in the test but next step (read/write) cannot

BLE connect apple is NRF connect for mobile.

The parts that I modified are : 

iot_ble_config.h : #define IOT_BLE_ADD_CUSTOM_SERVICES         ( 1 ) 

aws_demo_config.h : #define CONFIG_BLE_GATT_SERVER_DEMO_ENABLED

and Debug : 


1 [iot_thread] [INFO ][INIT][0] SDK successfully initialized.
2 [iot_thread] [INFO ][DEMO][270] No networks connected for the demo. Waiting for a network connection.


3 [BLE] [ERROR][BLE_HAL][14300] PM_UNKNOWN, 0.
4 1430 [BLE] [INFO ][DEMO][14300] BLE Connected to remote device, connId = 0

5 [iot_thread] [INFO ][DEMO][14300] Successfully initialized the demo. Network type for the demo: 2
6 [BLE] [INFO ][BLE_TXRX][14740] MTU changed, changing transmit length for data transfer service from 244 to 182

7 [BLE] [ERROR][BLE_HAL][14770] UNKNOWN BLE EVENT 35.

The code is all the same aws-freertos except for the ones added over there.

How can BLE read/write? , Give me some advice. 

Parents Reply Children
Related