- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I used in version 5.0 of wiced bt_smartbridge function for my BLE application.
I read it's deprecated on WICED 6.x, can you tell me if there is something similar to demo/bt_smartbridge to devellop a new program ? (Scan and connect to BLE devices) ?
Thank you.
- Labels:
-
Wifi+Bluetooth
- Tags:
- ble
- smartbridge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bluetooth Internet Gateway ("BIG") is the replacement: /43xxx_Wi-Fi/apps/demo/bt_internet_gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks you mifo,
I tested this demo but I have it does not work properly:
With curl or Postman, only the test works :
GET http://<gateway>/gap/nodes?active=1 : SUCCESS
I tried the following commands but it does not work
GET http://<gateway>/gap/nodes?enable=1 : FAILED
GET http://<gateway>/gap/nodes/<node> : FAILED
connect,... also (gatt commands).
the commands block without any answer (see the following lines) :
command : curl -v -X GET "http://xxx.xxx.xxx.xxx (IP ADDRESS)/gap/nodes?enable=1
Note: Unnecessary use of -X or --request, GET is already inferred.
* Trying xxx.xxx.xxx.xxx (IP ADDRESS)...
* TCP_NODELAY set
* Connected to xxx.xxx.xxx.xxx (IP ADDRESS) port 80 (#0)
> GET /gap/nodes?enable=1 HTTP/1.1
> Host: xxx.xxx.xxx.xxx (IP ADDRESS)
> User-Agent: curl/7.59.0
> Accept: */*
command : curl -v GET "http://xxx.xxx.xxx.xxx (IP ADDRESS)/gap/nodes?enable=1
* Rebuilt URL to: GET/
* Could not resolve host: GET
* Closing connection 0
curl: (6) Could not resolve host: GET
* Trying xxx.xxx.xxx.xxx (IP ADDRESS)..
* TCP_NODELAY set
* Connected to xxx.xxx.xxx.xxx (IP ADDRESS) (xxx.xxx.xxx.xxx (IP ADDRESS)) port 80 (#1)
> GET /gap/nodes?enable=1 HTTP/1.1
> Host: xxx.xxx.xxx.xxx (IP ADDRESS)
> User-Agent: curl/7.59.0
> Accept: */*
What can be the causes?
Can you help me ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
jerome_2594171 wrote:
command : curl -v GET "http://xxx.xxx.xxx.xxx (IP ADDRESS)/gap/nodes?enable=1
* Rebuilt URL to: GET/
* Could not resolve host: GET
* Closing connection 0
curl: (6) Could not resolve host: GET
Obviously, the command syntax is wrong. You are connecting to the host "GET".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes for this command : curl -v GET "http://xxx.xxx.xxx.xxx (IP ADDRESS)/gap/nodes?enable=1
because I remove -X before GET.
But for this command : curl -v -X GET "http://xxx.xxx.xxx.xxx (IP ADDRESS)/gap/nodes?enable=1
The good one doesn't work !
I followed this tutorial :