您是美国灯塔取决于配置ing in what parameters it will use. The default parameters are in the app_default_beacon_config. The beacon_params is the placeholder that points to the values and indicates their length. The actual data are located in the app_beacon_config struct and are being loaded either from the SPI or from the default values.
更改标信标主要ID >>修改默认值0x0100至示例0x0200 更改灯泡次要ID >>修改默认值0x0200至示例0x0300 Change Beacon company ID >> modify default value 0x00D2 (Dialog Beacon) to example MIMOS ( Do you have reference guide on how to convert MIMOS to hexdecimal) 更改广告间隔>>修改默认值0xA0以示例500ms(有关如何将500ms转换为hexdecimal的参考指南)
About the GUI tools for changing beacon parameters there's no such plan, but you are able to change the advertising data from a generic ble application, you can check the beacon Reference application note for more info about that. Briefly you can configure your device in connectable mode, connect on it and by using a generic app to change the adv string through a custom profile.
嗨ngchinping,
对不起,但我没有得到这个问题,主要和次要的是广告字符串中的字段,你想改变什么?
谢谢mt_dialog.
谢谢mt对话框
我正在使用da14580_beacon_3.40.6.zip的示例代码
从我的理解,信标配置字符串在da14580_beacon_3.40.6中处于以下位置:
app_dialog_beacon_proj.c如下:第79-86行
#if(ble_device_config)
//配置参数映射。它在初始化期间提供给app_device_config。使用app_dialog_beacon代码启动项目空间代码的API
const struct app_device_config_param beaccon_params [6] = {{(uint8_t *)app_beacon_config.uuuid,(uint8_t)16},
{(uint8_t *)&app_beacon_config.major,(uint8_t)2},
{(uint8_t *)&app_beacon_config.minor,(uint8_t)2},
{(uint8_t *)&app_beacon_config.c雷电竞下载appompany_id,(uint8_t)2},
{(uint8_t *)&app_beacon_config.adv_int,(uint8_t)2},
{(uint8_t *)和app_beacon_config.power,(uint8_t)1}};
请确认我的理解是否正确如上所述?
在配置灯架主要/次要/公司ID / ADV_INT参数时,您是否参考值*(十六进制)?雷电竞下载app
嗨ngchinping,
您是美国灯塔取决于配置ing in what parameters it will use. The default parameters are in the app_default_beacon_config. The beacon_params is the placeholder that points to the values and indicates their length. The actual data are located in the app_beacon_config struct and are being loaded either from the SPI or from the default values.
谢谢mt_dialog.
谢谢mt对话框
简而言之,我必须修改app_default_beacon_config中的默认值:
更改标信标主要ID >>修改默认值0x0100至示例0x0200
更改灯泡次要ID >>修改默认值0x0200至示例0x0300
Change Beacon company ID >> modify default value 0x00D2 (Dialog Beacon) to example MIMOS ( Do you have reference guide on how to convert MIMOS to hexdecimal)
更改广告间隔>>修改默认值0xA0以示例500ms(有关如何将500ms转换为hexdecimal的参考指南)
DIALD是否有任何计划释放GUI工具以更改灯架广告参数(如上)?
如您所知,EngloTe Beacons可以使用SDK旁边的移动应用程序和Web基础工具配置上述。
嗨ngchinping,
如果设备的配置从默认配置中读取数据,则通过更改此,YES将在广告字符串中获得不同的值。
About the GUI tools for changing beacon parameters there's no such plan, but you are able to change the advertising data from a generic ble application, you can check the beacon Reference application note for more info about that. Briefly you can configure your device in connectable mode, connect on it and by using a generic app to change the adv string through a custom profile.
谢谢mt_dialog.
谢谢mt-dialog,
Thanks for the advise.
By the way, I really need your guidance on the following :
设备名称>>对话框= 0x00d2 >>如何转换此操作?
我尝试使用ASC转换为十六进制转换器的“对话信标到十六进制代码”,但最终无法获得0x00d2。
您有上述转换的参考指南吗?或者我只是输入ASCII API将有助于转换它?
嗨ngchinping,
数字0x00d2是对话框的ID,它未翻译为对话框。如果您希望您的设备宣传“对话框标志“只需将字符串放在设备名称中。
谢谢mt_dialog.
Thanks MT_Dialog
基于您的建议,代码应该如下:<<请帮助确认我是否正确理解>>
//信标配置结构默认值。
const struct app_becon_config_tag app_default_beacon_config = {{0x58,0x5c,0xde,0x93,0x1b,0x01,0x42,0xcc,0x9a,0x13,0x25,0x00,0x9b,0xed,0xc6,0x5e,},// beacon uuid
20, //Beacon Major
10,//灯塔次要
对话框标志,// Beacon公司ID雷电竞下载app
500,//广告间隔
0xC5,};// Beacon TX输出功率为1米
嗨ngchinping,
刚刚与对话框对应的代码的信标ID。信标识广告字符串以特定格式宣传请检查信标参考设计应用笔记。但是,如果您希望您的设备(不是信标参考设计,但通用应用程序)宣传字符串“对话框”,则可以将字符串放在设备名称中。如果要将此字符串放入对话框中,则可以将其放在UUID区域中。通常在0x09标记之后,通常将附加到广告字符串的名称和字符串,该标记指示设备的完整本地名称。您可以在App_adv_func()函数末尾附加字符串中的名称的代码。
谢谢mt_dialog.