广告数据狭窄

⚠️
嗨,...感谢您来论坛。令人兴奋的消息!我们现在正在迁至我们的新论坛平台,将提供更好的功能,并包含在主对话框网站中。所有帖子和帐户都已迁移。我们现在只接受新论坛上的流量 - 请发布任何新线程https://www.dialog-seminile.com/support.。我们将在未来几天修复错误/优化搜索和标记。
10个帖子/ 0新
最后一篇
Madhusf.
离线
最后一次露面:1 month 3 days ago
加入:2018-01-15 09:22
广告数据狭窄

你好,

我在user_config.h中找到#define user_advertise_data

请告诉我user_advertise_data的格式..

它是如何,什么样的......我可以修改它吗?

Device:
PM_DIALOG.
离线
最后一次露面:1 day 7 hours ago
职员
加入:2018-02-08 11:03
Hi MADHUSF.

Hi MADHUSF.

广告数据应该具有特定格式,我将尝试解释您应该是如何的。请检查SDK的BLL_APP_PERITELAL示例。广告数据定义如下:

#define user_advertise_data(“\ x03”\

ADV_TYPE_COMPLETE_LIST_16BIT_SERVICE_IDS\

ADV_UUID_DEVICE_INFORMATION_SERVICE\

"\x11"\

ADV_TYPE_COMPLETE_LIST_128BIT_SERVICE_IDS\

"\x2F\x2A\x93\xA6\xBD\xD8\x41\x52\xAC\x0B\x10\x99\x2E\xC6\xFE\xED")

如您所见,在广告数据中,包括设备信息和128位服务ID的完整列表。

  • 0x03:长度
  • ADV_TYPE_COMPLETE_LIST_16BIT_SERVICE_ID(x03)是16位服务ID的完整列表的标记
  • avad_uuid_device_information_service(\ x0a \ x18)是设备信息服务

因此,x03 \ x0a \ x18的长度为0x03

  • \ x11:长度
  • adv_type_complete_list_128bit_service_ids(\ x07)标记为128位服务ID的完整列表
  • \x2F\x2A\x93\xA6\xBD\xD8\x41\x52\xAC\x0B\x10\x99\x2E\xC6\xFE\xED what you would like to populate as 128bit service

如何修改它们取决于您希望存储到广告数据中的内容。如果您在论坛上搜索,您将看到许多关于广告数据的帖子。例如:

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/useradvertisedata

https://support.dialog-seminiondiondiondiondum/forums/post/dialog-smartbond-bluetooth-low-energy-%2%80%93-software/change-advertisement-data.

https://support.dialog-semicondiondiondiondum/forums/post/dialog-smartbond-bluetooth-low-energy-%2%80%93-software/da14581-stops-sending-advertisements.

https://support.dialog-semicondiondiondimicons.com/forums/post/dialog-smartbond-bluetooth-low-energy -%ee2%80%93-software/changing-UserAdverticeAtata-send.

谢谢,PM_DIALOG.

Madhusf.
离线
最后一次露面:1 month 3 days ago
加入:2018-01-15 09:22
你好,

你好,

Can you please explain

1.what are the parameters need to send through advt data

2.什么是bd_address,如何定义它.Format

3.使用ADVT参数识别设备(芯片)

4.在连接或绑定到申请之前,识别设备是什么最佳做法

(i mean i m using ble scanner,how to idenify the device with advt paramers other than device name)

PM_DIALOG.
离线
最后一次露面:1 day 7 hours ago
职员
加入:2018-02-08 11:03
Hi MADHUSF,

Hi MADHUSF,

  1. This is related to your application requirements. What would you like to populate when the device advertises? Can you please read the following document from our support website?

2 – 3 - 4. Can you please read the following document from our support website? This document provides all the information you will need.

//www.wsdof.com/sites/default/files/advertising_concept.pdf

谢谢,PM_DIALOG.

Madhusf.
离线
最后一次露面:1 month 3 days ago
加入:2018-01-15 09:22
你好,

你好,

谢谢你的回复

1.i have seen CFG_NVDS_TAG_BD_ADDRESS in user_config.h..Its unique address to identify right,if right tell me how to frame it..

2.EVEREMY BLE芯片具有唯一的制造商ID,或者任何特定的ID可以识别芯片

how to read through the code or read from stack to advertising data.

请详细解释

PM_DIALOG.
离线
最后一次露面:1 day 7 hours ago
职员
加入:2018-02-08 11:03
Hi MADHUSF,

Hi MADHUSF,

The public address of the device is set in the CFG_NVDS_TAG_BD_ADDRESS flag in da1458x_config_advanced.h. The default address is : {0x03, 0x00, 0x70, 0xCA, 0xEA, 0x80}. If bd address is written in OTP header this value is ignored. Regarding your second question let me check it if is possible. In addition, you could refer to Bluetooth Core specifications in order get more information about the formats of the BD address.

谢谢,PM_DIALOG.

Madhusf.
离线
最后一次露面:1 month 3 days ago
加入:2018-01-15 09:22
你好,

你好,

我检查了bd_addr的格式

check these linkhttps://macaddresschanger.com/what-is-bluetooth-address-bd_addr.

我的问题是

1.前3个字节定义OUI,

dialog semiconductor has already OUI from IEEE..i have checked.

My question is OUI for chip manufactueres or also for organizations those using other BLE chips.

2..BD address is unique to identify device right,if yes,In code,how it should be define for different devices

i mean in production ,there should be only one hex file right,so i need to written in OTP header,if yes i have to define n no of BD_address for n devices,is it looks good right..or else any unique ID that can read from chip and sent through advt data..sugggest me the procedure to identify unique ness of BLE device?

PM_DIALOG.
离线
最后一次露面:1 day 7 hours ago
职员
加入:2018-02-08 11:03
Hi MADHUSF,

Hi MADHUSF,

每个BLE设备将具有唯一地址以识别设备。但是,这些地址未编程到芯片中。它们必须在生产过程中编程。如果编程了此BD地址的OTP字段,则设备将使用该特定地址否则它将使用固件中的默认地址值。这些是设置BD地址值的唯一方法。

However, the BLE Address itself can be configured to be of different types: Public and Random.

公共地址一直是固定值,并根据IEEE规范生成。有关详细信息,请参阅BLE规范。公共IEEE BD地址必须通过IEEE组织获得。

https://www.bluetooth.com/specifications/bluetooth-core-specification/

另一方面,随机地址可以是静态和私有类型。根据BLE规范中的描述由堆栈生成随机地址值。是3种随机设备地址:

随机静态地址,应符合以下要求:

  • 地址的两个最高效率等于11

不可解决的私人地址,应符合以下内容:

  • the two most significant bits of the address shall be equal to 0

可解决的私人地址,应符合以下事项:

  • 地址的两个最高有效位应等于01

All the remaining bits of the address shall NOT be equal to 1 or 0.

如果您发现答案有用,请将其标记为“已接受”

谢谢,PM_DIALOG.

Madhusf.
离线
最后一次露面:1 month 3 days ago
加入:2018-01-15 09:22
你好,

你好,

thank you for reply.

1.随机静态地址,

The Static Random Address is either preprogrammed on a device before it’s shipped, or may change to a new valueafter each power cycle。但是,在设备通过电源周期之前,设备不应该更改此地址。如果在运行时在运行时更改此地址,则存储在对等设备中的地址将不会保持有效,并且使用较旧地址的重新连接将失败。

what is meant byafter each power cycle..in above sentence,explain ?

2.please explain more about Random Address in their usage.we are using DA14585 in our healthcare product for sending data to app..which scheme we have to adopt..we are developing healthcare product..i want to send the data to app..for that what are best schmes of BD ADDR we have to use.help me in this contest

PM_DIALOG.
离线
最后一次露面:1 day 7 hours ago
职员
加入:2018-02-08 11:03
Hi MADHUSF,

Hi MADHUSF,

我的意思,你可以配置CFG_NVDS_TAG_BD_ADDRESS definition in da1458x_config_advanced.h file. Although, if bdaddress is written in OTP header this value is ignored. For mass production you could use the Production Line Tool (PLT).

https://www.dialog-seminile.com/sites/default/files/um-b-041_da1458x_da1468x_production_line_tool_4v2.pdf.

关于您的最后一个问题,它取决于您希望每个外围设备所希望的地址类型请检查规范以查看每个地址类型之间的差异。

谢谢,PM_DIALOG.