Hi support,
1.我需要做一个IOS 版本的APP,功能只是简单地与蓝牙设备建立连接并进行数据传输,我想了解下,在APP退到后台的情况下(并且会锁屏),怎样保证连接可以继续进行,或者说APP可以在IOS 后台运行,谢谢!
2.iBeacon的广播间隔是不是一定要100ms?100ms的广播间隔太小了,功耗太高,谢谢!
BR,
Young
关于问题2,广播间隔可以改的,在SDK5里
static const struct advertise_configuration user_undirected_advertise_conf ={/// Advertise operation type..advertise_operation=ADV_UNDIRECT,/// Own BD address source of the device:.address_src=GAPM_PUBLIC_ADDR,/// Advertise interval.intv = 1100, //广播间隔,单位625us///Advertising channel map.channel_map = 0x7,};
关于问题2,广播间隔可以改的,在SDK5里
static const struct advertise_configuration user_undirected_advertise_conf ={
/// Advertise operation type.
.advertise_operation=ADV_UNDIRECT,
/// Own BD address source of the device:
.address_src=GAPM_PUBLIC_ADDR,
/// Advertise interval
.intv = 1100, //广播间隔,单位625us
///Advertising channel map
.channel_map = 0x7,
};