套接字:从(大部分)未知(蓝牙)设备接收数据
我有一个 GPS 跟踪器,我想从中收集它以某种方式存储的位置数据。客户端软件是有的,但我想亲自尝试一下。
我已经下载并安装了所需的 python 库并成功连接到设备。现在,我有了套接字(发送“Hello World”结果为“4”),但我不知道下一步该怎么做。
如何从设备接收数据?有可能吗?
如果您可以帮助我。
此致, 简·奥利弗
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要了解设备的协议,该协议有时是公开发布的,有时不是。
例如,我知道一些专业(厘米精度)GPS 设备甚至通过特殊的握手程序进行保护,客户端软件需要在允许任何通信之前发送该握手程序,以防止写入任何第三方软件。
如果您可以指定 GPS 跟踪器的确切品牌和型号,那么帮助会更容易。
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.