gl-inet / gl-ble-sdk Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
I had bougth MT1300 and SFT1200, but none of them has ble support(cannot find gl-bletool in plug-in repository), would you provide a full compatible device list in the README file?
Hi, I'm having a problem with Bluetooth on this router:
I compiled gl-ble-sdk on the OpenWRT SDK (22.03.2), I installed the packages on the GL-B2200 router (in the router I have previously installed a vanilla OpenWRT 22.03.2)
after installing gl-bletool and libglble I tried to run bletool (it is at version 1.4.0)
bletool opens a shell, I sent the command "enable" and I got as response:
{ "code": 0 }
then I sent the command "local_address" and I got as response:
{ "code": 1 }
then I sent the command "uart_test" and I got as response:
Start test!!!
TEST NUM: 1/1000 mac lost!
TEST NUM: 2/1000 mac lost!
TEST NUM: 3/1000 mac lost!
... and so on.
What is wrong with my setup, am I missing something?
I am trying to build gl-ble-sdk for the ath79-1907 target but I run into a problem with libjson-c
checking whether the C compiler works... no
configure: error: in `/media/psf/gl-inet/sdk/sdk/1907/ath79/build_dir/target-mips_24kc_musl/json-c-0.12.1':
configure: error: C compiler cannot create executables
Does anyone know how to fix this?
I have a GL-MT300N-V2 router, after compile the new sdk(https://github.com/gl-inet/gl-ble-sdk), and upload all ipk to GL-MT300N-V2, then opkg install the ipk, all the commands (bleScanner, bleAdvertiser...) return { "code": 1 or 2, 3}, only bletool enable return { "code": 0}, any ideas?
Hi,
I can't find any way to change the BLE Device name of the router, it is stuck on "BLE Device" and I haven't found any clues in your code.
Changing the device name is mandatory to use it in any project other that an "Hello World" example
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.