开发者

Sockets: Receiving data from an (mostly) unknown (bluetooth) device

I have a GPS tracker from which I want to collect the location data that it stored somehow. Client software exist, but I want to try it for myself.

I already downloaded and installed the needed python libraries and successfully connected to the device. Now, I have the socket (sending "Hello World" results in "4"开发者_运维百科) and I don't know, what to do next.

How can I receive data from the device? Is it even possible?

This is the Bluetooth profile the device supports

I would be glad if you could help me.

Best regards, Jan Oliver


You need to know the protocol of the device, which somtimes is openly published sometimes not.

For example I know that some professional (centimter-precision) GPS devices even have protection by a special handshake procedure that the client software need to send before it will allow any communication, to prevent any third-party software to be written.

If you can specify the exact brand and model of the GPS tracker it will be easier to help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜