Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/supperthomas/LLSync_sdk_adapter
sdk for llsync support on bt stack
https://github.com/supperthomas/LLSync_sdk_adapter
Last synced: 16 days ago
JSON representation
sdk for llsync support on bt stack
- Host: GitHub
- URL: https://github.com/supperthomas/LLSync_sdk_adapter
- Owner: supperthomas
- License: apache-2.0
- Created: 2022-02-06T03:09:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T12:15:19.000Z (about 2 years ago)
- Last Synced: 2024-11-16T05:38:20.084Z (2 months ago)
- Language: C
- Size: 110 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rt-thread - llsync_sdk_adapter - Please add description of llsync_sdk_adapter in English. (Packages / IoT)
- awesome-rt-thread - llsync_sdk_adapter - Please add description of llsync_sdk_adapter in English. (Packages / IoT)
README
# LLSync_sdk_adapter
sdk for llsync support on bt stack
porting from https://github.com/tencentyun/qcloud-iot-explorer-BLE-sdk-embedded-demoNow the llsync package support the feature:
- support the rt-thread/bsp/nrf5x in nimble
- support the rt-thread## (RT-THREAD)HOW TO USE IT
git clone rt-thread master:
```
git clone https://github.com/RT-Thread/rt-thread.git
```enter the bsp/nrf5x/nrf52832/
```
menuconfig
```select this package in menuconfig
![image-20220209221922853](doc/images/image-20220209221922853.png)
this package must use the nimble bluetooth stack.
then use the command download the package
```
pkgs --update
```then build the mdk5 project
```
scons --target=mdk5
```then build burn it with keil project
enter the shell
the cmd ble_llsync, will start the ble sample
```
msh >ble_llsync
[I/nimble] GAP procedure initiated: stop advertising.
[I/nimble] GAP procedure initiated: stop advertising.
[I/nimble] ===ble_advertising_stop==197=====
[I/nimble] GAP procedure initiated: advertise; disc_mode=2 adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=0 adv_itvl_max=0
qiot info: start wait advertising
msh >[I/nimble] connection established; status=0, handle:1
[I/nimble] subscribe event; cur_notify=1
value handle; val_handle=7
[I/nimble] ===gatt_svr_chr_access_q_device_info==58====
[I/nimble] ===ble_send_notify==204==len:14==notify_conn_handle:1=
[I/nimble] GATT procedure initiated: notify; att_handle=7
[I/nimble] ===ble_send_notify==204==len:9==notify_conn_handle:1=
[I/nimble] GATT procedure initiated: notify; att_handle=7
[I/nimble] ===gatt_svr_chr_access_q_device_info==58====
[I/nimble] subscribe event; cur_notify=0
value handle; val_handle=7
[I/nimble] disconnect; reason=531```
then , use the wechat (lianlian ) to config the ble device
you can control the led light with your wechat.