Deprecated bt_smartbridge app (Replaced by Bluetooth Internet Gateway)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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.

0 Likes
4 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

Bluetooth Internet Gateway ("BIG") is the replacement: /43xxx_Wi-Fi/apps/demo/bt_internet_gateway

0 Likes
Anonymous
Not applicable

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 ?

0 Likes

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".

0 Likes
Anonymous
Not applicable

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 :

BIG RESTful Smart Server Demo

0 Likes