SDK和信标/蓝牙LE开发 [英] SDKs and Beacon/Bluetooth LE development

查看:62
本文介绍了SDK和信标/蓝牙LE开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有几个信标网站发布了他们的SDK.例如说 https://www.gimbal.com/有一个SDK可供您在移动设备中实施 应用程序,以便您可以与他们制造的信标通话.说你 感谢他们的软件具有的许多功能和工具, 但您想开发更多工具...或者也许是针对的自定义广告系列 他们的信标要进行编程.你会怎么做 这?您可以在SDK之上构建吗?我主要的问题是,我该怎么办 对他们的信标进行编程,使其比CMS提供的功能更多?如果我想 使用自定义功能和广告系列构建自己的CMS,我可以做吗 这?我将如何去做?

There are a few beacon sites that released their SDK. For example, say https://www.gimbal.com/ has an SDK for you to implement in your mobile app so that you can talk to their manufactured beacons. Say you appreciated many of the features and tools that their software had, but you wanted to develop more tools... or maybe custom campaigns for their beacons to be programmed to do. How would you go about doing this? Can you build on top of an SDK? Mainly my question is, how can I program their beacons to do more than their CMS offers? If I wanted to build my own CMS with custom functionality and campaigns, could I do this? How would I go about doing this?

推荐答案

信标如何工作?
您有一个UUID(指的是一家公司),主要,次要和RSSI.
让我们尝试一个例子.假设UUID来自BestBuy,其所有BestBuy信标都相同.
然后,少校将确定它在哪家商店中(亚特兰大的一家,纽约的一家,等等).
然后,未成年人将确定灯塔在该商店中的位置(在DVD架子附近,在电视架子附近等).
RSSI(带有Tx-1m信息)将帮助您确定信标与您之间的距离.
但是,由于UUID只是一组十六进制值,主要/次要/rssi编号,因此您必须知道它们的含义(如果是在亚特兰大的商店或在纽约的商店等).
因此,这意味着该应用需要内部的知识,或者通过询问服务器
因此,只要您连接到此数据库,就可以了.
因此,我不了解他们的SDK,因为我使用的是定制的iBeacon,但是这意味着,如果SDK允许您访问数字"而不是翻译",那么您就很好并且可以做任何事情你喜欢.这取决于SDK提供多少透明度".
换句话说,您可以提供自己的SDK的补充".

How does a Beacon works?
You have an UUID (which refers to a company), a major, an minor and a RSSI.
Let's try with an example. Let's say that the UUID is from BestBuy, it will be the same for all its BestBuy beacons.
Then, the Major will determine in which stores it is (the one in Atlanta, the one in New York, etc.)
Then, the minor will determine where in this store the Beacon it is (near the DVD stand, near the TV stand, etc.)
And the RSSI (with the Tx—1m information) will help you to determines the distance between the beacon and you.
But, since, an UUID is only a suite of hex values, major/minor/rssi numbers, you have to know what they mean (if its the store in Atlanta or the one in New York, etc.)
So it means that the app needs the knowledge, inside it, or by asking a server
So, as long as you're connected to this database, you're good.
So I don't know about their SDK, since I worked with a custom made iBeacon, but it means, that if the SDK allows you to access the "numbers" and not "the translation", you're good and can do whatever you like. It depends on how much "transparency" the SDK give.
In other words, you could provide an "complement" of the SDK with your own.

这篇关于SDK和信标/蓝牙LE开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆