I Published answers to questions
The questions raised btapp, It is a library that uses traditional Bluetooth, Traditional Bluetooth libraries are also supported BLE the. Use the test as follows: 1. operational SDK is V1. 0. 4 edition--wm_sdk_w800_20211203. rar. 2. in SDK Bluetooth library:
I Made a comment
http: //cloud. winnermicro. com/d/5da225c7add24433b00b/? p=%2FW80X%2FW80X%E8%8A%AF%E7%89%87%E8%BD%AF%E4%
I Published answers to questions
1. this ble_gap_evt_cb Reference for callback functions ble_gap_event *event, Be a union Structural variables of the community, Corresponding to different events, The corresponding content definition is interpreted differently. event-" disc. r
I Published answers to questions
1. Refer to the latest SDK---W800_SDK_v1. 00. 082. The red box in the screenshot is W800 the READ Stats UUID The callback interface, Here for BLE Data is passed down the stack. 3. This is the structure that configures the callback inlet: I hope it solves your problem.
I Made a comment
The above understanding is not sufficient, Update under: 1. tls_ble_server_disconnect function---This function is another set BT stack API. 2. At present SDK The default is nimble Protocol stack, This function does not exist, if
I Published answers to questions
Please refer to this DEMO wm_sdk_w800_20211203srcappbtappwm_ble_server_api_demo. c The principle is BLE The bottom layer of the stack is initialized with the registered callback interface, Returns the handle to the connection
I Published answers to questions
1. now W800 the BLE Configured with 256, Refer here syscfg. h #define MYNEWT_VAL_BLE_ATT_PREFERRED_MTU (256) 2. If you want to exchange in no MTU Preprint value, may
I Paid attention to the problem
I Made a comment
w801 ble On read trait, How to respond?